| java.lang.Object org.objectweb.jonas_lib.deployment.api.ResourceRefDesc
ResourceRefDesc | public class ResourceRefDesc (Code) | | This class represents the description of a ResourceRef object
author: Christophe Ney author: Florent Benoit |
Field Summary | |
final public static int | APPLICATION_AUTH To indicate that the application manage the authentication. | final public static int | CONTAINER_AUTH To indicate that the container manage the authentication. |
APPLICATION_AUTH | final public static int APPLICATION_AUTH(Code) | | To indicate that the application manage the authentication.
|
CONTAINER_AUTH | final public static int CONTAINER_AUTH(Code) | | To indicate that the container manage the authentication.
|
ResourceRefDesc | public ResourceRefDesc(ClassLoader classLoader, ResourceRef res, JonasResource jRes) throws DeploymentDescException(Code) | | Construct a descriptor for the resource-ref and jonas-resource tags.
Parameters: classLoader - the classloader for the classes. Parameters: res - the resource-ref resulting of the web.xml parsing. Parameters: jRes - the jonas-resource resulting of the jonas-web.xml parsing. throws: DeploymentDescException - when missing information forcreating the ResourceRefDesc. |
getAuthentication | public int getAuthentication()(Code) | | Get the authentication of the resource ref.
Authentication value within APPLICATION_AUTH, CONTAINER_AUTH |
getJndiName | public String getJndiName()(Code) | | Get the jndi name of the resource ref.
String representation of the JNDI name |
getName | public String getName()(Code) | | Get resource ref. name
Name of the resource ref. |
getTypeName | public String getTypeName()(Code) | | Get resource ref. type name
Class name of the resource ref. |
isJdbc | public boolean isJdbc()(Code) | | Assessor for JDBC resource
true if the resource is Jdbc compliant |
toString | public String toString()(Code) | | String representation of the object for test purpose
String representation of this object |
|
|