public class ClassesAutoStarter extends AbstractAutoStartMechanism
AutoStartMechanism.Mode| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
classNames
Names of the classes to start with.
|
LOCALISER, mode, open| Constructor and Description |
|---|
ClassesAutoStarter(StoreManager storeMgr,
ClassLoaderResolver clr)
Constructor, taking the names of the classes to use.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addClass(StoreData data)
Method to add a class to the starter.
|
void |
deleteAllClasses()
Method to remove all classes from the starter.
|
void |
deleteClass(java.lang.String className)
Method to remove a class from the starter
|
java.util.Collection |
getAllClassData()
Accessor for all auto start data for this starter.
|
java.lang.String |
getStorageDescription()
Method to give a descriptive name for the starter process.
|
public ClassesAutoStarter(StoreManager storeMgr, ClassLoaderResolver clr)
storeMgr - The StoreManager managing the store that we are auto-starting.clr - The ClassLoaderResolverpublic java.util.Collection getAllClassData()
throws DatastoreInitialisationException
DatastoreInitialisationExceptionpublic void addClass(StoreData data)
data - The store data to addpublic void deleteClass(java.lang.String className)
className - The name of the class to remove.public void deleteAllClasses()
public java.lang.String getStorageDescription()
Copyright © 2013. All Rights Reserved.