|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.ejb.plugins.AbstractInterceptor
org.jboss.resource.connectionmanager.CachedConnectionInterceptor
CachedConnectionInterceptor.java Created: Sat Jan 12 01:22:06 2002
| Field Summary |
| Fields inherited from class org.jboss.ejb.plugins.AbstractInterceptor |
nextInterceptor |
| Constructor Summary | |
CachedConnectionInterceptor()
|
|
| Method Summary | |
void |
activateEntity(org.jboss.ejb.EntityEnterpriseContext instance)
This method is called when an entity shall be activated. |
void |
create()
|
Object |
createBeanClassInstance()
Returns a new instance of the bean class or a subclass of the bean class. |
void |
createEntity(Method m,
Object[] args,
org.jboss.ejb.EntityEnterpriseContext instance)
This method is called whenever an entity is to be created. |
void |
destroy()
|
Collection |
findEntities(Method finderMethod,
Object[] args,
org.jboss.ejb.EntityEnterpriseContext instance,
org.jboss.ejb.GenericEntityObjectFactory factory)
This method is called when collections of entities are to be found. |
Object |
findEntity(Method finderMethod,
Object[] args,
org.jboss.ejb.EntityEnterpriseContext instance,
org.jboss.ejb.GenericEntityObjectFactory factory)
This method is called when single entities are to be found. |
org.jboss.ejb.Container |
getContainer()
|
Object |
invoke(org.jboss.invocation.Invocation mi)
|
void |
invokeEjbStore(org.jboss.ejb.EntityEnterpriseContext ctx)
|
Object |
invokeHome(org.jboss.invocation.Invocation mi)
|
boolean |
isModified(org.jboss.ejb.EntityEnterpriseContext ctx)
|
boolean |
isStoreRequired(org.jboss.ejb.EntityEnterpriseContext instance)
This method is used to determine if an entity should be stored. |
void |
loadEntity(org.jboss.ejb.EntityEnterpriseContext instance)
This method is called whenever an entity shall be load from the underlying storage. |
void |
passivateEntity(org.jboss.ejb.EntityEnterpriseContext instance)
This method is called when an entity shall be passivate. |
void |
postCreateEntity(Method m,
Object[] args,
org.jboss.ejb.EntityEnterpriseContext instance)
|
void |
removeEntity(org.jboss.ejb.EntityEnterpriseContext instance)
This method is called when an entity shall be removed from the underlying storage. |
void |
setContainer(org.jboss.ejb.Container container)
|
void |
start()
|
void |
stop()
|
void |
storeEntity(org.jboss.ejb.EntityEnterpriseContext ctx)
This method is called whenever an entity shall be stored to the underlying storage. |
| Methods inherited from class org.jboss.ejb.plugins.AbstractInterceptor |
getNext, setNext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CachedConnectionInterceptor()
throws Exception
| Method Detail |
public void start()
throws Exception
start in interface org.jboss.system.ServiceException - public void stop()
stop in interface org.jboss.system.Servicepublic void destroy()
destroy in interface org.jboss.system.Service
public void create()
throws Exception
create in interface org.jboss.system.ServiceException -
public Object invoke(org.jboss.invocation.Invocation mi)
throws Exception
invoke in interface org.jboss.ejb.InterceptorException -
public Object invokeHome(org.jboss.invocation.Invocation mi)
throws Exception
invokeHome in interface org.jboss.ejb.InterceptorException - public void setContainer(org.jboss.ejb.Container container)
setContainer in interface org.jboss.ejb.ContainerPluginpublic org.jboss.ejb.Container getContainer()
public Object createBeanClassInstance()
throws Exception
createBeanClassInstance in interface org.jboss.ejb.EntityPersistenceManagerException
public void createEntity(Method m,
Object[] args,
org.jboss.ejb.EntityEnterpriseContext instance)
throws Exception
createEntity in interface org.jboss.ejb.EntityPersistenceManagerm - the create method in the home interface that was
calledargs - any create parametersinstance - the instance being used for this create call
Exception
public void postCreateEntity(Method m,
Object[] args,
org.jboss.ejb.EntityEnterpriseContext instance)
throws Exception
postCreateEntity in interface org.jboss.ejb.EntityPersistenceManagerException
public Object findEntity(Method finderMethod,
Object[] args,
org.jboss.ejb.EntityEnterpriseContext instance,
org.jboss.ejb.GenericEntityObjectFactory factory)
throws Exception
findEntity in interface org.jboss.ejb.EntityPersistenceManagerfinderMethod - the find method in the home interface that was
calledargs - any finder parametersinstance - the instance to use for the finder call
Exception
public Collection findEntities(Method finderMethod,
Object[] args,
org.jboss.ejb.EntityEnterpriseContext instance,
org.jboss.ejb.GenericEntityObjectFactory factory)
throws Exception
findEntities in interface org.jboss.ejb.EntityPersistenceManagerfinderMethod - the find method in the home interface that was
calledargs - any finder parametersinstance - the instance to use for the finder call
Exception
public void activateEntity(org.jboss.ejb.EntityEnterpriseContext instance)
throws RemoteException
activateEntity in interface org.jboss.ejb.EntityPersistenceManagerinstance - the instance to use for the activation
RemoteException - thrown if some system exception occurs
public void loadEntity(org.jboss.ejb.EntityEnterpriseContext instance)
throws RemoteException
loadEntity in interface org.jboss.ejb.EntityPersistenceManagerinstance - the instance to synchronize
RemoteException - thrown if some system exception occurs
public boolean isStoreRequired(org.jboss.ejb.EntityEnterpriseContext instance)
throws Exception
isStoreRequired in interface org.jboss.ejb.EntityPersistenceManagerinstance - the instance to check
Exception - thrown if some system exception occurs
public boolean isModified(org.jboss.ejb.EntityEnterpriseContext ctx)
throws Exception
isModified in interface org.jboss.ejb.EntityPersistenceManagerException
public void storeEntity(org.jboss.ejb.EntityEnterpriseContext ctx)
throws RemoteException
storeEntity in interface org.jboss.ejb.EntityPersistenceManagerRemoteException - thrown if some system exception occurs
public void invokeEjbStore(org.jboss.ejb.EntityEnterpriseContext ctx)
throws RemoteException
invokeEjbStore in interface org.jboss.ejb.EntityPersistenceManagerRemoteException
public void passivateEntity(org.jboss.ejb.EntityEnterpriseContext instance)
throws RemoteException
passivateEntity in interface org.jboss.ejb.EntityPersistenceManagerinstance - the instance to passivate
RemoteException - thrown if some system exception occurs
public void removeEntity(org.jboss.ejb.EntityEnterpriseContext instance)
throws RemoteException,
javax.ejb.RemoveException
removeEntity in interface org.jboss.ejb.EntityPersistenceManagerinstance - the instance to remove
RemoteException - thrown if some system exception occurs
javax.ejb.RemoveException - thrown if the instance could not be removed
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||