|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objecttoolbox.services.EnvironmentConfig
class EnvironmentConfig
Package protected class to store the configuration of a service environment for the default service registry.
| Constructor Summary | |
|---|---|
EnvironmentConfig(java.lang.String envHome,
java.lang.String name,
java.lang.String clazz,
boolean relative,
boolean svcClassLdr,
java.lang.String config)
Create a new environment config. |
|
| Method Summary | |
|---|---|
(package private) java.lang.String |
getClassName()
Return the name of the environment implementation class. |
(package private) java.lang.String |
getConfigHome()
Return the environment configuration home. |
(package private) java.lang.String |
getConfigPath()
Return the location of the environment configuration. |
(package private) java.lang.String |
getName()
Return the name of the environment. |
(package private) boolean |
isConfigRelative()
Return the flag to indicate whether the environment configuration is relative to the configuration home directory. |
(package private) boolean |
useServiceClassLoader()
Return the flag indicating whether the environment class must be loaded using the service class loader. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
EnvironmentConfig(java.lang.String envHome,
java.lang.String name,
java.lang.String clazz,
boolean relative,
boolean svcClassLdr,
java.lang.String config)
throws ServiceException
envHome - String containing the environments home directory path.name - String containing the name of the environment.clazz - String containing the class name of the environment
implementation.relative - Primitive boolean indicating whether the environment
configuratio is relative to the environment home
directory.svcClassLdr - Primitive boolean indicating whether the environment
class must be loaded using the the service class
loader.config - String containing the path to the environment config.
ServiceException - if the configuration cannot be created.| Method Detail |
|---|
java.lang.String getName()
java.lang.String getConfigHome()
boolean isConfigRelative()
boolean useServiceClassLoader()
java.lang.String getConfigPath()
If the configuration is relative, the configuration home value will be pre-pended.
java.lang.String getClassName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||