Inheritance diagram for org.objectweb.jonas_ejb.deployment.api.BeanDesc:
Public Member Functions | |
BeanDesc (ClassLoader classLoader, CommonEjb ejb, JonasCommonEjb jonasEjb, AssemblyDescriptor asd, JLinkedList jMDRList, String fileName) throws DeploymentDescException | |
void | checkRemoteException (java.lang.reflect.Method m, boolean shouldThrow) throws DeploymentDescException |
void | checkValidTypesForRmi (java.lang.reflect.Method m) |
void | check () throws DeploymentDescException |
void | checkRunAsMapping () throws DeploymentDescException |
String | getEjbName () |
String | getJndiName () |
String | getJndiLocalName () |
Class | getHomeClass () |
Class | getRemoteClass () |
Class | getLocalHomeClass () |
Class | getLocalClass () |
Class | getEjbClass () |
Properties | getEjb10Environment () |
MethodDesc | getMethodDesc (java.lang.reflect.Method method) |
Iterator | getMethodDescIterator () |
MethodDesc | getMethodDesc (int index) |
List | getSecurityRoleRefDescList () |
int | getPoolMin () |
int | getCacheMax () |
String | getRunAsRole () |
int | getTimerTxAttribute () |
String | getEjbTimeoutSignature () |
BeanFactory | getBeanFactory () |
void | setBeanFactory (BeanFactory factory) |
String | toString () |
String | getFullWrpRemoteName () |
String | getFullWrpLocalName () |
String | getWrpRemoteName () |
String | getWrpLocalName () |
String | getFullWrpHandleName () |
String | getWrpHandleName () |
String | getFullWrpHomeName () |
String | getFullWrpLocalHomeName () |
String | getWrpHomeName () |
String | getWrpLocalHomeName () |
String | getFullDerivedBeanName () |
String | getDerivedBeanName () |
DeploymentDesc | getDeploymentDesc () |
void | setDeploymentDesc (DeploymentDesc deploymentDesc) |
String | getRunAsPrincipalName () |
boolean | hasDefinedLocalInterface () |
SasComponent | getSasComponent () |
void | setSasComponent (SasComponent sasComponent) |
Protected Member Functions | |
void | loadExtraClasses (CommonEjb ce, ClassLoader loader) throws DeploymentDescException |
int | addEJBMethodDesc (int len) throws DeploymentDescException |
Class | getParentClass (String intfType) throws DeploymentDescException |
String | getHashCodeForIdentifier () |
String | getIdentifier () |
abstract void | checkTxAttribute (MethodDesc md) throws DeploymentDescException |
void | verifyRoleName (AssemblyDescriptor asd) throws DeploymentDescException |
MethodDesc | newMethodDescInstance (java.lang.reflect.Method meth, int index) |
MethodDesc | addMethodDesc (java.lang.reflect.Method meth) |
Protected Attributes | |
String | ejbName = null |
String | jndiName = null |
String | jndiLocalName = null |
Class | home = null |
Class | remote = null |
Class | localhome = null |
Class | local = null |
Class | ejbClass = null |
Properties | ejb10EnvProps = new Properties() |
Logger | logger = null |
List | securityRoleRefDescList = null |
DeploymentDesc | deploymentDesc = null |
String | fullDerivedBeanName = null |
String | derivedBeanName = null |
int | poolMin = 0 |
int | cacheMax = 0 |
BeanFactory | bf = null |
Static Protected Attributes | |
final int | BEAN_TRANSACTION_TYPE = 1 |
final int | CONTAINER_TRANSACTION_TYPE = 2 |
Helene Joanin
Jeff Mesnil
Philippe Coq
Florent Benoit & Ludovic Bert : ejb_link
Definition at line 98 of file BeanDesc.java.
|
Here is the call graph for this function:
|
Permit Methods addition from subtypes Protected method that need to be overridden in subclasses
Reimplemented in org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc. Definition at line 775 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.deployment.api.BeanDesc.BeanDesc(). |
|
Add a new method descriptor to the bean
Definition at line 1260 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc.addEJBMethodDesc(), and org.objectweb.jonas_ejb.deployment.api.BeanDesc.BeanDesc(). |
|
Check that the bean descriptor is valid
Reimplemented in org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc, org.objectweb.jonas_ejb.deployment.api.SessionDesc, and org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc. Definition at line 906 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.deployment.api.DeploymentDesc.DeploymentDesc(), and org.objectweb.jonas_ejb.deployment.api.DeploymentDescEjb2.DeploymentDescEjb2(). |
|
Check if method throws RemoteException (or not).
Definition at line 850 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc.addEJBMethodDesc(), and org.objectweb.jonas_ejb.deployment.api.BeanDesc.BeanDesc(). |
|
Check that the runAs role mapping is correct
Definition at line 918 of file BeanDesc.java. |
|
Check that trans-attribute is valid for a bean's method.
Implemented in org.objectweb.jonas_ejb.deployment.api.EntityDesc, org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc, and org.objectweb.jonas_ejb.deployment.api.SessionDesc. |
|
Check if argument and return types are valid types for RMI-IIOP. (Primitive types, remote objects, or non-remote objects that implement the java.io.Serializable interface) Only a warning is logging if it's not the case.
Definition at line 879 of file BeanDesc.java. |
|
Definition at line 1153 of file BeanDesc.java. Referenced by org.objectweb.jonas.container.EJBServiceImpl.createContainer(). |
|
Definition at line 1125 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.container.JEntityFactory.init(), org.objectweb.jonas_ejb.container.JMdbFactory.JMdbFactory(), org.objectweb.jonas_ejb.container.JStatelessFactory.JStatelessFactory(), and org.objectweb.jonas_ejb.deployment.api.EntityDesc.toString(). |
|
Definition at line 1354 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.container.JFactory.checkSecurity(), org.objectweb.jonas_ejb.lib.EjbqlQueryTreeHolder.EjbqlQueryTreeHolder(), and org.objectweb.jonas_ejb.genic.VcParam.VcParam(). |
|
Definition at line 1347 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.genic.BeanSources.BeanSources(), and org.objectweb.jonas_ejb.genic.VContextFactory.create(). |
|
Get bean's EJB 1.0 environment properties.
Definition at line 1066 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.container.JFactory.init(). |
|
Get bean's class. Used by GenIC and Server
Definition at line 1057 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.genic.VContextFactory.create(), org.objectweb.jonas_ejb.deployment.api.EntityCmpDesc.EntityCmpDesc(), and org.objectweb.jonas_ws.deployment.api.SSBPortComponentDesc.setSessionStatelessDesc(). |
|
Get the enterprise bean's name.
Definition at line 987 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.container.JContainer.addBean(), org.objectweb.jonas_ejb.deployment.api.SessionDesc.checkTxAttribute(), org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.checkTxAttribute(), org.objectweb.jonas_ejb.deployment.api.EntityDesc.checkTxAttribute(), org.objectweb.jonas.container.EJBServiceImpl.createContainer(), org.objectweb.jonas_ejb.deployment.api.DeploymentDesc.DeploymentDesc(), org.objectweb.jonas_ejb.deployment.api.DeploymentDescEjb2.DeploymentDescEjb2(), org.objectweb.jonas_lib.genbase.archive.Ejb.Ejb(), org.objectweb.jonas_ejb.deployment.api.EntityDesc.EntityDesc(), org.objectweb.jonas_ejb.genidl.GenIDL.GenIDL(), org.objectweb.jonas_ejb.genic.BeanSources.getEjbName(), org.objectweb.jonas_ejb.deployment.lib.EjbDeploymentDescManager.getJndiName(), org.objectweb.jonas_ejb.container.jorm.JormFactory.init(), org.objectweb.jonas_ejb.container.JFactory.init(), org.objectweb.jonas_lib.genbase.archive.EjbJar.initialize(), org.objectweb.jonas_ejb.container.JMdbFactory.JMdbFactory(), org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.MessageDrivenDesc(), org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc.SessionStatelessDesc(), org.objectweb.jonas_ejb.genic.VcMethod.VcMethod(), and org.objectweb.jonas_ejb.genic.VcParam.VcParam(). |
|
Definition at line 1146 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.container.JFactory.init(). |
|
Definition at line 1340 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.genic.BeanSources.BeanSources(), org.objectweb.jonas_ejb.genic.VContextFactory.create(), org.objectweb.jonas_ejb.genic.VcCMRField.getHelperFQClassName(), org.objectweb.jonas_ejb.genic.VcCMRField.getOppositeHelperFQClassName(), and org.objectweb.jonas_ejb.container.JFactory.init(). |
|
Definition at line 1298 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.genic.VContextFactory.create(). |
|
Definition at line 1312 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.genic.BeanSources.BeanSources(), org.objectweb.jonas_ejb.genic.VContextFactory.create(), org.objectweb.jonas_ejb.genic.BeanSources.getWrpHomeClassName(), org.objectweb.jonas_ejb.container.JFactory.init(), org.objectweb.jonas_ejb.container.JEntityFactory.init(), and org.objectweb.jonas_ejb.container.JSessionFactory.JSessionFactory(). |
|
Definition at line 1319 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.genic.BeanSources.BeanSources(), org.objectweb.jonas_ejb.genic.VContextFactory.create(), org.objectweb.jonas_ejb.container.JFactory.init(), org.objectweb.jonas_ejb.container.JEntityFactory.init(), and org.objectweb.jonas_ejb.container.JSessionFactory.JSessionFactory(). |
|
Definition at line 1277 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.genic.BeanSources.BeanSources(), and org.objectweb.jonas_ejb.genic.VContextFactory.create(). |
|
Definition at line 1270 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.genic.BeanSources.BeanSources(), org.objectweb.jonas_ejb.genic.VContextFactory.create(), and org.objectweb.jonas_ejb.genic.BeanSources.getWrpRemoteClassName(). |
|
Gets an hashcode for this bean Return hashcode for jndiname + jndi localname
Definition at line 810 of file BeanDesc.java. References org.objectweb.jonas_ejb.deployment.api.MethodDesc.toString(). |
Here is the call graph for this function:
|
Get bean's home interface. Invoking this method is disallowed for message driven bean. Used by GenIC and Server
Definition at line 1018 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.genic.BeanSources.BeanSources(), org.objectweb.jonas_ejb.genic.VContextFactory.create(), org.objectweb.jonas_ejb.genidl.GenIDL.GenIDL(), and org.objectweb.jonas_ejb.container.JHome.getEJBMetaData(). |
|
Build a valid java identifier for the bean.
Definition at line 825 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.deployment.api.EntityCmpDesc.EntityCmpDesc(), and org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc.SessionStatelessDesc(). |
|
Get the name to associate with the enterprise Bean in the JNDI name space for local access (inside the same JOnAS Server)
Definition at line 1008 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.deployment.lib.EjbDeploymentDescManager.getJndiName(), org.objectweb.jonas_ejb.container.JLocalHome.register(), and org.objectweb.jonas_ejb.container.JLocalHome.unregister(). |
|
Get the name to associate with the enterprise Bean in the JNDI name space. Invoking this method is disallowed for message driven bean. (This information is JOnAS specific). Used by Server
Definition at line 998 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.container.JHome.getHomeHandle(), org.objectweb.jonas_ejb.deployment.lib.EjbDeploymentDescManager.getJndiName(), org.objectweb.jonas_ejb.container.JHome.getJndiName(), org.objectweb.jonas_ejb.container.JHome.register(), org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc.SessionStatelessDesc(), and org.objectweb.jonas_ejb.container.JHome.unregister(). |
|
Get bean's local interface. Invoking this method is disallowed for message driven bean. Used by GenIC and Server
Definition at line 1048 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.genic.BeanSources.BeanSources(), org.objectweb.jonas_ejb.genic.VContextFactory.create(), org.objectweb.jonas_ejb.deployment.api.DeploymentDescEjb2.DeploymentDescEjb2(), org.objectweb.jonas_ejb.deployment.api.DeploymentDesc.getBeanDescWithLocalInterface(), and org.objectweb.jonas_ejb.deployment.api.EjbRelationshipRoleDesc.setTargetBean(). |
|
Get bean's local home interface. Invoking this method is disallowed for message driven bean. Used by GenIC and Server
Definition at line 1038 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.genic.BeanSources.BeanSources(), org.objectweb.jonas_ejb.genic.VContextFactory.create(), and org.objectweb.jonas_ejb.deployment.api.DeploymentDescEjb2.DeploymentDescEjb2(). |
|
get a MethodDesc from its index.
Definition at line 1101 of file BeanDesc.java. |
|
Get descriptor attached to a given method. Used by GenIC and JMdbEndpointFactory
Definition at line 1077 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.genic.VContextFactory.create(), and org.objectweb.jonas_ejb.container.JMdbEndpointFactory.isDeliveryTransacted(). |
|
get an iterator for all MethodDesc of the bean.
Definition at line 1090 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.deployment.api.EntityCmp2Desc.EntityCmp2Desc(), org.objectweb.jonas_ejb.deployment.api.EntityDesc.EntityDesc(), org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp1Desc.EntityJdbcCmp1Desc(), org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.MessageDrivenDesc(), and org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc.SessionStatelessDesc(). |
|
Returns the parent Class for a method given an interface type.
Reimplemented in org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc. Definition at line 789 of file BeanDesc.java. |
|
Definition at line 1118 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.container.JEntityFactory.init(), org.objectweb.jonas_ejb.container.JMdbFactory.JMdbFactory(), org.objectweb.jonas_ejb.container.JStatelessFactory.JStatelessFactory(), and org.objectweb.jonas_ejb.deployment.api.EntityDesc.toString(). |
|
Get bean's remote interface. Invoking this method is disallowed for message driven bean. Used by GenIC and Server
Definition at line 1028 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.genic.BeanSources.BeanSources(), org.objectweb.jonas_ejb.genic.VContextFactory.create(), org.objectweb.jonas_ejb.genidl.GenIDL.GenIDL(), and org.objectweb.jonas_ejb.container.JHome.getEJBMetaData(). |
|
Definition at line 1427 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.container.JFactory.checkSecurity(). |
|
Definition at line 1132 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.container.JFactory.checkSecurity(), org.objectweb.jonas_ejb.container.JMessageEndpoint.getCallerPrincipal(), org.objectweb.jonas_ejb.container.JContext.getCallerPrincipal(), org.objectweb.jonas_ejb.container.JContext.isCallerInRole(), and org.objectweb.jonas_ejb.container.JFactory.postInvoke(). |
|
Definition at line 1520 of file BeanDesc.java. Referenced by org.objectweb.jonas.security.iiop.Csiv2IorInterceptor.establish_components(), and org.objectweb.jonas_ejb.container.JHome.register(). |
|
Gets the security-role-ref of the beans can access to the EJBRoleRefPermission and role-link.
Definition at line 1111 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.container.JContext.isCallerInRole(), and org.objectweb.jonas_ejb.container.PermissionManager.translateEjbSecurityRoleRef(). |
|
Definition at line 1139 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.container.JFactory.init(). |
|
Definition at line 1305 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.genic.BeanSources.BeanSources(), and org.objectweb.jonas_ejb.genic.VContextFactory.create(). |
|
Definition at line 1326 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.genic.BeanSources.BeanSources(), and org.objectweb.jonas_ejb.genic.VContextFactory.create(). |
|
Definition at line 1333 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.genic.BeanSources.BeanSources(), and org.objectweb.jonas_ejb.genic.VContextFactory.create(). |
|
Definition at line 1291 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.genic.BeanSources.BeanSources(), and org.objectweb.jonas_ejb.genic.VContextFactory.create(). |
|
Definition at line 1284 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.genic.BeanSources.BeanSources(), and org.objectweb.jonas_ejb.genic.VContextFactory.create(). |
|
Definition at line 1434 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.container.JContext.getEJBLocalHome(). |
|
Permit classes loading from subtypes. (needed for Stateless Session Beans with service-endpoints). Needs to be overridden in subtypes.
Reimplemented in org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc. Definition at line 761 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.deployment.api.BeanDesc.BeanDesc(). |
|
MethodDesc constructor factory method to ovewrite
Definition at line 1249 of file BeanDesc.java. |
|
Set the BeanFactory, when the bean is loaded in container.
Definition at line 1161 of file BeanDesc.java. Referenced by org.objectweb.jonas.container.EJBServiceImpl.createContainer(). |
|
Set the parent deployment descriptor
Definition at line 1363 of file BeanDesc.java. References org.objectweb.jonas_ejb.deployment.api.DeploymentDesc.getLogger(). Referenced by org.objectweb.jonas_ejb.deployment.api.DeploymentDesc.DeploymentDesc(), and org.objectweb.jonas_ejb.deployment.api.DeploymentDescEjb2.DeploymentDescEjb2(). |
Here is the call graph for this function:
|
Definition at line 1526 of file BeanDesc.java. |
|
String representation of the object for test purpose
Reimplemented in org.objectweb.jonas_ejb.deployment.api.EntityCmp1Desc, org.objectweb.jonas_ejb.deployment.api.EntityCmp2Desc, org.objectweb.jonas_ejb.deployment.api.EntityCmpDesc, org.objectweb.jonas_ejb.deployment.api.EntityDesc, org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp1Desc, org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp2Desc, org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc, and org.objectweb.jonas_ejb.deployment.api.SessionDesc. Definition at line 1170 of file BeanDesc.java. References org.objectweb.jonas_lib.deployment.api.SecurityRoleRefDesc.getRoleLink(), org.objectweb.jonas_lib.deployment.api.SecurityRoleRefDesc.getRoleName(), and org.objectweb.jonas_ejb.deployment.api.MethodDesc.toString(). Referenced by org.objectweb.jonas_ejb.deployment.api.MethodDesc.toString(), and org.objectweb.jonas_ejb.deployment.api.DeploymentDesc.toString(). |
Here is the call graph for this function:
|
Check that there are always corresponding role-name element in security-role and method-permission elements.
Definition at line 956 of file BeanDesc.java. References org.objectweb.jonas_ejb.deployment.api.MethodDesc.getRoleName(), and org.objectweb.jonas_ejb.deployment.xml.MethodPermission.getRoleNameList(). |
Here is the call graph for this function:
|
Bean transaction type Definition at line 103 of file BeanDesc.java. |
|
BeanFactory when the bean has been loaded. Definition at line 287 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.container.JLocalHome.JLocalHome(), and org.objectweb.jonas_ejb.container.JServiceEndpointHome.JServiceEndpointHome(). |
|
Maximum Bean Cache size Definition at line 273 of file BeanDesc.java. |
|
Container transaction type Definition at line 108 of file BeanDesc.java. |
|
DeploymentDesc parent of this BeanDesc Definition at line 193 of file BeanDesc.java. |
|
Bean classname Definition at line 253 of file BeanDesc.java. |
|
EJB 1.0 Environment as Properties Definition at line 168 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.deployment.api.BeanDesc.BeanDesc(). |
|
Bean Class Definition at line 163 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.deployment.api.BeanDesc.BeanDesc(). |
|
name of the Bean Definition at line 128 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.deployment.api.BeanDesc.BeanDesc(). |
|
Bean fully qualified classname Definition at line 248 of file BeanDesc.java. |
|
Home Class Definition at line 143 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.deployment.api.BeanDesc.BeanDesc(). |
|
JNDI local name of the Bean Definition at line 138 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.deployment.api.BeanDesc.BeanDesc(). |
|
JNDI name of the Bean Definition at line 133 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.deployment.api.BeanDesc.BeanDesc(). |
|
Local Class Definition at line 158 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.deployment.api.BeanDesc.BeanDesc(). |
|
LocalHome Class Definition at line 153 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.deployment.api.BeanDesc.BeanDesc(). |
|
logger Definition at line 173 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.container.jorm.MedorFactory.init(), org.objectweb.jonas_ejb.container.JEntityFactory.init(), org.objectweb.jonas_ejb.container.JContext.isCallerInRole(), and org.objectweb.jonas_ejb.deployment.api.DeploymentDesc.setLogger(). |
|
Minimum Bean Pool size Definition at line 268 of file BeanDesc.java. |
|
Remote Class Definition at line 148 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.deployment.api.BeanDesc.BeanDesc(). |
|
List of SecurityRoleRefDesc for JACC Definition at line 188 of file BeanDesc.java. Referenced by org.objectweb.jonas_ejb.deployment.api.BeanDesc.BeanDesc(). |