org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc Class Reference

Inherits org.objectweb.jonas_ejb.deployment.api.SessionDesc.

Inheritance diagram for org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SessionStatelessDesc (ClassLoader classLoader, Session ses, AssemblyDescriptor asd, JonasSession jSes, JLinkedList jMDRList, String filename) throws DeploymentDescException
void check () throws DeploymentDescException
Class getServiceEndpointClass ()
String getJndiServiceEndpointName ()
String getFullWrpServiceEndpointName ()
String getWrpServiceEndpointName ()
String getFullWrpSEHomeName ()
String getWrpSEHomeName ()

Protected Member Functions

int addEJBMethodDesc (int len) throws DeploymentDescException
void loadExtraClasses (CommonEjb bd, ClassLoader classLoader) throws DeploymentDescException
Class getParentClass (String intfType) throws DeploymentDescException

Detailed Description

class to hold meta-information related to a stateless session bean.

Author:
Christophe Ney [cney@batisseurs.com] : Initial developer

Helene Joanin

Definition at line 46 of file SessionStatelessDesc.java.


Constructor & Destructor Documentation

org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc.SessionStatelessDesc ClassLoader  classLoader,
Session  ses,
AssemblyDescriptor  asd,
JonasSession  jSes,
JLinkedList  jMDRList,
String  filename
throws DeploymentDescException
 

constructor: called when the DeploymentDescriptor is read. Currently, called by both GenIC and createContainer.

Parameters:
classLoader ClassLoader to load Bean's classes
ses XML Element for session standard deployment descriptor
asd Assembly Descriptor of the EjbJar
jSes XML Element for session jonas deployment descriptor
filename bean's jar filename
Exceptions:
DeploymentDescException When SessionDesc cannot be instanciated

Definition at line 87 of file SessionStatelessDesc.java.

References org.objectweb.jonas_ejb.deployment.api.BeanDesc.getEjbName(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getIdentifier(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getJndiName(), org.objectweb.jonas_ejb.deployment.api.MethodDesc.getMethod(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getMethodDescIterator(), org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc.getServiceEndpointClass(), and org.objectweb.jonas_ejb.deployment.api.MethodDesc.getTxAttribute().

Here is the call graph for this function:


Member Function Documentation

int org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc.addEJBMethodDesc int  len  )  throws DeploymentDescException [protected]
 

Permit Methods addition from subtypes Protected method that need to be overridden in subclasses

Parameters:
len method array length
Returns:
new len value
Exceptions:
DeploymentDescException when java reflection cannot be used on classes

Reimplemented from org.objectweb.jonas_ejb.deployment.api.BeanDesc.

Definition at line 142 of file SessionStatelessDesc.java.

References org.objectweb.jonas_ejb.deployment.api.BeanDesc.addMethodDesc(), and org.objectweb.jonas_ejb.deployment.api.BeanDesc.checkRemoteException().

Here is the call graph for this function:

void org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc.check  )  throws DeploymentDescException
 

Check that the bean descriptor is valid

Exceptions:
DeploymentDescException thrown for non-valid bean

Reimplemented from org.objectweb.jonas_ejb.deployment.api.SessionDesc.

Definition at line 123 of file SessionStatelessDesc.java.

String org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc.getFullWrpSEHomeName  ) 
 

Returns:
Returns the fullWrpSEHomeName.

Definition at line 258 of file SessionStatelessDesc.java.

Referenced by org.objectweb.jonas_ejb.genic.BeanSources.BeanSources(), org.objectweb.jonas_ejb.genic.VContextFactory.create(), and org.objectweb.jonas_ejb.container.JStatelessFactory.JStatelessFactory().

String org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc.getFullWrpServiceEndpointName  ) 
 

Returns:
Returns the fullWrpServiceEndpointName.

Definition at line 244 of file SessionStatelessDesc.java.

Referenced by org.objectweb.jonas_ejb.genic.BeanSources.BeanSources(), and org.objectweb.jonas_ejb.genic.VContextFactory.create().

String org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc.getJndiServiceEndpointName  ) 
 

Returns:
jndi name where ServiceEndpoint interface will be binded

Definition at line 237 of file SessionStatelessDesc.java.

Referenced by org.objectweb.jonas_ejb.container.JServiceEndpointHome.register(), org.objectweb.jonas_ejb.container.JServiceEndpointHome.unregister(), and org.objectweb.jonas_ws.wsgen.generator.axis.VcBean.VcBean().

Class org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc.getParentClass String  intfType  )  throws DeploymentDescException [protected]
 

Returns the parent Class for a method given an interface type.

Parameters:
intfType type of the interface (Home/Remote/LocalHome/Local or ServiceEndpoint)
Returns:
the parent class for a method given an interface type
Exceptions:
DeploymentDescException when intfType is unknown

Reimplemented from org.objectweb.jonas_ejb.deployment.api.BeanDesc.

Definition at line 195 of file SessionStatelessDesc.java.

Class org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc.getServiceEndpointClass  ) 
 

Returns:
Returns the serviceEndpointClass.

Definition at line 216 of file SessionStatelessDesc.java.

Referenced by org.objectweb.jonas_ejb.genic.BeanSources.BeanSources(), org.objectweb.jonas_ejb.genic.VContextFactory.create(), org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc.SessionStatelessDesc(), and org.objectweb.jonas_ws.wsgen.generator.axis.VcBean.VcBean().

String org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc.getWrpSEHomeName  ) 
 

Returns:
Returns the wrpSEHomeName.

Definition at line 265 of file SessionStatelessDesc.java.

Referenced by org.objectweb.jonas_ejb.genic.BeanSources.BeanSources(), and org.objectweb.jonas_ejb.genic.VContextFactory.create().

String org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc.getWrpServiceEndpointName  ) 
 

Returns:
Returns the wrpServiceEndpointName.

Definition at line 251 of file SessionStatelessDesc.java.

Referenced by org.objectweb.jonas_ejb.genic.BeanSources.BeanSources(), and org.objectweb.jonas_ejb.genic.VContextFactory.create().

void org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc.loadExtraClasses CommonEjb  bd,
ClassLoader  classLoader
throws DeploymentDescException [protected]
 

load class for service-endpoint

Parameters:
bd XML Element representing EJB Descriptor
classLoader ClassLoader used to load classes
Exceptions:
DeploymentDescException when a class cannot be loaded

Reimplemented from org.objectweb.jonas_ejb.deployment.api.BeanDesc.

Definition at line 165 of file SessionStatelessDesc.java.

References org.objectweb.jonas_ejb.deployment.xml.Session.getServiceEndpoint().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:11:28 2005 for JOnAS by  doxygen 1.3.9.1