com.bankframe.ei.txnhandler.storeandforward.completedforwardtransaction.impl.successfultransaction
Class SuccessfulTransactionCMPBean
java.lang.Object
com.bankframe.ei.txnhandler.storeandforward.completedforwardtransaction.CompletedForwardTransactionBean
com.bankframe.ei.txnhandler.storeandforward.completedforwardtransaction.impl.successfultransaction.SuccessfulTransactionBean
com.bankframe.ei.txnhandler.storeandforward.completedforwardtransaction.impl.successfultransaction.SuccessfulTransactionCMPBean
- All Implemented Interfaces:
- Serializable, EnterpriseBean, EntityBean
public class SuccessfulTransactionCMPBean
- extends SuccessfulTransactionBean
- implements EntityBean
This class is the implementation of the SuccessfulTransaction Entity EJB using
container managed persistence
- See Also:
- Serialized Form
SuccessfulTransactionCMPBean
public SuccessfulTransactionCMPBean()
- Default constructor.
ejbActivate
public void ejbActivate()
- Specified by:
ejbActivate
in interface EntityBean
ejbCreate
public SuccessfulTransactionPK ejbCreate(long forwardedTimestamp,
long storedTimestamp,
String forwardedTransaction)
throws CreateException,
ProcessingErrorException,
RemoteException
- This method initialises a new instance of the SuccessfulTransaction 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.