|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class is the home interface of the PersisterTxnMapbean 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 | |
PersisterTxnMap |
create(java.lang.String entityName,
java.lang.String methodName,
java.lang.String txnCode,
java.lang.String txnType,
java.lang.String cachePolicy,
java.lang.String timeOutValue)
This method initialises a new instance of the PersisterTxnMap entity. |
PersisterTxnMap |
findByPrimaryKey(PersisterTxnMapPK key)
This method finds an instance of PersisterTxnMap by its PrimaryKey |
Methods inherited from interface javax.ejb.EJBHome |
getEJBMetaData, getHomeHandle, remove, remove |
Field Detail |
public static final java.lang.String JNDI_LOOKUP_NAME
Method Detail |
public PersisterTxnMap create(java.lang.String entityName, java.lang.String methodName, java.lang.String txnCode, java.lang.String txnType, java.lang.String cachePolicy, java.lang.String timeOutValue) throws java.rmi.RemoteException, javax.ejb.CreateException
entityName
- name of the calling entitymethodName
- name of the method being calledtxnCode
- contains the code number for the host transactiontxnType
- identifies the middleware associated with a transaction such
as MQSeries, IMS, TUXEDO, CICScachePolicy
- whether or not the transaction response can be read from the cachetimeOutValue
- amount of time the data in the cache remains valid
javax.ejb.CreateException
java.rmi.RemoteException
public PersisterTxnMap findByPrimaryKey(PersisterTxnMapPK key) throws java.rmi.RemoteException, javax.ejb.FinderException
key
- PrimaryKey to use in the search
java.rmi.RemoteException
javax.ejb.FinderException
- this exception is thrown if the entity is not found.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |