|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.generators.genic.BeanSources
public class BeanSources
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.
Constructor Summary | |
---|---|
BeanSources(BeanDesc beanDesc,
GenICParameters gp,
org.apache.velocity.app.VelocityEngine ve)
BeanSources Constructor for bean that is not a entity with CMP2 |
Method Summary | |
---|---|
void |
generate()
Generates the java sources |
String |
getEjbName()
|
Collection |
getNoRemoteJavas()
|
String |
getWrpHomeClassName()
|
String |
getWrpHomeClusterFileName()
|
String |
getWrpHomeFileName()
|
String |
getWrpRemoteClassName()
|
String |
getWrpRemoteClusterFileName()
|
String |
getWrpRemoteFileName()
|
String |
getWrpSEHomeFileName()
|
String |
getWrpServiceEndpointClassName()
|
String |
getWrpServiceEndpointFileName()
|
void |
init(org.objectweb.jorm.compiler.lib.JormCompiler jc,
org.objectweb.jorm.metainfo.api.Manager mgr)
BeanSources initialization. |
void |
jormCompile(ArrayList jormList)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeanSources(BeanDesc beanDesc, GenICParameters gp, org.apache.velocity.app.VelocityEngine ve)
beanDesc
- deployment descriptor of the beangp
- @param gp GenIC parametersve
- the Velocity engineMethod Detail |
---|
public void init(org.objectweb.jorm.compiler.lib.JormCompiler jc, org.objectweb.jorm.metainfo.api.Manager mgr) throws GenICException
jc
- mgr
-
GenICException
- In error casepublic void generate() throws GenICException
GenICException
- in error casepublic void jormCompile(ArrayList jormList) throws GenICException
GenICException
public String getEjbName()
public String getWrpHomeFileName()
public String getWrpHomeClusterFileName()
public String getWrpRemoteClusterFileName()
public String getWrpRemoteFileName()
public String getWrpRemoteClassName()
public String getWrpServiceEndpointFileName()
public String getWrpSEHomeFileName()
public String getWrpServiceEndpointClassName()
public String getWrpHomeClassName()
public Collection getNoRemoteJavas()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |