org.objectweb.jonas_ejb.genic.BeanSources Class Reference

List of all members.

Public Member Functions

 BeanSources (BeanDesc beanDesc, String dirOutputName, VelocityEngine ve, JormCompiler jormCompiler) throws GenICException
 BeanSources (BeanDesc beanDesc, String dirOutputName, VelocityEngine ve) throws GenICException
void generate () throws GenICException
String getEjbName ()
String getWrpHomeFileName ()
String getWrpHomeClusterConfFileName ()
String getWrpRemoteFileName ()
String getWrpRemoteClassName ()
String getWrpServiceEndpointFileName ()
String getWrpSEHomeFileName ()
String getWrpServiceEndpointClassName ()
String getWrpHomeClassName ()
Collection getNoRemoteJavas ()

Detailed Description

This class allows to generate the sources of: the class that implements the Enterprise bean's remote interface, the class that implements the Enterprise bean's home interface, the class that implements the Enterprise bean's local interface, the class that implements the Enterprise bean's localhome interface, the class of the Entity Handle in case of entity, and the extended class of the Bean for persistence in case of entity with CMP, of a given Enterprise Java Bean.
Author:
Helene Joanin : Initial developer

Philippe Durieux

Sebastien Chassande

Definition at line 63 of file BeanSources.java.


Constructor & Destructor Documentation

org.objectweb.jonas_ejb.genic.BeanSources.BeanSources BeanDesc  beanDesc,
String  dirOutputName,
VelocityEngine  ve,
JormCompiler  jormCompiler
throws GenICException
 

BeanSources Constructor for entity bean with CMP2

Parameters:
beanDesc deployment descriptor of the bean
dirOutputName path of the directory where to place the generated files (empty string "" if the output directory is the current directory)
ve the Velocity engine
jormCompiler the JROM compiler
Exceptions:
GenICException In error case

Definition at line 170 of file BeanSources.java.

org.objectweb.jonas_ejb.genic.BeanSources.BeanSources BeanDesc  beanDesc,
String  dirOutputName,
VelocityEngine  ve
throws GenICException
 

BeanSources Constructor for bean that is not a entity with CMP2

Parameters:
beanDesc deployment descriptor of the bean
dirOutputName path of the directory where to place the generated files (empty string "" if the output directory is the current directory)
ve the Velocity engine
Exceptions:
GenICException In error case

Definition at line 185 of file BeanSources.java.

References org.objectweb.jonas_ejb.deployment.api.BeanDesc.getDerivedBeanName(), 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.getFullWrpLocalName(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getFullWrpRemoteName(), org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc.getFullWrpSEHomeName(), org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc.getFullWrpServiceEndpointName(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getHomeClass(), org.objectweb.jonas_ejb.deployment.api.EntityCmp2Desc.getJormCoherenceHelperFQItfName(), org.objectweb.jonas_ejb.deployment.api.EntityCmp2Desc.getJormCoherenceHelperItfName(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getLocalClass(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getLocalHomeClass(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getRemoteClass(), org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc.getServiceEndpointClass(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getWrpHandleName(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getWrpHomeName(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getWrpLocalHomeName(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getWrpLocalName(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getWrpRemoteName(), org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc.getWrpSEHomeName(), org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc.getWrpServiceEndpointName(), and org.objectweb.jonas_ejb.deployment.api.EntityCmp2Desc.needJormCoherenceHelper().

Here is the call graph for this function:


Member Function Documentation

void org.objectweb.jonas_ejb.genic.BeanSources.generate  )  throws GenICException
 

Generates the java sources

Exceptions:
GenICException in error case

Definition at line 318 of file BeanSources.java.

References org.objectweb.jonas_ejb.genic.Source.generate(), org.objectweb.jonas_ejb.deployment.api.EntityCmp2Desc.getJormList(), and org.objectweb.jonas_ejb.deployment.api.EntityDesc.getLockPolicy().

Referenced by org.objectweb.jonas_ejb.genic.GenIC.GenIC().

Here is the call graph for this function:

String org.objectweb.jonas_ejb.genic.BeanSources.getEjbName  ) 
 

Returns:
Return the bean's name

Definition at line 378 of file BeanSources.java.

References org.objectweb.jonas_ejb.deployment.api.BeanDesc.getEjbName().

Referenced by org.objectweb.jonas_ejb.genic.GenIC.GenIC().

Here is the call graph for this function:

Collection org.objectweb.jonas_ejb.genic.BeanSources.getNoRemoteJavas  ) 
 

Returns:
Returns the list of the sources that are not Remote

Definition at line 452 of file BeanSources.java.

Referenced by org.objectweb.jonas_ejb.genic.GenIC.GenIC().

String org.objectweb.jonas_ejb.genic.BeanSources.getWrpHomeClassName  ) 
 

Returns:
Return the class name of the generated source for the Home (package included)

Definition at line 445 of file BeanSources.java.

References org.objectweb.jonas_ejb.deployment.api.BeanDesc.getFullWrpHomeName().

Referenced by org.objectweb.jonas_ejb.genic.GenIC.GenIC().

Here is the call graph for this function:

String org.objectweb.jonas_ejb.genic.BeanSources.getWrpHomeClusterConfFileName  ) 
 

Returns:
Return the file name of the cluster configuration for the Home (null if none)

Definition at line 394 of file BeanSources.java.

Referenced by org.objectweb.jonas_ejb.genic.GenIC.GenIC().

String org.objectweb.jonas_ejb.genic.BeanSources.getWrpHomeFileName  ) 
 

Returns:
Return the file name of the generated source for the Home (null if none)

Definition at line 386 of file BeanSources.java.

Referenced by org.objectweb.jonas_ejb.genic.GenIC.GenIC().

String org.objectweb.jonas_ejb.genic.BeanSources.getWrpRemoteClassName  ) 
 

Returns:
Return the class name of the generated source for the Remote (package included)

Definition at line 410 of file BeanSources.java.

References org.objectweb.jonas_ejb.deployment.api.BeanDesc.getFullWrpRemoteName().

Referenced by org.objectweb.jonas_ejb.genic.GenIC.GenIC().

Here is the call graph for this function:

String org.objectweb.jonas_ejb.genic.BeanSources.getWrpRemoteFileName  ) 
 

Returns:
Return the file name of the generated source for the Remote (null if none)

Definition at line 402 of file BeanSources.java.

Referenced by org.objectweb.jonas_ejb.genic.GenIC.GenIC().

String org.objectweb.jonas_ejb.genic.BeanSources.getWrpSEHomeFileName  ) 
 

Returns:
Return the file name of the generated source for the ServiceEndpointHome (null if none)

Definition at line 426 of file BeanSources.java.

String org.objectweb.jonas_ejb.genic.BeanSources.getWrpServiceEndpointClassName  ) 
 

Returns:
Return the class name of the generated source for the ServiceEndpoint (package included)

Definition at line 434 of file BeanSources.java.

Referenced by org.objectweb.jonas_ejb.genic.GenIC.GenIC().

String org.objectweb.jonas_ejb.genic.BeanSources.getWrpServiceEndpointFileName  ) 
 

Returns:
Return the file name of the generated source for the ServiceEndpoint (null if none)

Definition at line 418 of file BeanSources.java.

Referenced by org.objectweb.jonas_ejb.genic.GenIC.GenIC().


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