|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object toolbox.services.RegistryConfig
class RegistryConfig
Package protected class to encapsulate the configuration of the default service registry implementation.
Constructor Summary | |
---|---|
RegistryConfig(java.lang.String config)
Construct a new registry config. |
Method Summary | |
---|---|
(package private) EnvironmentConfig |
getEnvironmentConfig(java.lang.String name)
Return the configuration of the named environment. |
(package private) java.lang.String |
getProperty(java.lang.String name)
Return the value of the named property. |
(package private) ServiceConfig |
getServiceConfig(java.lang.String name)
Return the configuration of the named service. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
RegistryConfig(java.lang.String config) throws ServiceException
config
- Path the the registry config file.
ServiceException
- if the configuration cannot be created.Method Detail |
---|
java.lang.String getProperty(java.lang.String name)
name
- String containing property name.
EnvironmentConfig getEnvironmentConfig(java.lang.String name)
name
- String containing the name of the environment.ServiceConfig getServiceConfig(java.lang.String name)
name
- String containing the name of the service.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |