| |
|
| java.lang.Object org.objectweb.speedo.pm.lib.POManagerInstanciatorImpl
POManagerInstanciatorImpl | public class POManagerInstanciatorImpl implements PoolMatchFactory,BindingController,LifeCycleController,POManagerInstanciatorAC(Code) | | is a primitive components in charge of the POManagerItf and the TransactionItf
allocation. It exports the PoolMatchFactory interface in order to be used by
a Pool as Factory of pool resource. The pool resource is POManagerItf
instances.
It uses a ConnectionHolderFactory for allocating ConnectionHolder to the
created TransactionItf components.
See Also: org.objectweb.speedo.pm.api.POManagerItf See Also: org.objectweb.speedo.workingset.api.TransactionItf See Also: org.objectweb.perseus.persistence.api.ConnectionHolder See Also: org.objectweb.perseus.persistence.api.ConnectionHolderFactory author: S.Chassande-Barrioz |
COMPONENT_BINDING | final public static String COMPONENT_BINDING(Code) | | |
CONNECTION_HOLDER_FACTORY_BINDING | final public static String CONNECTION_HOLDER_FACTORY_BINDING(Code) | | |
speedoComponent | Component speedoComponent(Code) | | The reference the composite component containing the POManagerItf and
JDOTransactionItf components to instanciate.
|
clearComponentRef | void clearComponentRef()(Code) | | |
createResource | public Object createResource(Object o) throws PoolException(Code) | | Creates a new PoolResource .
This methos is invoked by the owned Pool .
A new JDOPOManager and a new JDOTransaction component are
created, and added into the Speedo composite.
Parameters: o - params used to build a new PoolResource the build JDOPOManager |
destroyResource | public void destroyResource(Object resource)(Code) | | It removes the POManagerItf and the JDOTransactionItf components from the
Speedo composite.
Parameters: resource - is the POManagerItf to destroy. |
fetchComponentRef | void fetchComponentRef() throws Exception(Code) | | Fills the components array with components required by a POManagerItf and
JDOTransactionItf components.
|
getPOManagerTemplateName | public String getPOManagerTemplateName()(Code) | | |
getTransactionTemplateName | public String getTransactionTemplateName()(Code) | | |
setPOManagerTemplateName | public void setPOManagerTemplateName(String n)(Code) | | |
setTransactionTemplateName | public void setTransactionTemplateName(String n)(Code) | | |
startFc | public void startFc() throws IllegalLifeCycleException(Code) | | Startes the component by computing the components array.
|
stopFc | public void stopFc() throws IllegalLifeCycleException(Code) | | Clears the components array.
|
|
|
|