org.apache.yoko.orb.OCI
Interface AccFactoryRegistryOperations

All Known Subinterfaces:
AccFactoryRegistry
All Known Implementing Classes:
AccFactoryRegistry_impl

public interface AccFactoryRegistryOperations

A registry for Acceptor factories.

See Also:
Acceptor, AccFactory

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.
 

Method Detail

add_factory

void add_factory(AccFactory factory)
                 throws FactoryAlreadyExists
Adds an Acceptor factory to the registry.

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

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

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

get_factories

AccFactory[] get_factories()
Returns all registered factories.

Returns:
The Acceptor factories.


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