|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jonas_web.deployment.api.ResourceRefDesc
Class that represents the resource-ref and jonas-resource tags.
Field Summary | |
static int |
APPLICATION_AUTH
To indicate that the application manage the authentication. |
static int |
CONTAINER_AUTH
To indicate that the container manage the authentication. |
Constructor Summary | |
ResourceRefDesc(java.lang.ClassLoader classLoader,
org.objectweb.jonas_web.deployment.xml.ResourceRef res,
org.objectweb.jonas_web.deployment.xml.JonasResource jRes)
Construct a descriptor for the resource-ref and jonas-resource tags. |
Method Summary | |
int |
getAuthentication()
Get the authentication of the resource ref. |
java.lang.String |
getJndiName()
Get the jndi name of the resource ref. |
java.lang.String |
getName()
Get resource ref. name |
java.lang.Class |
getType()
Get resource ref. type |
boolean |
isJdbc()
Assessor for JDBC resource |
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 |
public static final int APPLICATION_AUTH
public static final int CONTAINER_AUTH
Constructor Detail |
public ResourceRefDesc(java.lang.ClassLoader classLoader, org.objectweb.jonas_web.deployment.xml.ResourceRef res, org.objectweb.jonas_web.deployment.xml.JonasResource jRes) throws WebContainerDeploymentDescException
classLoader
- the classloader for the classes.res
- the resource-ref resulting of the web.xml parsing.jRes
- the jonas-resource resulting of the jonas-web.xml parsing.WebContainerDeploymentDescException
- when missing information for
creating the ResourceRefDesc.Method Detail |
public java.lang.String getName()
public java.lang.Class getType()
public int getAuthentication()
public boolean isJdbc()
public java.lang.String getJndiName()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |