public class ClassesAutoStarter extends AbstractAutoStartMechanism
AutoStartMechanism.Mode
Modifier and Type | Field and Description |
---|---|
protected String |
classNames
Names of the classes to start with.
|
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(String className)
Method to remove a class from the starter
|
Collection<StoreData> |
getAllClassData()
Accessor for all auto start data for this starter.
|
String |
getStorageDescription()
Method to give a descriptive name for the starter process.
|
protected String classNames
public ClassesAutoStarter(StoreManager storeMgr, ClassLoaderResolver clr)
storeMgr
- The StoreManager managing the store that we are auto-starting.clr
- The ClassLoaderResolverpublic Collection<StoreData> getAllClassData() throws DatastoreInitialisationException
DatastoreInitialisationException
- If an error occurs in datastore initpublic void addClass(StoreData data)
data
- The store data to addpublic void deleteClass(String className)
className
- The name of the class to remove.public void deleteAllClasses()
public String getStorageDescription()
Copyright © 2019. All rights reserved.