|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ComponentPersister
Something capable of persisting a component. The Object passed is the proxy not the underlying component.
Method Summary | |
---|---|
void |
clear()
Clear this persister of everything stored. |
void |
close()
Free resources used by the implementation. |
String[] |
list()
List the persisted components. |
void |
persist(String id,
Object proxy,
ArooaSession session)
Persist the proxy Object. |
void |
remove(String id,
ArooaSession session)
Remove an object from the store. |
Object |
restore(String id,
ClassLoader classLoader,
ArooaSession session)
Restore the proxy Object. |
Method Detail |
---|
void persist(String id, Object proxy, ArooaSession session) throws ComponentPersistException
The id is given although it could be discovered from the ComponentPool in the ArooaSession. This is for symmetry with the other methods of this interface.
id
- The id for proxy.proxy
- The object to persist.session
- The session.
ComponentPersistException
Object restore(String id, ClassLoader classLoader, ArooaSession session) throws ComponentPersistException
id
- The id.session
- The session.
ComponentPersistException
void remove(String id, ArooaSession session) throws ComponentPersistException
id
- session
-
ComponentPersistException
String[] list() throws ComponentPersistException
ComponentPersistException
void clear() throws ComponentPersistException
ComponentPersistException
void close()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |