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, Serializable, EnterpriseBean, EntityBean
public class PersisterTxnMapCMPBean
- extends PersisterTxnMapBean
- implements 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(String entityName,
String methodName,
String txnCode,
String txnType,
String cachePolicy,
String timeOutValue,
String indexName)
This method initialises a new instance of the PersisterTxnMap entity. |
void |
ejbLoad()
|
void |
ejbPassivate()
|
void |
ejbPostCreate(String entityName,
String methodName,
String txnCode,
String txnType,
String cachePolicy,
String timeOutValue,
String indexName)
This method called after a new instance of the DestinationEjbMap entity
has been initialised. |
void |
ejbRemove()
|
void |
ejbStore()
|
void |
setEntityContext(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 |
PersisterTxnMapCMPBean
public PersisterTxnMapCMPBean()
- Default constructor
ejbActivate
public void ejbActivate()
- Specified by:
ejbActivate
in interface EntityBean
ejbCreate
public PersisterTxnMapPK ejbCreate(String entityName,
String methodName,
String txnCode,
String txnType,
String cachePolicy,
String timeOutValue,
String indexName)
throws CreateException,
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:
CreateException
RemoteException
ejbLoad
public void ejbLoad()
- Specified by:
ejbLoad
in interface EntityBean
ejbPassivate
public void ejbPassivate()
- Specified by:
ejbPassivate
in interface EntityBean
ejbPostCreate
public void ejbPostCreate(String entityName,
String methodName,
String txnCode,
String txnType,
String cachePolicy,
String timeOutValue,
String indexName)
throws 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:
RemoteException
- not used
ejbRemove
public void ejbRemove()
- Specified by:
ejbRemove
in interface EntityBean
ejbStore
public void ejbStore()
- Specified by:
ejbStore
in interface EntityBean
setEntityContext
public void setEntityContext(EntityContext entityContext)
- Specified by:
setEntityContext
in interface EntityBean
unsetEntityContext
public void unsetEntityContext()
- Specified by:
unsetEntityContext
in interface EntityBean
Copyright © 2005, 2007, Oracle. All rights reserved.