com.bankframe.ei.txnhandler.impl.persistertxnmap
Class PersisterTxnMapImplt

java.lang.Object
  extended by com.bankframe.ei.txnhandler.impl.persistertxnmap.PersisterTxnMapImplt
All Implemented Interfaces:
PersisterTxnMap, EEntity, Serializable, Remote, EJBObject

public class PersisterTxnMapImplt
extends Object
implements PersisterTxnMap

This class serves as a lightweight proxy representation of a Destination EJB for caching purposes.

See Also:
Serialized Form

Field Summary
 String cachePolicy
           
 String entityName
           
 String indexName
           
 String methodName
           
 String timeOutValue
           
 String txnCode
           
 String txnType
           
 
Fields inherited from interface com.bankframe.ejb.EEntity
serialVersionUID
 
Constructor Summary
PersisterTxnMapImplt(String entityName, String methodName, String txnCode, String txnType, String cachePolicy, String timeOutValue, String indexName)
          This method is the default constructor
 
Method Summary
 String getCachePolicy()
          Getter method for cachePolicy
 EJBHome getEJBHome()
          This method gets the EJB Home interface
 String getEntityName()
          Getter method for entityName
 Handle getHandle()
          This method gets the EJB handle
 String getIndexName()
          Getter method for indexName
 String getMethodName()
          Getter method for methodName
 Object getPrimaryKey()
          This method gets the PersisterTxnMap PrimaryKey
 String getTimeOutValue()
          Getter method for timeOutValue
 String getTxnCode()
          Getter method for TxnCode
 String getTxnType()
          Getter method for TxnType
 boolean isIdentical(EJBObject param1)
          This method determines if EJB objects identical
 void remove()
          This method does nothing
 DataPacket toDataPacket()
          This method Creates a datapacket
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cachePolicy

public String cachePolicy

timeOutValue

public String timeOutValue

entityName

public String entityName

txnCode

public String txnCode

txnType

public String txnType

methodName

public String methodName

indexName

public String indexName
Constructor Detail

PersisterTxnMapImplt

public PersisterTxnMapImplt(String entityName,
                            String methodName,
                            String txnCode,
                            String txnType,
                            String cachePolicy,
                            String timeOutValue,
                            String indexName)
This method is the default constructor

Parameters:
entityName - name of the calling entity
methodName - name of the method being called
txnCode - contains the code number for the host transaction
txnType - identifies the middleware associated with a transaction such as MQSeries, IMS, TUXEDO, CICS
cachePolicy - whether or not the transaction response can be read from the cache
timeOutValue - amount of time the data in the cache remains valid
Method Detail

getCachePolicy

public String getCachePolicy()
Getter method for cachePolicy

Specified by:
getCachePolicy in interface PersisterTxnMap
Returns:
String

getEJBHome

public EJBHome getEJBHome()
                   throws RemoteException
This method gets the EJB Home interface

Specified by:
getEJBHome in interface EJBObject
Returns:
null
Throws:
RemoteException

getEntityName

public String getEntityName()
Getter method for entityName

Specified by:
getEntityName in interface PersisterTxnMap
Returns:
String

getHandle

public Handle getHandle()
                 throws RemoteException
This method gets the EJB handle

Specified by:
getHandle in interface EJBObject
Returns:
null
Throws:
RemoteException

getMethodName

public String getMethodName()
Getter method for methodName

Specified by:
getMethodName in interface PersisterTxnMap
Returns:
String

getPrimaryKey

public Object getPrimaryKey()
                     throws RemoteException
This method gets the PersisterTxnMap PrimaryKey

Specified by:
getPrimaryKey in interface EJBObject
Returns:
null
Throws:
RemoteException

getTimeOutValue

public String getTimeOutValue()
Getter method for timeOutValue

Specified by:
getTimeOutValue in interface PersisterTxnMap
Returns:
String

getTxnCode

public String getTxnCode()
Getter method for TxnCode

Specified by:
getTxnCode in interface PersisterTxnMap
Returns:
String

getTxnType

public String getTxnType()
Getter method for TxnType

Specified by:
getTxnType in interface PersisterTxnMap
Returns:
String

isIdentical

public boolean isIdentical(EJBObject param1)
                    throws RemoteException
This method determines if EJB objects identical

Specified by:
isIdentical in interface EJBObject
Returns:
false
Throws:
RemoteException

remove

public void remove()
            throws RemoteException,
                   RemoveException
This method does nothing

Specified by:
remove in interface EJBObject
Throws:
RemoteException
RemoveException

toDataPacket

public DataPacket toDataPacket()
This method Creates a datapacket

Specified by:
toDataPacket in interface EEntity
Returns:
DataPacket data

getIndexName

public String getIndexName()
Description copied from interface: PersisterTxnMap
Getter method for indexName

Specified by:
getIndexName in interface PersisterTxnMap
Returns:
String
See Also:
PersisterTxnMap.getIndexName()


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