| |
|
| java.lang.Object org.jpox.store.AbstractAutoStartMechanism org.jpox.store.XMLAutoStarter
XMLAutoStarter | public class XMLAutoStarter extends AbstractAutoStartMechanism (Code) | | An auto-starter mechanism storing its definition in an XML file.
Is independent of the datastore since it is stored as a file and not
in the actual datastore.
TODO Add a JPOXAutoStart DTD to validate the file automatically.
TODO If we have one per PMF, need to guarantee unique naming of file.
version: $Revision: 1.15 $ |
addClass | public void addClass(StoreData data)(Code) | | Method to add a class to the starter.
Parameters: data - The store data to add |
close | public void close()(Code) | | Closes a transaction for writing (add/delete) classes to the auto start
mechanism
|
deleteAllClasses | public void deleteAllClasses()(Code) | | Method to remove all classes from the starter.
|
deleteClass | public void deleteClass(String className)(Code) | | Method to remove a class from the starter
Parameters: className - The name of the class to remove. |
getStorageDescription | public String getStorageDescription()(Code) | | Method to give a descriptive name for the starter process.
Description of the starter process. |
isOpen | public boolean isOpen()(Code) | | Whether it's open for writing (add/delete) classes to the auto start
mechanism
whether this is open for writing |
|
|
|