org.apache.yoko.orb.OCI
Class ConFactoryRegistry_impl

java.lang.Object
  extended by org.omg.CORBA.LocalObject
      extended by org.apache.yoko.orb.OCI.ConFactoryRegistry_impl
All Implemented Interfaces:
ConFactoryRegistry, ConFactoryRegistryOperations, Object

public final class ConFactoryRegistry_impl
extends LocalObject
implements ConFactoryRegistry


Constructor Summary
ConFactoryRegistry_impl()
           
 
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.
 
Methods inherited from class org.omg.CORBA.LocalObject
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Constructor Detail

ConFactoryRegistry_impl

public ConFactoryRegistry_impl()
Method Detail

add_factory

public void add_factory(ConFactory factory)
                 throws FactoryAlreadyExists
Description copied from interface: ConFactoryRegistryOperations
Adds a Connector factory to the registry.

Specified by:
add_factory in interface ConFactoryRegistryOperations
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

public ConFactory get_factory(String id)
                       throws NoSuchFactory
Description copied from interface: ConFactoryRegistryOperations
Returns the factory with the given plugin id.

Specified by:
get_factory in interface ConFactoryRegistryOperations
Parameters:
id - The plugin id.
Returns:
The Connector factory.
Throws:
NoSuchFactory - If no factory was found with a matching plugin id.

get_factories

public ConFactory[] get_factories()
Description copied from interface: ConFactoryRegistryOperations
Returns all registered factories.

Specified by:
get_factories in interface ConFactoryRegistryOperations
Returns:
The Connector factories.


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