com.bankframe.ei.txnhandler.storeandforward.completedforwardtransaction.impl.errortransaction
Class ErrorTransactionCMPBean
java.lang.Object
com.bankframe.ei.txnhandler.storeandforward.completedforwardtransaction.CompletedForwardTransactionBean
com.bankframe.ei.txnhandler.storeandforward.completedforwardtransaction.impl.errortransaction.ErrorTransactionBean
com.bankframe.ei.txnhandler.storeandforward.completedforwardtransaction.impl.errortransaction.ErrorTransactionCMPBean
- All Implemented Interfaces:
- Serializable, EnterpriseBean, EntityBean
public class ErrorTransactionCMPBean
- extends ErrorTransactionBean
- implements EntityBean
This class is the implementation of the ErrorTransaction Entity EJB using
container managed persistence
- See Also:
- Serialized Form
ErrorTransactionCMPBean
public ErrorTransactionCMPBean()
- ErrorTransactionCMPBean constructor.
ejbActivate
public void ejbActivate()
- Specified by:
ejbActivate
in interface EntityBean
ejbCreate
public ErrorTransactionPK ejbCreate(long forwardedTimestamp,
long storedTimestamp,
String forwardedTransaction)
throws CreateException,
ProcessingErrorException,
RemoteException
- This method initialises a new instance of the ErrorTransaction entity.
- Parameters:
forwardedTimestamp
- time in milliseconds when the transaction was
fowarded to the hoststoredTimestamp
- time in milliseconds when the transaction was
stored in the store queueforwardedTransaction
- the host request transaction
- Throws:
CreateException
ProcessingErrorException
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(long forwardedTimestamp,
long storedTimestamp,
String forwardedTransaction)
throws CreateException
- This method called after a new instance of the DestinationEjbMap entity
has been initialised.
- Parameters:
forwardedTimestamp
- time in milliseconds when the transaction was
fowarded to the hoststoredTimestamp
- time in milliseconds when the transaction was
stored in the store queueforwardedTransaction
- the host request transaction
- Throws:
CreateException
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 ctx)
- Specified by:
setEntityContext
in interface EntityBean
unsetEntityContext
public void unsetEntityContext()
- Specified by:
unsetEntityContext
in interface EntityBean
Copyright © 2005, 2007, Oracle. All rights reserved.