public class MetaDataAutoStarter extends AbstractAutoStartMechanism
AutoStartMechanism.Mode
Modifier and Type | Field and Description |
---|---|
protected Collection<StoreData> |
classes |
protected ClassLoaderResolver |
clr |
protected String |
metaDataFiles
Names of the metadata files to start with (comma-separated).
|
protected StoreManager |
storeMgr |
mode, open
Constructor and Description |
---|
MetaDataAutoStarter(StoreManager storeMgr,
ClassLoaderResolver clr)
Constructor, taking the names of the metadata 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 metaDataFiles
protected StoreManager storeMgr
protected ClassLoaderResolver clr
protected Collection<StoreData> classes
public MetaDataAutoStarter(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.