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

java.lang.Object
  extended by com.bankframe.services.cache.indexmetadata.IndexMetaDataBean
      extended by com.bankframe.services.cache.indexmetadata.impl.IndexMetaDataBean
          extended by com.bankframe.services.cache.indexmetadata.impl.IndexMetaDataCMPBean
All Implemented Interfaces:
EEntity, Serializable, EnterpriseBean, EntityBean

public class IndexMetaDataCMPBean
extends IndexMetaDataBean
implements 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(String indexName, String cacheName, String dataPacketName, String dataPacketField)
          This method initialises a new instance of the IndexMetaData entity.
 void ejbLoad()
           
 void ejbPassivate()
           
 void ejbPostCreate(String indexName, String cacheName, String dataPacketName, String dataPacketField)
          This method called after a new instance of the IndexMetaData entity has been initialised.
 void ejbRemove()
           
 void ejbStore()
           
 void setEntityContext(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(String indexName,
                                 String cacheName,
                                 String dataPacketName,
                                 String dataPacketField)
                          throws CreateException,
                                 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:
CreateException
RemoteException

ejbPostCreate

public void ejbPostCreate(String indexName,
                          String cacheName,
                          String dataPacketName,
                          String dataPacketField)
                   throws 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:
RemoteException - not used

setEntityContext

public void setEntityContext(EntityContext arg0)
                      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.