com.bankframe.ei.txnhandler.impl.responseindex
Interface ResponseIndexHome

All Superinterfaces:
javax.ejb.EJBHome, java.rmi.Remote, ResponseIndexFinders

public interface ResponseIndexHome
extends javax.ejb.EJBHome, ResponseIndexFinders

This class is the home interface of the ResponseIndexBean defines its create and findByPrimaryKey method


Field Summary
static java.lang.String JNDI_LOOKUP_NAME
          The name this EJB will be registered under JNDI.
 
Method Summary
 ResponseIndex create(java.lang.String txnCode, java.lang.String txnType, java.lang.String indexName)
          This method initialises a new instance of the ResponseIndex entity.
 ResponseIndex findByPrimaryKey(ResponseIndexPK key)
          This method finds an instance of ResponseIndex by its PrimaryKey
 
Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
 
Methods inherited from interface com.bankframe.ei.txnhandler.responseindex.ResponseIndexFinders
findByTxnCodeAndTxnType
 

Field Detail

JNDI_LOOKUP_NAME

public static final java.lang.String JNDI_LOOKUP_NAME
The name this EJB will be registered under JNDI.

See Also:
Constant Field Values
Method Detail

create

public ResponseIndex create(java.lang.String txnCode,
                            java.lang.String txnType,
                            java.lang.String indexName)
                     throws java.rmi.RemoteException,
                            javax.ejb.CreateException
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 - indicates the name of the index to populate
Returns:
ResponseIndex the instance of the entity
Throws:
javax.ejb.CreateException
java.rmi.RemoteException

findByPrimaryKey

public ResponseIndex findByPrimaryKey(ResponseIndexPK key)
                               throws java.rmi.RemoteException,
                                      javax.ejb.FinderException
This method finds an instance of ResponseIndex by its PrimaryKey

Parameters:
key - PrimaryKey to use in the search
Returns:
ResponseIndex the instance of the entity
Throws:
java.rmi.RemoteException
javax.ejb.FinderException - this exception is thrown if the entity is not found.


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