|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.deployment.common.ResourceRefDesc
public class ResourceRefDesc
This class represents the description of a ResourceRef object
Field Summary |
---|
Fields inherited from interface org.ow2.jonas.deployment.api.IResourceRefDesc |
---|
APPLICATION_AUTH, CONTAINER_AUTH |
Constructor Summary | |
---|---|
ResourceRefDesc(ClassLoader classLoader,
ResourceRef res,
JonasResource jRes)
Construct a descriptor for the resource-ref and jonas-resource tags. |
Method Summary | |
---|---|
int |
getAuthentication()
Get the authentication of the resource ref. |
String |
getJndiName()
Get the jndi name of the resource ref. |
String |
getName()
Get resource ref. |
String |
getTypeName()
Get resource ref. |
boolean |
isJdbc()
Assessor for JDBC resource |
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 |
Constructor Detail |
---|
public ResourceRefDesc(ClassLoader classLoader, ResourceRef res, JonasResource jRes) throws DeploymentDescException
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.
DeploymentDescException
- when missing information for
creating the ResourceRefDesc.Method Detail |
---|
public String getName()
IResourceRefDesc
getName
in interface IResourceRefDesc
public String getTypeName()
IResourceRefDesc
getTypeName
in interface IResourceRefDesc
public int getAuthentication()
IResourceRefDesc
getAuthentication
in interface IResourceRefDesc
public boolean isJdbc()
IResourceRefDesc
isJdbc
in interface IResourceRefDesc
public String getJndiName()
IResourceRefDesc
getJndiName
in interface IResourceRefDesc
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |