Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » ejb » plugins » [javadoc | source]
org.jboss.ejb.plugins
public class: CMPPersistenceManager [javadoc | source]
java.lang.Object
   org.jboss.ejb.plugins.CMPPersistenceManager

All Implemented Interfaces:
    EntityPersistenceManager

The CMP Persistence Manager implements the semantics of the CMP EJB 1.1 call back specification.

This Manager works with a "EntityPersistenceStore" that takes care of the physical storing of instances (JAWS, JDBC O/R, FILE, Object).

Field Summary
 EntityContainer con     
 EntityPersistenceStore store     
 HashMap createMethods     
 HashMap postCreateMethods     
Method from org.jboss.ejb.plugins.CMPPersistenceManager Summary:
activateEntity,   create,   createBeanClassInstance,   createEntity,   destroy,   findEntities,   findEntity,   getPersistenceStore,   invokeEjbStore,   invokeLoad,   isModified,   isStoreRequired,   loadEntity,   passivateEntity,   postCreateEntity,   removeEntity,   setContainer,   setPersistenceStore,   start,   stop,   storeEntity
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.ejb.plugins.CMPPersistenceManager Detail:
 public  void activateEntity(EntityEnterpriseContext ctx) throws RemoteException 
 public  void create() throws Exception 
 public Object createBeanClassInstance() throws Exception 
    Returns a new instance of the bean class or a subclass of the bean class.
 public  void createEntity(Method m,
    Object[] args,
    EntityEnterpriseContext ctx) throws Exception 
 public  void destroy() 
 public Collection findEntities(Method finderMethod,
    Object[] args,
    EntityEnterpriseContext ctx,
    GenericEntityObjectFactory factory) throws Exception 
    find multiple entities
 public Object findEntity(Method finderMethod,
    Object[] args,
    EntityEnterpriseContext ctx,
    GenericEntityObjectFactory factory) throws Exception 
 public EntityPersistenceStore getPersistenceStore() 
    Gets the entity persistence store.
 public  void invokeEjbStore(EntityEnterpriseContext ctx) throws RemoteException 
 protected  void invokeLoad(EntityEnterpriseContext ctx) throws RemoteException 
 public boolean isModified(EntityEnterpriseContext ctx) throws Exception 
 public boolean isStoreRequired(EntityEnterpriseContext ctx) throws Exception 
 public  void loadEntity(EntityEnterpriseContext ctx) throws RemoteException 
 public  void passivateEntity(EntityEnterpriseContext ctx) throws RemoteException 
 public  void postCreateEntity(Method m,
    Object[] args,
    EntityEnterpriseContext ctx) throws Exception 
 public  void removeEntity(EntityEnterpriseContext ctx) throws RemoveException, RemoteException 
 public  void setContainer(Container c) 
 public  void setPersistenceStore(EntityPersistenceStore store) 
 public  void start() throws Exception 
 public  void stop() 
 public  void storeEntity(EntityEnterpriseContext ctx) throws RemoteException