|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jpox.store.AbstractAutoStartMechanism
org.jpox.store.ClassesAutoStarter
public class ClassesAutoStarter
An auto-starter mechanism that uses a defined list of classes to be loaded at start.
| Field Summary | |
|---|---|
protected java.lang.String |
classNames
Names of the classes to start with. |
| Fields inherited from class org.jpox.store.AbstractAutoStartMechanism |
|---|
LOCALISER, mode, open |
| Fields inherited from interface org.jpox.store.AutoStartMechanism |
|---|
MODE_CHECKED, MODE_IGNORED, MODE_QUIET, NONE |
| Constructor Summary | |
|---|---|
ClassesAutoStarter(StoreManager storeMgr,
ClassLoaderResolver clr)
Constructor, taking the names of the classes to use. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.jpox.store.AbstractAutoStartMechanism |
|---|
close, getMode, isOpen, open, setMode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String classNames
| Constructor Detail |
|---|
public ClassesAutoStarter(StoreManager storeMgr,
ClassLoaderResolver clr)
storeMgr - The StoreManager managing the store that we are auto-starting.clr - The ClassLoaderResolver| Method Detail |
|---|
public 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||