|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object toolbox.services.ServiceRegistryFactory
public final class ServiceRegistryFactory
Static factory to create and manage ServiceRegistry
instances.
The factory uses the following mechanism to find the name of the
ServiceRegistry
implementation:
toolbox.services.ServiceRegistry
toolbox.services.ServiceRegistry
.toolbox.services.ServiceRegistryImpl
.
toolbox.services.ServiceRegistryFactory.config
.
The properties file must be in the format "<name>=<path>".
Method Summary | |
---|---|
static void |
destroyRegistry(java.lang.String name)
Remove and destroy the named registry. |
static ServiceRegistry |
getRegistry(java.lang.String name)
Return the named ServiceRegistry . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ServiceRegistry getRegistry(java.lang.String name) throws ServiceException
ServiceRegistry
.
name
- The name of the registry to create.
ServiceException
- if the registry cannot be returned.public static void destroyRegistry(java.lang.String name) throws ServiceException
name
- String containing the name of the registry to destroy.
ServiceException
- if the registry cannot be destroyed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |