|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interfaces defines a ProxyManager switch. It binds a thread to a list of ProxyManager. In a same context two proxy managers cannot be managed by the same PersistentManagerFactory.
Method Summary | |
---|---|
void |
bind(ProxyManager pm)
It assignes a ProxyManager to the current context. |
void |
clear()
It clears the list of ProxyManager for the current context. |
java.util.Collection |
entries()
|
ProxyManager |
lookup(ProxyManagerFactory pmf)
|
boolean |
unbind(ProxyManager pm)
It clears a ProxyManager for the current context. |
boolean |
unbind(ProxyManagerFactory pmf)
It clears the ProxyManager associated to a ProxyManagerFactory for the current context |
Method Detail |
public ProxyManager lookup(ProxyManagerFactory pmf)
pmf
- is persistent manager factory which manages the returned
proxy manager.
public void bind(ProxyManager pm)
pm
- is the ProxyManagerpublic void clear()
public boolean unbind(ProxyManager pm)
public boolean unbind(ProxyManagerFactory pmf)
public java.util.Collection entries()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |