|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines callback operations for persistence operations. These operations will be invoked when used with org.apache.ws.resource.impl.ResourceHomeImpl
. Currently, the ResourceHomeImpl
will only invoke the
load()
function automatically. The resource implementation itself is responsible for
calling store()
function to synchronize its state on disk.
Method Summary | |
void |
load(ResourceKey key)
Loads the resource state. |
void |
store()
Saves the resource state. |
Method Detail |
public void load(ResourceKey key) throws ResourceException, NoSuchResourceException, InvalidResourceKeyException
NoSuchResourceException
- if no resource state exists for the specified key.
InvalidResourceKeyException
- if the resource key is invalid.
ResourceException
- if the load operation fails for any other reason.public void store() throws ResourceException
ResourceException
- if the store operation fails.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |