|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jonas_ejb.genic.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,
java.lang.String dirOutputName,
org.objectweb.util.monolog.api.Logger log)
GenIC Constructor |
|
BeanSources(BeanDesc beanDesc,
java.lang.String dirOutputName,
org.objectweb.jorm.metainfo.api.Manager manager,
org.objectweb.util.monolog.api.Logger log)
GenIC Constructor |
Method Summary | |
void |
generate()
Generates the java sources |
java.lang.String |
getEjbHomeFileName()
Return the 'pseudo' source file name of the Home interface (DAVID only used: The Stub file name depends on this name) |
java.lang.String |
getEjbName()
Return the bean's name |
java.lang.String |
getEjbRemoteFileName()
Return the 'pseudo' source file name of the Remote interface (DAVID only used: The Stub file name depends on this name) |
static java.lang.String |
getFactoryName(java.lang.String mapperName)
|
java.util.Collection |
getNoRemoteJavas()
|
java.lang.String |
getWrpHomeClassName()
Return the class name of the generated source for the Home (package included) |
java.lang.String |
getWrpHomeFileName()
Return the file name of the generated source for the Home (null if none) |
java.lang.String |
getWrpRemoteClassName()
Return the class name of the generated source for the Remote (package included) |
java.lang.String |
getWrpRemoteFileName()
Return the file name of the generated source for the Remote (null if none) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BeanSources(BeanDesc beanDesc, java.lang.String dirOutputName, org.objectweb.jorm.metainfo.api.Manager manager, org.objectweb.util.monolog.api.Logger log) throws GenICException
beanDescr
- deployment descriptor of the beandirOutputName
- path of the directory where to place the generated files
(empty string "" if the output directory is the current directory)GenICException
- In error casepublic BeanSources(BeanDesc beanDesc, java.lang.String dirOutputName, org.objectweb.util.monolog.api.Logger log) throws GenICException
beanDescr
- deployment descriptor of the beandirOutputName
- path of the directory where to place the generated files
(empty string "" if the output directory is the current directory)log
- logger for debugGenICException
- In error caseMethod Detail |
public void generate() throws GenICException
public java.lang.String getEjbName()
public java.lang.String getWrpHomeFileName()
public java.lang.String getWrpRemoteFileName()
public java.lang.String getEjbRemoteFileName()
public java.lang.String getEjbHomeFileName()
public java.lang.String getWrpRemoteClassName()
public java.lang.String getWrpHomeClassName()
public java.util.Collection getNoRemoteJavas()
public static java.lang.String getFactoryName(java.lang.String mapperName)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |