org.objectweb.jonas_ejb.genic.Source Class Reference

List of all members.

Package Functions

 Source (BeanDesc beanDesc, String fileName, int type, VelocityEngine ve) throws GenICException
void generate () throws GenICException

Static Package Attributes

final int HOME = 0
final int LOCAL_HOME = 1
final int REMOTE = 2
final int LOCAL = 3
final int ENTITY_HANDLE = 4
final int ENTITY_CMP_JDBC = 5
final int ITF_COH_CMP2_ENTITY = 7
final int CLUSTER_HOME = 8
final int SERVICE_ENDPOINT = 9
final int SERVICE_ENDPOINT_HOME = 10

Detailed Description

This class allows to generate the source 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, or the extended class of the Bean for persistence in case of entity with CMP, via a Velocity template of the given Enterprise Java Bean.
Author:
Helene Joanin : Initial developer

Definition at line 59 of file Source.java.


Constructor & Destructor Documentation

org.objectweb.jonas_ejb.genic.Source.Source BeanDesc  beanDesc,
String  fileName,
int  type,
VelocityEngine  ve
throws GenICException [package]
 

Source Constructor

Parameters:
beanDesc deployment descriptor of the bean
fileName name of the source file to generate
type source's type (HOME, LOCAL_HOME, REMOTE, ...)
ve Velocity engine to use
Exceptions:
GenICException In error case

Definition at line 140 of file Source.java.


Member Function Documentation

void org.objectweb.jonas_ejb.genic.Source.generate  )  throws GenICException [package]
 

Generates the java source

Exceptions:
GenICException in error case

Definition at line 159 of file Source.java.

Referenced by org.objectweb.jonas_ejb.genic.BeanSources.generate().


Member Data Documentation

final int org.objectweb.jonas_ejb.genic.Source.CLUSTER_HOME = 8 [static, package]
 

cluster home source

Definition at line 92 of file Source.java.

final int org.objectweb.jonas_ejb.genic.Source.ENTITY_CMP_JDBC = 5 [static, package]
 

CMP1 or CMP2 entity bean source

Definition at line 84 of file Source.java.

final int org.objectweb.jonas_ejb.genic.Source.ENTITY_HANDLE = 4 [static, package]
 

entity handle source

Definition at line 80 of file Source.java.

final int org.objectweb.jonas_ejb.genic.Source.HOME = 0 [static, package]
 

home source

Definition at line 64 of file Source.java.

final int org.objectweb.jonas_ejb.genic.Source.ITF_COH_CMP2_ENTITY = 7 [static, package]
 

interface coherence source for CMP2 entity

Definition at line 88 of file Source.java.

final int org.objectweb.jonas_ejb.genic.Source.LOCAL = 3 [static, package]
 

local source

Definition at line 76 of file Source.java.

final int org.objectweb.jonas_ejb.genic.Source.LOCAL_HOME = 1 [static, package]
 

local home source

Definition at line 68 of file Source.java.

final int org.objectweb.jonas_ejb.genic.Source.REMOTE = 2 [static, package]
 

remote source

Definition at line 72 of file Source.java.

final int org.objectweb.jonas_ejb.genic.Source.SERVICE_ENDPOINT = 9 [static, package]
 

service endpoint source

Definition at line 96 of file Source.java.

final int org.objectweb.jonas_ejb.genic.Source.SERVICE_ENDPOINT_HOME = 10 [static, package]
 

service endpoint home source

Definition at line 100 of file Source.java.


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