com.bankframe.ei.txnhandler.impl.persistertxnmap
Class PersisterTxnMapCMPBean
java.lang.Object
com.bankframe.ei.txnhandler.persistertxnmap.PersisterTxnMapBean
com.bankframe.ei.txnhandler.impl.persistertxnmap.PersisterTxnMapBean
com.bankframe.ei.txnhandler.impl.persistertxnmap.PersisterTxnMapCMPBean
- All Implemented Interfaces:
- EEntity, javax.ejb.EnterpriseBean, javax.ejb.EntityBean, java.io.Serializable
- public class PersisterTxnMapCMPBean
- extends PersisterTxnMapBean
- implements javax.ejb.EntityBean
This class maps an entity and a method to a Host transaction. It uses the entity's name
and the methods name to map it to the host by txnCode and txnType.
- See Also:
- Serialized Form
Method Summary |
void |
ejbActivate()
|
PersisterTxnMapPK |
ejbCreate(java.lang.String entityName,
java.lang.String methodName,
java.lang.String txnCode,
java.lang.String txnType,
java.lang.String cachePolicy,
java.lang.String timeOutValue,
java.lang.String indexName)
This method initialises a new instance of the PersisterTxnMap entity. |
void |
ejbLoad()
|
void |
ejbPassivate()
|
void |
ejbPostCreate(java.lang.String entityName,
java.lang.String methodName,
java.lang.String txnCode,
java.lang.String txnType,
java.lang.String cachePolicy,
java.lang.String timeOutValue,
java.lang.String indexName)
This method called after a new instance of the DestinationEjbMap entity
has been initialised. |
void |
ejbRemove()
|
void |
ejbStore()
|
void |
setEntityContext(javax.ejb.EntityContext entityContext)
|
void |
unsetEntityContext()
|
Methods inherited from class com.bankframe.ei.txnhandler.persistertxnmap.PersisterTxnMapBean |
getCachePolicy, getEntityName, getIndexName, getMethodName, getTimeOutValue, getTxnCode, getTxnType, setCachePolicy, setEntityName, setIndexName, setMethodName, setTimeOutValue, setTxnCode, setTxnType |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersisterTxnMapCMPBean
public PersisterTxnMapCMPBean()
- Default constructor
ejbActivate
public void ejbActivate()
- Specified by:
ejbActivate
in interface javax.ejb.EntityBean
ejbCreate
public PersisterTxnMapPK ejbCreate(java.lang.String entityName,
java.lang.String methodName,
java.lang.String txnCode,
java.lang.String txnType,
java.lang.String cachePolicy,
java.lang.String timeOutValue,
java.lang.String indexName)
throws javax.ejb.CreateException,
java.rmi.RemoteException
- This method initialises a new instance of the PersisterTxnMap entity.
- Parameters:
entityName
- name of the calling entitymethodName
- name of the method being calledtxnCode
- contains the code number for the host transactiontxnType
- identifies the middleware associated with a transaction such
as MQSeries, IMS, TUXEDO, CICScachePolicy
- whether or not the transaction response can be read from the cachetimeOutValue
- amount of time the data in the cache remains validindexName
- name of the index to use to lookup data in cache
- Throws:
javax.ejb.CreateException
java.rmi.RemoteException
ejbLoad
public void ejbLoad()
- Specified by:
ejbLoad
in interface javax.ejb.EntityBean
ejbPassivate
public void ejbPassivate()
- Specified by:
ejbPassivate
in interface javax.ejb.EntityBean
ejbPostCreate
public void ejbPostCreate(java.lang.String entityName,
java.lang.String methodName,
java.lang.String txnCode,
java.lang.String txnType,
java.lang.String cachePolicy,
java.lang.String timeOutValue,
java.lang.String indexName)
throws java.rmi.RemoteException
- This method called after a new instance of the DestinationEjbMap entity
has been initialised.
- Parameters:
entityName
- name of the calling entitymethodName
- name of the method being calledtxnCode
- contains the code number for the host transactiontxnType
- identifies the middleware associated with a transaction such
as MQSeries, IMS, TUXEDO, CICScachePolicy
- whether or not the transaction response can be read from the cachetimeOutValue
- amount of time the data in the cache remains validindexName
- name of the index to use to lookup data in cache
- Throws:
java.rmi.RemoteException
- not used
ejbRemove
public void ejbRemove()
- Specified by:
ejbRemove
in interface javax.ejb.EntityBean
ejbStore
public void ejbStore()
- Specified by:
ejbStore
in interface javax.ejb.EntityBean
setEntityContext
public void setEntityContext(javax.ejb.EntityContext entityContext)
- Specified by:
setEntityContext
in interface javax.ejb.EntityBean
unsetEntityContext
public void unsetEntityContext()
- Specified by:
unsetEntityContext
in interface javax.ejb.EntityBean
Copyright © 2005, 2007, Oracle. All rights reserved.