|
||||||||||
| 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 what's 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 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 it's store
or recovering its state.void 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.
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||