|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SubStore
Interface components must meet if they implement their own persistent store.
Method Summary | |
---|---|
void |
prepareDestroy()
Informs the SubStore that the service is being destroyed
and it should perform any necessary cleanup (closing files for example). |
void |
setDirectory(File dir)
Gives the SubStore a piece of the file system to
use for its store. |
String |
subDirectory()
If this components wants its own sub-directory, it should return a non- null string that will be its sub-directory's name. |
Method Detail |
---|
String subDirectory()
null
string that will be its sub-directory's name.
If it does not need its own sub-directory this method should return
null
.
void setDirectory(File dir) throws ConfigurationException, IOException
SubStore
a piece of the file system to
use for its store.
dir
- the directory to use
IOException
- if there is a problem initializing its store
or recovering its state
ConfigurationException
- if this is a problem configuring this
objectvoid prepareDestroy()
SubStore
that the service is being destroyed
and it should perform any necessary cleanup (closing files for example).
The store does not need to delete it's data.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |