com.bankframe.ei.txnhandler.storeandforward.impl.storetransaction
Class StoreTransactionCMPBean

java.lang.Object
  extended bycom.bankframe.ei.txnhandler.storeandforward.storetransaction.StoreTransactionBean
      extended bycom.bankframe.ei.txnhandler.storeandforward.impl.storetransaction.StoreTransactionBean
          extended bycom.bankframe.ei.txnhandler.storeandforward.impl.storetransaction.StoreTransactionCMPBean
All Implemented Interfaces:
EEntity, javax.ejb.EnterpriseBean, javax.ejb.EntityBean, java.io.Serializable

public class StoreTransactionCMPBean
extends StoreTransactionBean
implements javax.ejb.EntityBean

The StoreTransactionCMPBean class.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.bankframe.ei.txnhandler.storeandforward.storetransaction.StoreTransactionBean
addTimestamp, batchedForForward, requestTransaction, sequenceNo
 
Fields inherited from interface com.bankframe.ejb.EEntity
serialVersionUID
 
Constructor Summary
StoreTransactionCMPBean()
          Default constructor.
 
Method Summary
 void amend(int sequenceNo, long addTimestamp, java.lang.String requestTransaction, java.lang.String batchedForForward)
          This method amends the details of a given stored transaction
 void create(int sequenceNo, long addTimestamp, java.lang.String requestTransaction, java.lang.String batchedForForward)
           
 void ejbActivate()
          This method is called by the EJB container when this EJB instance is activated.
 StoreTransactionPK ejbCreate(java.lang.String requestTransaction)
          This method initialises a new instance of the ErrorTransaction entity.
 void ejbLoad()
           
 void ejbPassivate()
          This method is called by the EJB container when this EJB instance is passivated.
 void ejbPostCreate(java.lang.String requestTransaction)
           
 void ejbRemove()
           
 void ejbStore()
          This method is called by the EJB contain when this EJB instance must store its attributes in persistent storage.
 java.lang.String getEntityName()
          This method returns the JNDI name of this entity
 EPrimaryKey getPrimaryKey()
          This method gets the primary key object for this entity instance.
 void setEntityContext(javax.ejb.EntityContext ctx)
           
 void unsetEntityContext()
           
 
Methods inherited from class com.bankframe.ei.txnhandler.storeandforward.impl.storetransaction.StoreTransactionBean
toDataPacket
 
Methods inherited from class com.bankframe.ei.txnhandler.storeandforward.storetransaction.StoreTransactionBean
getAddTimestamp, getBatchedForForward, getRequestTransaction, getSequenceNo
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoreTransactionCMPBean

public StoreTransactionCMPBean()
Default constructor.

Method Detail

ejbActivate

public void ejbActivate()
This method is called by the EJB container when this EJB instance is activated.

Specified by:
ejbActivate in interface javax.ejb.EntityBean

ejbCreate

public StoreTransactionPK ejbCreate(java.lang.String requestTransaction)
                             throws javax.ejb.CreateException,
                                    java.rmi.RemoteException,
                                    ProcessingErrorException
This method initialises a new instance of the ErrorTransaction entity.

Parameters:
requestTransaction - the host request transaction in an XML String
Throws:
javax.ejb.CreateException
java.rmi.RemoteException
ProcessingErrorException

ejbLoad

public void ejbLoad()
Specified by:
ejbLoad in interface javax.ejb.EntityBean

ejbPassivate

public void ejbPassivate()
This method is called by the EJB container when this EJB instance is passivated.

Specified by:
ejbPassivate in interface javax.ejb.EntityBean

ejbPostCreate

public void ejbPostCreate(java.lang.String requestTransaction)
                   throws javax.ejb.CreateException
Throws:
javax.ejb.CreateException

ejbRemove

public void ejbRemove()
Specified by:
ejbRemove in interface javax.ejb.EntityBean

ejbStore

public void ejbStore()
This method is called by the EJB contain when this EJB instance must store its attributes in persistent storage.

Specified by:
ejbStore in interface javax.ejb.EntityBean

getEntityName

public java.lang.String getEntityName()
This method returns the JNDI name of this entity

Returns:
the JNDI name of this entity

getPrimaryKey

public EPrimaryKey getPrimaryKey()
This method gets the primary key object for this entity instance.

Returns:
the EPrimaryKey for this entity

setEntityContext

public void setEntityContext(javax.ejb.EntityContext ctx)
Specified by:
setEntityContext in interface javax.ejb.EntityBean

unsetEntityContext

public void unsetEntityContext()
Specified by:
unsetEntityContext in interface javax.ejb.EntityBean

amend

public void amend(int sequenceNo,
                  long addTimestamp,
                  java.lang.String requestTransaction,
                  java.lang.String batchedForForward)
Description copied from class: StoreTransactionBean
This method amends the details of a given stored transaction

Overrides:
amend in class StoreTransactionBean
Parameters:
sequenceNo - the new sequence number
addTimestamp - the new stored timestamp
requestTransaction - the new transaction data

create

public void create(int sequenceNo,
                   long addTimestamp,
                   java.lang.String requestTransaction,
                   java.lang.String batchedForForward)
Parameters:
sequenceNo - the sequence number
addTimestamp - the stored timestamp
requestTransaction - the transaction data


Copyright © 2005, 2007, Oracle. All rights reserved.