|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConfigService
Interface for classes that are able to provide configuration specifically for the benchmark server.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.alfresco.bm.config.ConfigConstants |
|---|
org.alfresco.bm.config.ConfigConstants.RunState |
| Field Summary |
|---|
| Fields inherited from interface org.alfresco.bm.config.ConfigConstants |
|---|
DEFAULT_RUNSTATE, DEFAULT_SERVER_ID, PATH_CLASSES, PATH_CLUSTERS, PATH_DEFINITION, PATH_JARS, PATH_LOADED, PATH_PROPERTIES, PATH_RUNS, PATH_SERVER, PATH_SERVERS, PATH_TESTS, PROP_CLUSTER, PROP_CONTROL_CLUSTER, PROP_CONTROL_RUN_STATE, PROP_EVENT_PROCESSOR_THREADS, PROP_MONGO_URI, PROP_SERVER_ID, PROP_TEST_NAME, PROP_TEST_RUN_FQN, PROP_TEST_RUN_NAME, SEPARATOR |
| Method Summary | |
|---|---|
boolean |
exists(String... path)
Check if a given path exists |
Set<String> |
getChildren(ConfigChildListener listener,
String... path)
Retrieve the children of a given path |
ClassLoader |
getClassLoader(ConfigClassesListener listener,
ClassLoader parent,
String... path)
Retrieve a ClassLoader rooted at the given location |
ClassLoader |
getJarLoader(ConfigClassesListener listener,
ClassLoader parent,
String... path)
Retrieve a URLClassLoader rooted at the given location. |
Properties |
getProperties(ConfigDataListener listener,
String... path)
Retrieve the properties from a given path |
String |
getString(ConfigDataListener listener,
String... path)
Retrieve string data from a given path |
String |
setProperties(ConfigDataListener listener,
boolean ephemeral,
boolean sequential,
Properties properties,
String... path)
Set properties against a path |
| Method Detail |
|---|
boolean exists(String... path)
path - the path (over and above any root path) to check
String getString(ConfigDataListener listener,
String... path)
listener - a listener to call if the data changes (null allowed)path - the path to the data
Properties getProperties(ConfigDataListener listener,
String... path)
listener - a listener to call if the properties change (null allowed)path - the path to the properties
String setProperties(ConfigDataListener listener,
boolean ephemeral,
boolean sequential,
Properties properties,
String... path)
listener - a listener to call if the properties change (null allowed)ephemeral - true if the path should be removed when the server stopssequential - true if the last path element must have an auto-incrementing
value attached i.e. if the final path element is always newproperties - the properties to setpath - the path to the properties
Set<String> getChildren(ConfigChildListener listener,
String... path)
listener - a listener to call if the the children change (null allowed)path - the path to the parent
ClassLoader getClassLoader(ConfigClassesListener listener,
ClassLoader parent,
String... path)
ClassLoader rooted at the given location
listener - a listener to call if the classes change (null allowed)parent - the parent ClassLoaderpath - the path to the classes root (akin to a classpath)
ClassLoader
ClassLoader getJarLoader(ConfigClassesListener listener,
ClassLoader parent,
String... path)
URLClassLoader rooted at the given location. The children of the given
path are found and each is treated as a separate jar file.
listener - a listener to call if the classes change (null allowed)parent - the parent ClassLoaderpath - the path to the jar
ClassLoader
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||