|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for manipulating RegistryFragments in a fragment based registry implementation.
Field Summary | |
static int |
DEFAULT_REFRESH
|
Method Summary | |
void |
createFragment(java.lang.String name,
java.io.Reader reader,
boolean persistent)
Read and unmarshal a fragment in memory |
java.util.Map |
getFragmentMap()
|
void |
loadFragment(java.lang.String file)
Load and unmarshal a RegistryFragment from the file |
void |
refresh()
Refresh the state of the registry implementation. |
void |
removeFragment(java.lang.String file)
Remove a fragment from storage |
void |
saveFragment(java.lang.String file)
Marshal and save a RegistryFragment to disk |
Field Detail |
public static final int DEFAULT_REFRESH
Method Detail |
public void refresh()
public java.util.Map getFragmentMap()
public void createFragment(java.lang.String name, java.io.Reader reader, boolean persistent)
name
- the name of this fragmentreader
- the reader to use for creating this fragmentpersistent
- whether this fragment should be persisted on disk in
the registrypublic void loadFragment(java.lang.String file)
file
- the absolute file path storing this fragmentpublic void saveFragment(java.lang.String file)
file
- the absolute file path storing this fragmentpublic void removeFragment(java.lang.String file)
file
- the absolute file path storing this fragment
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |