|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas_ejb.container.JFactory
org.objectweb.jonas_ejb.container.JSessionFactory
org.objectweb.jonas_ejb.container.JStatefulFactory
This class is a factory for a Session Stateful Bean.
Field Summary |
Fields inherited from class org.objectweb.jonas_ejb.container.JSessionFactory |
home, isStateful, isSynchro, localhome, sessionList |
Fields inherited from class org.objectweb.jonas_ejb.container.JFactory |
beanclass, cont, dd, ejb10Env, ejbname, JNDICtx, naming, tm, txbeanmanaged |
Constructor Summary | |
JStatefulFactory(SessionStatefulDesc dd,
JContainer cont,
JStatefulPool sfp)
constructor |
Method Summary | |
JSessionSwitch |
createNewSession()
Creates a new Session Stateful called back from createEJB |
JSessionContext |
getJContext()
get a new session context must call newInstance (EJB specs) => no pool should be used. |
int |
getPoolSize()
Get the size of the instance pool for this bean |
void |
postInvoke(RequestCtx rctx)
postinvoke |
RequestCtx |
preInvoke(int txa,
java.lang.String secu)
preInvoke for Session beans stateful |
void |
reduceCache()
Reduce number of instances in memory |
Methods inherited from class org.objectweb.jonas_ejb.container.JSessionFactory |
checkTransaction, createEJB, getHome, getLocalHome, getTimeout, isSessionSynchro, isStateful, removeEJB, setTimeout, stop, sync |
Methods inherited from class org.objectweb.jonas_ejb.container.JFactory |
checkJonasVersion, checkTransactionContainer, getContainer, getDeploymentDescriptor, getEjb10Environment, getEJBName, getEnv, getInitialContext, getTransactionManager, init, isClassAvailable, isTxBeanManaged, myClassLoader, postInvokeRemote, preInvokeRemote, resetComponentContext, setComponentContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JStatefulFactory(SessionStatefulDesc dd, JContainer cont, JStatefulPool sfp)
dd
- Bean Deployment Descriptorcont
- Container where the bean is definedsfp
- Pool des sessions statefulMethod Detail |
public int getPoolSize()
BeanFactory
getPoolSize
in interface BeanFactory
getPoolSize
in class JFactory
public void reduceCache()
public RequestCtx preInvoke(int txa, java.lang.String secu)
preInvoke
in class JFactory
txa
- Transaction Attribute (Supports, Required, ...)secu
- Security String that uniquely identifies the method.
javax.ejb.EJBException
public void postInvoke(RequestCtx rctx)
postInvoke
in class JFactory
rctx
- The RequestCtx that was returned at preInvoke()
javax.ejb.EJBException
public JSessionSwitch createNewSession() throws java.rmi.RemoteException
createNewSession
in class JSessionFactory
java.rmi.RemoteException
public JSessionContext getJContext()
getJContext
in class JSessionFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |