com.bankframe.ei.txnhandler.impl.responseindex
Class ResponseIndexCMPBean

java.lang.Object
  extended by com.bankframe.ei.txnhandler.responseindex.ResponseIndexBean
      extended by com.bankframe.ei.txnhandler.impl.responseindex.ResponseIndexBean
          extended by com.bankframe.ei.txnhandler.impl.responseindex.ResponseIndexCMPBean
All Implemented Interfaces:
EEntity, Serializable, EnterpriseBean, EntityBean

public class ResponseIndexCMPBean
extends ResponseIndexBean
implements EntityBean

This class maps a host transaction response to an index.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.bankframe.ei.txnhandler.responseindex.ResponseIndexBean
indexName, txnCode, txnType
 
Fields inherited from interface com.bankframe.ejb.EEntity
serialVersionUID
 
Constructor Summary
ResponseIndexCMPBean()
          Default constructor
 
Method Summary
 void ejbActivate()
           
 ResponseIndexPK ejbCreate(String txnCode, String txnType, String indexName)
          This method initialises a new instance of the ResponseIndex entity.
 void ejbLoad()
           
 void ejbPassivate()
           
 void ejbPostCreate(String txnCode, String txnType, String indexName)
          This method called after a new instance of the ResponseIndex entity has been initialised.
 void ejbRemove()
           
 void ejbStore()
           
 void setEntityContext(EntityContext entityContext)
           
 void unsetEntityContext()
           
 
Methods inherited from class com.bankframe.ei.txnhandler.impl.responseindex.ResponseIndexBean
toDataPacket
 
Methods inherited from class com.bankframe.ei.txnhandler.responseindex.ResponseIndexBean
create, getIndexName, getTxnCode, getTxnType, isModified, setIndexName, setTxnCode, setTxnType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseIndexCMPBean

public ResponseIndexCMPBean()
Default constructor

Method Detail

ejbCreate

public ResponseIndexPK ejbCreate(String txnCode,
                                 String txnType,
                                 String indexName)
                          throws CreateException,
                                 RemoteException
This method initialises a new instance of the ResponseIndex entity.

Parameters:
txnCode - contains the code number for the host transaction
txnType - identifies the middleware associated with a transaction such as MQSeries, IMS, TUXEDO, CICS
indexName - name of the index to use to lookup data in cache
Throws:
CreateException
RemoteException

ejbPostCreate

public void ejbPostCreate(String txnCode,
                          String txnType,
                          String indexName)
                   throws RemoteException
This method called after a new instance of the ResponseIndex entity has been initialised.

Parameters:
txnCode - contains the code number for the host transaction
txnType - identifies the middleware associated with a transaction such as MQSeries, IMS, TUXEDO, CICS
indexName - name of the index to use to lookup data in cache
Throws:
RemoteException - not used

setEntityContext

public void setEntityContext(EntityContext entityContext)
                      throws EJBException,
                             RemoteException
Specified by:
setEntityContext in interface EntityBean
Throws:
EJBException
RemoteException
See Also:
EntityBean.setEntityContext(javax.ejb.EntityContext)

unsetEntityContext

public void unsetEntityContext()
                        throws EJBException,
                               RemoteException
Specified by:
unsetEntityContext in interface EntityBean
Throws:
EJBException
RemoteException
See Also:
EntityBean.unsetEntityContext()

ejbRemove

public void ejbRemove()
               throws RemoveException,
                      EJBException,
                      RemoteException
Specified by:
ejbRemove in interface EntityBean
Throws:
RemoveException
EJBException
RemoteException
See Also:
EntityBean.ejbRemove()

ejbActivate

public void ejbActivate()
                 throws EJBException,
                        RemoteException
Specified by:
ejbActivate in interface EntityBean
Throws:
EJBException
RemoteException
See Also:
EntityBean.ejbActivate()

ejbPassivate

public void ejbPassivate()
                  throws EJBException,
                         RemoteException
Specified by:
ejbPassivate in interface EntityBean
Throws:
EJBException
RemoteException
See Also:
EntityBean.ejbPassivate()

ejbLoad

public void ejbLoad()
             throws EJBException,
                    RemoteException
Specified by:
ejbLoad in interface EntityBean
Throws:
EJBException
RemoteException
See Also:
EntityBean.ejbLoad()

ejbStore

public void ejbStore()
              throws EJBException,
                     RemoteException
Specified by:
ejbStore in interface EntityBean
Throws:
EJBException
RemoteException
See Also:
EntityBean.ejbStore()


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