| org.objectweb.speedo.pm.api.POManagerSwitchItf
All known Subclasses: org.objectweb.speedo.pm.lib.POManagerSwitchImpl,
POManagerSwitchItf | public interface POManagerSwitchItf (Code) | | This interfaces defines a POManagerItf switch. It binds a thread to a
list of POManagerItf. In a same context two po managers cannot be managed
by the same PersistentManagerFactory.
author: S.Chassande-Barrioz |
bind | void bind(POManagerItf pm)(Code) | | It assignes a POManagerItf to the current context.
Parameters: pm - is the POManagerItf |
clear | void clear()(Code) | | It clears the list of POManagerItf for the current context.
|
entries | Collection entries()(Code) | | all POManagerItf instances bound with the current context |
lookup | POManagerItf lookup(POManagerFactoryItf pmf)(Code) | | Parameters: pmf - is persistent manager factory which manages the returnedpo manager. the POManagerItf managed by the given persistence manager factoryand bound to current the context, or the null value if there is noPOManagerItf. |
unbind | boolean unbind(POManagerItf pm)(Code) | | It clears a POManagerItf for the current context.
true if the specified pm has been unbound from the context/thread |
unbind | boolean unbind(POManagerFactoryItf pmf)(Code) | | It clears the POManagerItf associated to a POManagerFactoryItf for the
current context
true if a pm associated to the specified PMF, has been unboundfrom the context/thread |
|
|