<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
|
Oracle Application Server TopLink API Reference 10g (9.0.4) B10491-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.toplink.tools.ejb11.EJBXmlGenerator
Used to generate XML deployment descriptors from definition objects that have had their attributes set accordingly.
DDDefinition
, DDProjectDefinition
Constructor Summary | |
EJBXmlGenerator() EJBXmlGenerator constructor comment. |
Method Summary | |
static void |
generateDDs(DDProjectDefinition ddProjDef, java.util.Vector ddDefs) Generate the XML deployment deployment files for the specified group of beans. |
static void |
generateEJBFile(java.util.Vector beanDefs) Generate the ejb-jar.xml file for the group of beans that is passed in. |
static void |
generateTopCmpFile(CMPBeanDefinition beanDef, java.lang.String fileName) Generate the toplink-cmp-*.xml file for the bean definition that is passed in. *** Note *** The specified filename must be the same as what is specified in the type-storage in the weblogic-ejb-jar.xml file. |
static void |
generateWebLogicFile(java.util.Vector beanDefs) Generate the weblogic-ejb-jar.xml file for the group of beans that is passed in. |
static void |
generateXMLFiles(java.util.Vector ejbDefs, java.util.Vector webLogicDefs, java.util.Vector topLinkDefs) Generate the three XML files for the specified group of beans. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EJBXmlGenerator()
Method Detail |
public static void generateDDs(DDProjectDefinition ddProjDef, java.util.Vector ddDefs) throws java.io.IOException
ddProjDef
- Project attributes that are used for all of the beansddDefs
- Vector of DDDefinition objects that each specify the attributes of an EJBjava.io.IOException
public static void generateEJBFile(java.util.Vector beanDefs) throws java.io.IOException
java.io.IOException
public static void generateTopCmpFile(CMPBeanDefinition beanDef, java.lang.String fileName) throws java.io.IOException
java.io.IOException
public static void generateWebLogicFile(java.util.Vector beanDefs) throws java.io.IOException
java.io.IOException
public static void generateXMLFiles(java.util.Vector ejbDefs, java.util.Vector webLogicDefs, java.util.Vector topLinkDefs) throws java.io.IOException
ejbDefs
- A Vector of EJBXmlBeanDefinition instances, one for each beanwebLogicDefs
- A Vector of EJBXmlWebLogicBeanDefinition instances, one for each beanjava.io.IOException
|
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |