| java.lang.Object org.objectweb.jonas_lib.deployment.api.DescriptionGroupDesc org.objectweb.jonas_ejb.deployment.api.DeploymentDesc
All known Subclasses: org.objectweb.jonas_ejb.deployment.api.DeploymentDescEjb1_1, org.objectweb.jonas_ejb.deployment.api.DeploymentDescEjb2,
DeploymentDesc | abstract public class DeploymentDesc extends DescriptionGroupDesc (Code) | | Class to hold meta-information related to the deployment of an ejb-jar
author: Christophe Ney [cney@batisseurs.com] : Initial developer author: Helene Joanin author: Philippe Durieux author: Markus Karg (Novell port) author: Philippe Coq |
Constructor Summary | |
public | DeploymentDesc(ClassLoader classLoader, EjbJar ejbJar, JonasEjbJar jonasEjbJar, Logger l, String fileName) Build the Meta-Information from the XML data binding trees
containing the EJB and JOnAS deployment descriptors. |
beanDesc | protected HashMap beanDesc(Code) | | Set of enterprise beans deployment descriptors
|
ejbClientJar | protected String ejbClientJar(Code) | | Deployment desc's file name (jar or directory)
|
fileName | protected String fileName(Code) | | Deployment desc's file name (jar or directory)
|
logger | protected Logger logger(Code) | | Logger
|
specVersion | protected String specVersion(Code) | | Ejb spec version
|
DeploymentDesc | public DeploymentDesc(ClassLoader classLoader, EjbJar ejbJar, JonasEjbJar jonasEjbJar, Logger l, String fileName) throws DeploymentDescException(Code) | | Build the Meta-Information from the XML data binding trees
containing the EJB and JOnAS deployment descriptors.
Parameters: classLoader - The Class Loader to be used Parameters: ejbJar - The EjbJar information, from standard deployment descriptor. Parameters: jonasEjbJar - The JonasEjbJar information, from JOnAS specific deployment descriptor. Parameters: l - The logger to be used for tracing Parameters: fileName - deployment desc's jar or directory name throws: DeploymentDescException - Cannot deploy bean |
asn2BeanDesc | public EntityCmp2Desc asn2BeanDesc(String asn)(Code) | | Get bean descriptor given its abstract schema name
Parameters: asn - Abstract Schema Name null if it doesn't exist. |
getBeanDesc | public BeanDesc[] getBeanDesc()(Code) | | Get descriptors for all beans contained in jar file
Array of bean's descriptors |
getBeanDesc | public BeanDesc getBeanDesc(String ejbName)(Code) | | Get bean descriptor given its name
Parameters: ejbName - the name of the bean in the Deployment Descriptor bean descriptor given its name |
getBeanDescIterator | public Iterator getBeanDescIterator()(Code) | | Get an Iterator on the Bean Desc list
Iterator on BeanDesc |
getBeanDescWithLocalInterface | public BeanDesc getBeanDescWithLocalInterface(String itfLocalName)(Code) | | Get bean descriptor given its interface local name
Parameters: itfLocalName - local interface name null if it doesn't exist. |
getDisplayName | public String getDisplayName()(Code) | | Get the display name
the Display name string, from the deployment descriptor. |
getEjbClientJar | public String getEjbClientJar()(Code) | | Get the ejb-client-jar name
the ejb-client-jar string, from the deployment descriptor (may be null). |
getExcludeListDesc | public ExcludeListDesc getExcludeListDesc()(Code) | | Get the exclude list of the assembly descriptor
the exclude list of the assembly descriptor |
getJOnASXmlContent | public String getJOnASXmlContent()(Code) | | Return the content of the jonas-web.xml file
the content of the jonas-web.xml file |
getJonasMessageDestination | public JonasMessageDestination getJonasMessageDestination(String mdLink)(Code) | | Get the JOnAS message destination for the given name
Parameters: mdLink - the name of the message destination link in the Deployment Descriptor the jonas message destination given the name |
getLogger | public Logger getLogger()(Code) | | get the current logger
the Logger |
getMessageDestination | public boolean getMessageDestination(String mdLink)(Code) | | Find the JOnAS message destination for the given name
Parameters: mdLink - the name of the message destination link in the Deployment Descriptor boolean if link was found |
getMethodPermissionsDescList | public List getMethodPermissionsDescList()(Code) | | Get the list of the methodPermissionDesc objects which represent
method-permission elements in assembly-descriptor
the list of methodPermissionDesc objects |
getRolesForRunAsPrincipal | public String[] getRolesForRunAsPrincipal(String principalName)(Code) | | Gets the Mapping for run-as principal
Parameters: principalName - name of the run-as principal array of roles |
getXmlContent | public String getXmlContent()(Code) | | Return the content of the web.xml file
the content of the web.xml file |
newEntityBeanDesc | abstract protected BeanDesc newEntityBeanDesc(ClassLoader cl, Entity ent, AssemblyDescriptor asd, JonasEntity j, JLinkedList jMDRList) throws DeploymentDescException(Code) | | In case of beans with old CMP1 persistance, we need to instanciate the old class,
as if we were in an old Deployment Descriptor.
Default is CMP2.x for entity beans with a EJB2.0 DD.
Parameters: cl - The ClassLoader to be used Parameters: ent - Entity MetaInformation from XML files Parameters: asd - AssemblyDescriptor MetaInformation from XML files Parameters: j - JonasEntity MetaInformation from XML files Parameters: jMDRList - MessageDrivenRef list The Entity Bean Descriptor, for the good CMP version. throws: DeploymentDescException - Cannot build Entity Descriptor |
setJOnASXmlContent | public void setJOnASXmlContent(String jonasXmlContent)(Code) | | Parameters: jonasXmlContent - XML Content |
setLogger | public void setLogger(Logger logger)(Code) | | set the current logger
Parameters: logger - the Logger |
setXmlContent | public void setXmlContent(String xmlContent)(Code) | | Parameters: xmlContent - XML Content |
toString | public String toString()(Code) | | String representation of the object for test purpose
String representation of this object |
|
|