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, Serializable, EnterpriseBean, EntityBean
public class IndexMetaDataCMPBean
- extends IndexMetaDataBean
- implements EntityBean
This class defines a cache index structure.
- See Also:
- Serialized Form
IndexMetaDataCMPBean
public IndexMetaDataCMPBean()
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 cachecacheName
- name of the cache that this index is applied todataPacketName
- the name of the data packet that the index applies todataPacketField
- 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 cachecacheName
- name of the cache that this index is applied todataPacketName
- the name of the data packet that the index applies todataPacketField
- 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.