org.apache.yoko.orb.OCI
Interface ConFactoryRegistryOperations

All Known Subinterfaces:
ConFactoryRegistry
All Known Implementing Classes:
ConFactoryRegistry_impl

public interface ConFactoryRegistryOperations

A registry for Connector factories.

See Also:
Connector, ConFactory

Method Summary
 void add_factory(ConFactory factory)
          Adds a Connector factory to the registry.
 ConFactory[] get_factories()
          Returns all registered factories.
 ConFactory get_factory(String id)
          Returns the factory with the given plugin id.
 

Method Detail

add_factory

void add_factory(ConFactory factory)
                 throws FactoryAlreadyExists
Adds a Connector factory to the registry.

Parameters:
factory - The Connector factory to add.
Throws:
FactoryAlreadyExists - If a factory already exists with the same plugin id as the given factory.

get_factory

ConFactory get_factory(String id)
                       throws NoSuchFactory
Returns the factory with the given plugin id.

Parameters:
id - The plugin id.
Returns:
The Connector factory.
Throws:
NoSuchFactory - If no factory was found with a matching plugin id.

get_factories

ConFactory[] get_factories()
Returns all registered factories.

Returns:
The Connector factories.


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.