com.bankframe.services.cache.indexmetadata.impl
Class IndexMetaDataCMPBean

java.lang.Object
  |
  +--com.bankframe.services.cache.indexmetadata.IndexMetaDataBean
        |
        +--com.bankframe.services.cache.indexmetadata.impl.IndexMetaDataBean
              |
              +--com.bankframe.services.cache.indexmetadata.impl.IndexMetaDataCMPBean
All Implemented Interfaces:
EEntity, javax.ejb.EnterpriseBean, javax.ejb.EntityBean, java.io.Serializable

public class IndexMetaDataCMPBean
extends IndexMetaDataBean
implements javax.ejb.EntityBean

This class defines a cache index structure.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.bankframe.services.cache.indexmetadata.IndexMetaDataBean
cacheName, dataPacketField, dataPacketName, indexName
 
Fields inherited from interface com.bankframe.ejb.EEntity
serialVersionUID
 
Constructor Summary
IndexMetaDataCMPBean()
           
 
Method Summary
 void ejbActivate()
           
 IndexMetaDataPK ejbCreate(java.lang.String indexName, java.lang.String cacheName, java.lang.String dataPacketName, java.lang.String dataPacketField)
          This method initialises a new instance of the IndexMetaData entity.
 void ejbLoad()
           
 void ejbPassivate()
           
 void ejbPostCreate(java.lang.String indexName, java.lang.String cacheName, java.lang.String dataPacketName, java.lang.String dataPacketField)
          This method called after a new instance of the IndexMetaData entity has been initialised.
 void ejbRemove()
           
 void ejbStore()
           
 void setEntityContext(javax.ejb.EntityContext arg0)
           
 void unsetEntityContext()
           
 
Methods inherited from class com.bankframe.services.cache.indexmetadata.impl.IndexMetaDataBean
toDataPacket
 
Methods inherited from class com.bankframe.services.cache.indexmetadata.IndexMetaDataBean
create, getCacheName, getDataPacketField, getDataPacketName, getIndexName, isModified, setCacheName, setDataPacketField, setDataPacketName, setIndexName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexMetaDataCMPBean

public IndexMetaDataCMPBean()
Method Detail

ejbCreate

public IndexMetaDataPK ejbCreate(java.lang.String indexName,
                                 java.lang.String cacheName,
                                 java.lang.String dataPacketName,
                                 java.lang.String dataPacketField)
                          throws javax.ejb.CreateException,
                                 java.rmi.RemoteException
This method initialises a new instance of the IndexMetaData entity.

Parameters:
indexName - name of the index to use to lookup data in cache
cacheName - name of the cache that this index is applied to
dataPacketName - the name of the data packet that the index applies to
dataPacketField - the name of the data packet attribute that the index applies to
Throws:
javax.ejb.CreateException
java.rmi.RemoteException

ejbPostCreate

public void ejbPostCreate(java.lang.String indexName,
                          java.lang.String cacheName,
                          java.lang.String dataPacketName,
                          java.lang.String dataPacketField)
                   throws java.rmi.RemoteException
This method called after a new instance of the IndexMetaData entity has been initialised.

Parameters:
indexName - name of the index to use to lookup data in cache
cacheName - name of the cache that this index is applied to
dataPacketName - the name of the data packet that the index applies to
dataPacketField - the name of the data packet attribute that the index applies to
Throws:
java.rmi.RemoteException - not used

setEntityContext

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

unsetEntityContext

public void unsetEntityContext()
                        throws javax.ejb.EJBException,
                               java.rmi.RemoteException
Specified by:
unsetEntityContext in interface javax.ejb.EntityBean
javax.ejb.EJBException
java.rmi.RemoteException
See Also:
EntityBean.unsetEntityContext()

ejbRemove

public void ejbRemove()
               throws javax.ejb.RemoveException,
                      javax.ejb.EJBException,
                      java.rmi.RemoteException
Specified by:
ejbRemove in interface javax.ejb.EntityBean
javax.ejb.RemoveException
javax.ejb.EJBException
java.rmi.RemoteException
See Also:
EntityBean.ejbRemove()

ejbActivate

public void ejbActivate()
                 throws javax.ejb.EJBException,
                        java.rmi.RemoteException
Specified by:
ejbActivate in interface javax.ejb.EntityBean
javax.ejb.EJBException
java.rmi.RemoteException
See Also:
EntityBean.ejbActivate()

ejbPassivate

public void ejbPassivate()
                  throws javax.ejb.EJBException,
                         java.rmi.RemoteException
Specified by:
ejbPassivate in interface javax.ejb.EntityBean
javax.ejb.EJBException
java.rmi.RemoteException
See Also:
EntityBean.ejbPassivate()

ejbLoad

public void ejbLoad()
             throws javax.ejb.EJBException,
                    java.rmi.RemoteException
Specified by:
ejbLoad in interface javax.ejb.EntityBean
javax.ejb.EJBException
java.rmi.RemoteException
See Also:
EntityBean.ejbLoad()

ejbStore

public void ejbStore()
              throws javax.ejb.EJBException,
                     java.rmi.RemoteException
Specified by:
ejbStore in interface javax.ejb.EntityBean
javax.ejb.EJBException
java.rmi.RemoteException
See Also:
EntityBean.ejbStore()


Copyright © 2005 Siebel Systems, Inc. All rights reserved.