Inherited by org.objectweb.jonas_ejb.container.JEntityFactory, org.objectweb.jonas_ejb.container.JMdbEndpointFactory, org.objectweb.jonas_ejb.container.JMdbFactory, and org.objectweb.jonas_ejb.container.JSessionFactory.
Inheritance diagram for org.objectweb.jonas_ejb.container.JFactory:
Public Member Functions | |
JFactory () | |
JFactory (BeanDesc dd, JContainer cont) | |
void | init (BeanDesc dd, JContainer cont) |
abstract void | initInstancePool () |
String | getEJBName () |
abstract int | getPoolSize () |
BeanDesc | getDeploymentDescriptor () |
TransactionManager | getTransactionManager () |
JContainer | getContainer () |
Hashtable | getEnv () |
InitialContext | getInitialContext () |
abstract TimerService | getTimerService () |
Properties | getEjb10Environment () |
boolean | isTxBeanManaged () |
Context | setComponentContext () |
void | resetComponentContext (Context oldctx) |
int | getTimerTxAttribute () |
String | getEjbTimeoutSignature () |
void | checkSecurity (EJBInvocation ejbInv) |
RequestCtx | preInvoke (int txa) |
void | postInvoke (RequestCtx rctx) |
RequestCtx | preInvokeRemote (int txa) throws RemoteException |
void | postInvokeRemote (RequestCtx rctx) throws RemoteException |
ClassLoader | myClassLoader () |
Protected Member Functions | |
boolean | isClassAvailable (String className, boolean unique) |
void | checkTransactionContainer (RequestCtx rctx) |
void | checkJonasVersion (String clName) |
Protected Attributes | |
int | timerTxAttr |
String | ejbTimeoutSignature |
Package Functions | |
abstract void | checkTransaction (RequestCtx rctx) |
Florent Benoit (JACC security)
Definition at line 74 of file JFactory.java.
|
constructor (for entity) must be without parameters (required by Jorm) Definition at line 110 of file JFactory.java. |
|
constructor (for session)
Definition at line 119 of file JFactory.java. References org.objectweb.jonas_ejb.container.JFactory.init(). |
Here is the call graph for this function:
|
Check if the given class have been generated by GenIC tool with a correct version. Trace an error message, if not.
Definition at line 768 of file JFactory.java. References org.objectweb.jonas_ejb.container.JContainer.getClassLoader(), and org.objectweb.jonas_ejb.container.JContainer.getFileName(). Referenced by org.objectweb.jonas_ejb.container.JFactory.init(). |
Here is the call graph for this function:
|
Here is the call graph for this function:
|
check Transaction attribute
Implemented in org.objectweb.jonas_ejb.container.JEntityFactory, org.objectweb.jonas_ejb.container.JMdbEndpointFactory, org.objectweb.jonas_ejb.container.JMdbFactory, and org.objectweb.jonas_ejb.container.JSessionFactory. Referenced by org.objectweb.jonas_ejb.container.JFactory.preInvoke(). |
|
Process Transaction Attribute before calling a business method
Definition at line 685 of file JFactory.java. References org.objectweb.jonas_ejb.container.RequestCtx.clientTx, org.objectweb.jonas_ejb.container.RequestCtx.currTx, org.objectweb.jonas_ejb.container.RequestCtx.mustCommit, and org.objectweb.jonas_ejb.container.RequestCtx.txAttr. Referenced by org.objectweb.jonas_ejb.container.JSessionFactory.checkTransaction(), and org.objectweb.jonas_ejb.container.JEntityFactory.checkTransaction(). |
|
Implements org.objectweb.jonas_ejb.container.BeanFactory. Definition at line 239 of file JFactory.java. Referenced by org.objectweb.jonas_ejb.container.JMessageEndpoint.getCallerPrincipal(), org.objectweb.jonas_ejb.container.JTimerService.getContainer(), org.objectweb.jonas_ejb.container.jorm.JormFactory.getJEntitySwitch(), org.objectweb.jonas.container.EntityBean.getPassivationTimeOut(), org.objectweb.jonas_ejb.container.JContext.JContext(), and org.objectweb.jonas.container.EntityBean.setPassivationTimeOut(). |
|
Get the Deployement descriptor of this Ejb
Implements org.objectweb.jonas_ejb.container.BeanFactory. Definition at line 225 of file JFactory.java. Referenced by org.objectweb.jonas.container.MessageDrivenBean.getMdbJMSAssociateDestinationName(). |
|
Definition at line 270 of file JFactory.java. Referenced by org.objectweb.jonas_ejb.container.JContext.getEnvironment(). |
|
Implements org.objectweb.jonas_ejb.container.BeanFactory. Definition at line 212 of file JFactory.java. Referenced by org.objectweb.jonas_ejb.container.JServiceEndpointHome.checkSecurity(), org.objectweb.jonas_ejb.container.JTimerService.getEjbName(), and org.objectweb.jonas_ejb.container.JContext.isCallerInRole(). |
|
Definition at line 315 of file JFactory.java. |
|
Implements org.objectweb.jonas_ejb.container.BeanFactory. Definition at line 246 of file JFactory.java. References org.objectweb.jonas_lib.naming.ContainerNaming.getEnv(). |
Here is the call graph for this function:
|
Implements org.objectweb.jonas_ejb.container.BeanFactory. Definition at line 253 of file JFactory.java. References org.objectweb.jonas_lib.naming.ContainerNaming.getInitialContext(). Referenced by org.objectweb.jonas_ejb.container.JEntityFactory.init(), org.objectweb.jonas_ejb.container.JServiceEndpointHome.register(), org.objectweb.jonas_ejb.container.JLocalHome.register(), org.objectweb.jonas_ejb.container.JServiceEndpointHome.unregister(), org.objectweb.jonas_ejb.container.JLocalHome.unregister(), and org.objectweb.jonas_ejb.container.JHome.unregister(). |
Here is the call graph for this function:
|
Implements org.objectweb.jonas_ejb.container.BeanFactory. Implemented in org.objectweb.jonas_ejb.container.JEntityFactory, org.objectweb.jonas_ejb.container.JMdbEndpointFactory, org.objectweb.jonas_ejb.container.JMdbFactory, org.objectweb.jonas_ejb.container.JStatefulFactory, and org.objectweb.jonas_ejb.container.JStatelessFactory. |
|
Implemented in org.objectweb.jonas_ejb.container.JEntityFactory, org.objectweb.jonas_ejb.container.JMdbEndpointFactory, org.objectweb.jonas_ejb.container.JMdbFactory, org.objectweb.jonas_ejb.container.JStatefulFactory, and org.objectweb.jonas_ejb.container.JStatelessFactory. Referenced by org.objectweb.jonas_ejb.container.JTimerHandle.getTimer(), org.objectweb.jonas_ejb.container.JStatelessContext.getTimerService(), and org.objectweb.jonas_ejb.container.JEntityContext.getTimerService(). |
|
Definition at line 308 of file JFactory.java. Referenced by org.objectweb.jonas_ejb.container.JMessageDrivenBean.JMessageDrivenBean(), org.objectweb.jonas_ejb.container.JStatelessFactory.notifyTimeout(), and org.objectweb.jonas_ejb.container.JEntitySwitch.notifyTimeout(). |
|
Implements org.objectweb.jonas_ejb.container.BeanFactory. Definition at line 232 of file JFactory.java. Referenced by org.objectweb.jonas_ejb.container.JContext.JContext(), org.objectweb.jonas_ejb.container.JMessageDrivenBean.JMessageDrivenBean(), org.objectweb.jonas_ejb.container.JMessageEndpoint.JMessageEndpoint(), org.objectweb.jonas_ejb.container.JMessageEndpointProxy.JMessageEndpointProxy(), org.objectweb.jonas_ejb.container.JStatefulSwitch.popConnectionList(), org.objectweb.jonas_ejb.container.JSessionHome.postInvoke(), org.objectweb.jonas_ejb.container.JSessionHome.preInvoke(), org.objectweb.jonas_ejb.container.JStatefulSwitch.pushConnectionList(), and org.objectweb.jonas_ejb.container.JStatefulSwitch.saveBeanTx(). |
|
Init this object
Definition at line 129 of file JFactory.java. References org.objectweb.jonas_ejb.container.JFactory.checkJonasVersion(), org.objectweb.jonas_lib.naming.ContainerNaming.createEnvironmentContext(), org.objectweb.jonas_ejb.container.JFactory.ejbTimeoutSignature, org.objectweb.jonas_ejb.container.JContainer.getClassLoader(), org.objectweb.jonas_ejb.container.JContainer.getContainerNaming(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getEjb10Environment(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getEjbName(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getEjbTimeoutSignature(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getFullDerivedBeanName(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getFullWrpHomeName(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getFullWrpLocalHomeName(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getTimerTxAttribute(), org.objectweb.jonas_ejb.container.JContainer.getTransactionManager(), org.objectweb.jonas_ejb.container.JContainer.setBeanEnvironment(), and org.objectweb.jonas_ejb.container.JFactory.timerTxAttr. Referenced by org.objectweb.jonas_ejb.container.JFactory.JFactory(). |
Here is the call graph for this function:
|
Init the pool of instances. Not used for stateful beans Implements org.objectweb.jonas_ejb.container.BeanFactory. Implemented in org.objectweb.jonas_ejb.container.JEntityFactory, org.objectweb.jonas_ejb.container.JMdbEndpointFactory, org.objectweb.jonas_ejb.container.JMdbFactory, org.objectweb.jonas_ejb.container.JStatefulFactory, and org.objectweb.jonas_ejb.container.JStatelessFactory. |
|
Assess availability of a class in a given class loader
Definition at line 189 of file JFactory.java. References org.objectweb.jonas_ejb.container.JContainer.getClassLoader(). |
Here is the call graph for this function:
|
Definition at line 278 of file JFactory.java. Referenced by org.objectweb.jonas_ejb.container.JMessageEndpoint.getRollbackOnly(), org.objectweb.jonas_ejb.container.JMessageEndpoint.getUserTransaction(), org.objectweb.jonas_ejb.container.JMessageDrivenBean.getUserTransaction(), org.objectweb.jonas_ejb.container.JContext.getUserTransaction(), org.objectweb.jonas_ejb.container.JStatefulSwitch.saveBeanTx(), and org.objectweb.jonas_ejb.container.JMessageEndpoint.setRollbackOnly(). |
|
Definition at line 839 of file JFactory.java. References org.objectweb.jonas_ejb.container.JContainer.getClassLoader(). Referenced by org.objectweb.jonas_ejb.container.JStatefulContext.afterCompletion(), org.objectweb.jonas_ejb.container.TxListener.beforeCompletion(), org.objectweb.jonas_ejb.container.JStatefulContext.beforeCompletion(), org.objectweb.jonas_ejb.container.JHome.getHomeHandle(), org.objectweb.jonas_ejb.container.JFactory.preInvoke(), org.objectweb.jonas_ejb.container.JEntityFactory.reduceCache(), and org.objectweb.jonas_ejb.container.JMessageDrivenBean.run(). |
Here is the call graph for this function:
|
Common postInvoke
Reimplemented in org.objectweb.jonas_ejb.container.JStatefulFactory. Definition at line 443 of file JFactory.java. References org.objectweb.jonas_ejb.container.RequestCtx.bmcalled, org.objectweb.jonas_ejb.container.RequestCtx.clientTx, org.objectweb.jonas_ejb.container.RequestCtx.cloader, org.objectweb.jonas_ejb.container.RequestCtx.currTx, org.objectweb.jonas_ejb.deployment.api.BeanDesc.getRunAsRole(), org.objectweb.security.context.SecurityCurrent.getSecurityContext(), org.objectweb.jonas_ejb.container.RequestCtx.jndiCtx, org.objectweb.jonas_ejb.container.RequestCtx.mustCommit, org.objectweb.security.context.SecurityContext.popRunAs(), org.objectweb.jonas_ejb.container.JFactory.resetComponentContext(), and org.objectweb.jonas_ejb.container.RequestCtx.sysExc. Referenced by org.objectweb.jonas_ejb.container.JServiceEndpointHome.create(), org.objectweb.jonas_ejb.container.JMessageEndpoint.deliverTimeout(), org.objectweb.jonas_ejb.container.JMessageDrivenBean.deliverTimeout(), org.objectweb.jonas_ejb.container.JServiceEndpoint.destroy(), org.objectweb.jonas_ejb.container.JStatelessFactory.notifyTimeout(), org.objectweb.jonas_ejb.container.JEntitySwitch.notifyTimeout(), org.objectweb.jonas_ejb.container.JMessageDrivenBean.onMessage(), org.objectweb.jonas_ejb.container.JSessionLocal.postInvoke(), org.objectweb.jonas_ejb.container.JLocalHome.postInvoke(), org.objectweb.jonas_ejb.container.JEntityLocal.postInvoke(), and org.objectweb.jonas_ejb.container.JFactory.postInvokeRemote(). |
Here is the call graph for this function:
|
postInvoke for Remote access
Definition at line 617 of file JFactory.java. References org.objectweb.jonas_ejb.container.JFactory.postInvoke(). Referenced by org.objectweb.jonas_ejb.container.JSessionRemote.postInvoke(), org.objectweb.jonas_ejb.container.JServiceEndpoint.postInvoke(), org.objectweb.jonas_ejb.container.JHome.postInvoke(), and org.objectweb.jonas_ejb.container.JEntityRemote.postInvoke(). |
Here is the call graph for this function:
|
Common preInvoke
Reimplemented in org.objectweb.jonas_ejb.container.JStatefulFactory. Definition at line 406 of file JFactory.java. References org.objectweb.jonas_ejb.container.JFactory.checkTransaction(), org.objectweb.jonas_ejb.container.RequestCtx.cloader, org.objectweb.jonas_ejb.container.RequestCtx.jndiCtx, org.objectweb.jonas_ejb.container.JFactory.myClassLoader(), and org.objectweb.jonas_ejb.container.JFactory.setComponentContext(). Referenced by org.objectweb.jonas_ejb.container.JServiceEndpointHome.create(), org.objectweb.jonas_ejb.container.JMessageEndpoint.deliverTimeout(), org.objectweb.jonas_ejb.container.JMessageDrivenBean.deliverTimeout(), org.objectweb.jonas_ejb.container.JServiceEndpoint.destroy(), org.objectweb.jonas_ejb.container.JStatelessFactory.notifyTimeout(), org.objectweb.jonas_ejb.container.JEntitySwitch.notifyTimeout(), org.objectweb.jonas_ejb.container.JMessageDrivenBean.onMessage(), org.objectweb.jonas_ejb.container.JSessionLocal.preInvoke(), org.objectweb.jonas_ejb.container.JSessionHome.preInvoke(), org.objectweb.jonas_ejb.container.JLocalHome.preInvoke(), org.objectweb.jonas_ejb.container.JEntityLocal.preInvoke(), and org.objectweb.jonas_ejb.container.JFactory.preInvokeRemote(). |
Here is the call graph for this function:
|
preInvoke for Remote access
Definition at line 594 of file JFactory.java. References org.objectweb.jonas_ejb.container.JFactory.preInvoke(). Referenced by org.objectweb.jonas_ejb.container.JSessionRemote.preInvoke(), org.objectweb.jonas_ejb.container.JServiceEndpoint.preInvoke(), org.objectweb.jonas_ejb.container.JHome.preInvoke(), and org.objectweb.jonas_ejb.container.JEntityRemote.preInvoke(). |
Here is the call graph for this function:
|
reset old Component Context for JNDI environment
Definition at line 298 of file JFactory.java. References org.objectweb.jonas_lib.naming.ContainerNaming.setComponentContext(). Referenced by org.objectweb.jonas_ejb.container.JStatefulContext.afterCompletion(), org.objectweb.jonas_ejb.container.TxListener.beforeCompletion(), org.objectweb.jonas_ejb.container.JStatefulContext.beforeCompletion(), org.objectweb.jonas_ejb.container.JStatelessFactory.initInstancePool(), org.objectweb.jonas_ejb.container.JEntityFactory.initInstancePool(), org.objectweb.jonas_ejb.container.JFactory.postInvoke(), org.objectweb.jonas_ejb.container.JEntityFactory.reduceCache(), org.objectweb.jonas_ejb.container.JServiceEndpointHome.resetCompCtx(), and org.objectweb.jonas_ejb.container.JEntityFactory.sync(). |
Here is the call graph for this function:
|
set the Component Context for JNDI environment
Definition at line 286 of file JFactory.java. References org.objectweb.jonas_lib.naming.ContainerNaming.setComponentContext(). Referenced by org.objectweb.jonas_ejb.container.JStatefulContext.afterCompletion(), org.objectweb.jonas_ejb.container.TxListener.beforeCompletion(), org.objectweb.jonas_ejb.container.JStatefulContext.beforeCompletion(), org.objectweb.jonas_ejb.container.JStatelessFactory.initInstancePool(), org.objectweb.jonas_ejb.container.JEntityFactory.initInstancePool(), org.objectweb.jonas_ejb.container.JFactory.preInvoke(), org.objectweb.jonas_ejb.container.JEntityFactory.reduceCache(), org.objectweb.jonas_ejb.container.JServiceEndpointHome.setCompCtx(), and org.objectweb.jonas_ejb.container.JEntityFactory.sync(). |
Here is the call graph for this function:
|
Signature for ejbTimeout Definition at line 105 of file JFactory.java. Referenced by org.objectweb.jonas_ejb.container.JFactory.init(). |
|
Transational attribute for ejbTimeout method. default is TX_REQUIRES_NEW Definition at line 100 of file JFactory.java. Referenced by org.objectweb.jonas_ejb.container.JFactory.init(). |