org.apache.yoko.orb.OCI
Class AccFactoryRegistry_impl

java.lang.Object
  extended by org.omg.CORBA.LocalObject
      extended by org.apache.yoko.orb.OCI.AccFactoryRegistry_impl
All Implemented Interfaces:
AccFactoryRegistry, AccFactoryRegistryOperations, Object

public final class AccFactoryRegistry_impl
extends LocalObject
implements AccFactoryRegistry


Constructor Summary
AccFactoryRegistry_impl()
           
 
Method Summary
 void add_factory(AccFactory factory)
          Adds an Acceptor factory to the registry.
 AccFactory[] get_factories()
          Returns all registered factories.
 AccFactory 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

AccFactoryRegistry_impl

public AccFactoryRegistry_impl()
Method Detail

add_factory

public void add_factory(AccFactory factory)
                 throws FactoryAlreadyExists
Description copied from interface: AccFactoryRegistryOperations
Adds an Acceptor factory to the registry.

Specified by:
add_factory in interface AccFactoryRegistryOperations
Parameters:
factory - The Acceptor factory to add.
Throws:
FactoryAlreadyExists - If a factory already exists with the same plugin id as the given factory.

get_factory

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

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

get_factories

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

Specified by:
get_factories in interface AccFactoryRegistryOperations
Returns:
The Acceptor factories.


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