|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.jboss.ejb.plugins.jaws.JAWSPersistenceManager
Just Another Web Store - an O/R mapper
EntityPersistenceStore| Inner Class Summary | |
static class |
JAWSPersistenceManager.PersistenceContext
|
| Constructor Summary | |
JAWSPersistenceManager()
|
|
| Method Summary | |
void |
activateEntity(EntityEnterpriseContext ctx)
This method is called when an entity shall be activated. |
java.lang.Object |
createEntity(java.lang.reflect.Method m,
java.lang.Object[] args,
EntityEnterpriseContext ctx)
This method is called whenever an entity is to be created. |
void |
destroy()
|
FinderResults |
findEntities(java.lang.reflect.Method finderMethod,
java.lang.Object[] args,
EntityEnterpriseContext ctx)
This method is called when collections of entities are to be found. |
java.lang.Object |
findEntity(java.lang.reflect.Method finderMethod,
java.lang.Object[] args,
EntityEnterpriseContext ctx)
This method is called when single entities are to be found. |
void |
init()
|
void |
loadEntities(FinderResults keys)
This method is called whenever a set of entities should be preloaded from the underlying storage. |
void |
loadEntity(EntityEnterpriseContext ctx)
This method is called whenever an entity shall be load from the underlying storage. |
void |
passivateEntity(EntityEnterpriseContext ctx)
This method is called when an entity shall be passivate. |
void |
removeEntity(EntityEnterpriseContext ctx)
This method is called when an entity shall be removed from the underlying storage. |
void |
setContainer(Container c)
This callback is set by the container so that the plugin may access it |
void |
start()
|
void |
stop()
|
void |
storeEntity(EntityEnterpriseContext ctx)
This method is called whenever an entity shall be stored to the underlying storage. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JAWSPersistenceManager()
| Method Detail |
public void setContainer(Container c)
ContainerPluginsetContainer in interface ContainerPluginorg.jboss.ejb.ContainerPlugincon - the container using this plugin
public void init()
throws java.lang.Exception
init in interface Service
public void start()
throws java.lang.Exception
start in interface Servicepublic void stop()
stop in interface Servicepublic void destroy()
destroy in interface Service
public java.lang.Object createEntity(java.lang.reflect.Method m,
java.lang.Object[] args,
EntityEnterpriseContext ctx)
throws java.rmi.RemoteException,
javax.ejb.CreateException
EntityPersistenceStorecreateEntity in interface EntityPersistenceStoreorg.jboss.ejb.EntityPersistenceStorem - the create method in the home interface that was calledargs - any create parametersinstance - the instance being used for this create calljava.lang.Exception -
public java.lang.Object findEntity(java.lang.reflect.Method finderMethod,
java.lang.Object[] args,
EntityEnterpriseContext ctx)
throws java.rmi.RemoteException,
javax.ejb.FinderException
EntityPersistenceStorefindEntity in interface EntityPersistenceStoreorg.jboss.ejb.EntityPersistenceStorefinderMethod - the find method in the home interface that was calledargs - any finder parametersinstance - the instance to use for the finder calljava.rmi.RemoteException - thrown if some system exception occursjavax.ejb.FinderException - thrown if some heuristic problem occurs
public FinderResults findEntities(java.lang.reflect.Method finderMethod,
java.lang.Object[] args,
EntityEnterpriseContext ctx)
throws java.rmi.RemoteException,
javax.ejb.FinderException
EntityPersistenceStorefindEntities in interface EntityPersistenceStoreorg.jboss.ejb.EntityPersistenceStorefinderMethod - the find method in the home interface that was calledargs - any finder parametersinstance - the instance to use for the finder calljava.rmi.RemoteException - thrown if some system exception occursjavax.ejb.FinderException - thrown if some heuristic problem occurs
public void activateEntity(EntityEnterpriseContext ctx)
throws java.rmi.RemoteException
EntityPersistenceStoreactivateEntity in interface EntityPersistenceStoreorg.jboss.ejb.EntityPersistenceStoreinstance - the instance to use for the activationjava.rmi.RemoteException - thrown if some system exception occurs
public void loadEntity(EntityEnterpriseContext ctx)
throws java.rmi.RemoteException
EntityPersistenceStoreloadEntity in interface EntityPersistenceStoreorg.jboss.ejb.EntityPersistenceStoreinstance - the instance to synchronizejava.rmi.RemoteException - thrown if some system exception occurs
public void loadEntities(FinderResults keys)
throws java.rmi.RemoteException
EntityPersistenceStoreloadEntities in interface EntityPersistenceStoreorg.jboss.ejb.EntityPersistenceStoreinstances - the EntityEnterpriseContexts for the entities that must be loadedkeys - a PagableKeyCollection previously returned from findEntities.
public void storeEntity(EntityEnterpriseContext ctx)
throws java.rmi.RemoteException
EntityPersistenceStorestoreEntity in interface EntityPersistenceStoreorg.jboss.ejb.EntityPersistenceStoreinstance - the instance to synchronizejava.rmi.RemoteException - thrown if some system exception occurs
public void passivateEntity(EntityEnterpriseContext ctx)
throws java.rmi.RemoteException
EntityPersistenceStorepassivateEntity in interface EntityPersistenceStoreorg.jboss.ejb.EntityPersistenceStoreinstance - the instance to passivatejava.rmi.RemoteException - thrown if some system exception occurs
public void removeEntity(EntityEnterpriseContext ctx)
throws java.rmi.RemoteException,
javax.ejb.RemoveException
EntityPersistenceStoreremoveEntity in interface EntityPersistenceStoreorg.jboss.ejb.EntityPersistenceStoreinstance - the instance to removejava.rmi.RemoteException - thrown if some system exception occursjavax.ejb.RemoveException - thrown if the instance could not be removed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||