|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas_ejb.deployment.api.DeploymentDesc
Class to hold meta-information related to the deployment of an ejb-jar Contributor(s): Markus Karg: Novell port. Phlippe Durieux: EJB Local References Florent Benoit & Ludovic Bert : Ear
Field Summary | |
protected org.objectweb.jonas_ejb.deployment.xml.AssemblyDescriptor |
asd
|
protected java.util.HashMap |
beanDesc
|
protected java.lang.String |
displayName
|
protected java.lang.String[] |
earRoleNames
the role names in the EAR case |
protected java.lang.String |
fileName
deployment desc's file name (jar or directory) |
protected org.objectweb.util.monolog.api.Logger |
logger
|
Constructor Summary | |
DeploymentDesc(java.lang.ClassLoader classLoader,
org.objectweb.jonas_ejb.deployment.xml.EjbJar ejbJar,
org.objectweb.jonas_ejb.deployment.xml.JonasEjbJar jonasEjbJar,
org.objectweb.util.monolog.api.Logger l,
java.lang.String fileName)
Build the Meta-Information from the XML data binding trees containing the EJB and JOnAS deployment descriptors. |
Method Summary | |
EntityCmp2Desc |
asn2BeanDesc(java.lang.String asn)
Get bean descriptor given its abstract schema name |
BeanDesc[] |
getBeanDesc()
Get descriptors for all beans contained in jar file |
BeanDesc |
getBeanDesc(java.lang.String ejbName)
Get bean descriptor given its name |
java.util.Iterator |
getBeanDescIterator()
Get an Iterator on the Bean Desc list |
BeanDesc |
getBeanDescWithLocalInterface(java.lang.String itfLocalName)
Get bean descriptor given its interface local name |
java.lang.String |
getDisplayName()
Get the display name |
java.lang.String[] |
getEarRoleNames()
Get the role names of the deployment desc in the EAR case |
org.objectweb.util.monolog.api.Logger |
getLogger()
get the current logger |
protected abstract BeanDesc |
newEntityBeanDesc(java.lang.ClassLoader cl,
org.objectweb.jonas_ejb.deployment.xml.Entity ent,
org.objectweb.jonas_ejb.deployment.xml.AssemblyDescriptor asd,
org.objectweb.jonas_ejb.deployment.xml.JonasEntity j)
|
void |
setEarRoleNames(java.lang.String[] earRoleNames)
Set the role names of the deployment desc in the EAR case |
void |
setLogger(org.objectweb.util.monolog.api.Logger logger)
set the current logger |
java.lang.String |
toString()
String representation of the object for test purpose |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected org.objectweb.util.monolog.api.Logger logger
protected java.lang.String[] earRoleNames
protected java.util.HashMap beanDesc
protected org.objectweb.jonas_ejb.deployment.xml.AssemblyDescriptor asd
protected java.lang.String displayName
protected java.lang.String fileName
Constructor Detail |
public DeploymentDesc(java.lang.ClassLoader classLoader, org.objectweb.jonas_ejb.deployment.xml.EjbJar ejbJar, org.objectweb.jonas_ejb.deployment.xml.JonasEjbJar jonasEjbJar, org.objectweb.util.monolog.api.Logger l, java.lang.String fileName) throws DeploymentDescException
classLoader
- The Class Loader to be usedejbJar
- The EjbJar information, from standard deployment descriptor.jonasEjbJar
- The JonasEjbJar information, from JOnAS specific deployment descriptor.l
- The logger to be used for tracingfileName
- deployment desc's jar or directory name
DeploymentDescException
- Cannot deploy beanMethod Detail |
public java.util.Iterator getBeanDescIterator()
public BeanDesc[] getBeanDesc()
public BeanDesc getBeanDesc(java.lang.String ejbName)
ejbName
- the name of the bean in the Deployment Descriptorpublic EntityCmp2Desc asn2BeanDesc(java.lang.String asn)
asn
- Abstract Schema Name
public BeanDesc getBeanDescWithLocalInterface(java.lang.String itfLocalName)
protected abstract BeanDesc newEntityBeanDesc(java.lang.ClassLoader cl, org.objectweb.jonas_ejb.deployment.xml.Entity ent, org.objectweb.jonas_ejb.deployment.xml.AssemblyDescriptor asd, org.objectweb.jonas_ejb.deployment.xml.JonasEntity j) throws DeploymentDescException
DeploymentDescException
public java.lang.String getDisplayName()
public java.lang.String[] getEarRoleNames()
public void setEarRoleNames(java.lang.String[] earRoleNames)
earRoleNames
- the role namespublic org.objectweb.util.monolog.api.Logger getLogger()
public void setLogger(org.objectweb.util.monolog.api.Logger logger)
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |