org.ow2.jonas.deployment.common
Class ResourceEnvRefDesc
java.lang.Object
org.ow2.jonas.deployment.common.ResourceEnvRefDesc
- All Implemented Interfaces:
- IResourceEnvRefDesc
public class ResourceEnvRefDesc
- extends Object
- implements IResourceEnvRefDesc
This class represents the description of a ResourceEnvRef object
- Author:
- Christophe Ney, Florent Benoit
ResourceEnvRefDesc
public ResourceEnvRefDesc(ClassLoader classLoader,
ResourceEnvRef res,
JonasResourceEnv jRes)
throws DeploymentDescException
- Construct a descriptor for the resource-env-ref and jonas-resource-env
tags.
- Parameters:
classLoader - the classloader for the classes.res - the resource-env-ref resulting of the web.xml parsing.jRes - the jonas-resource-env resulting of the jonas-web.xml
parsing.
- Throws:
DeploymentDescException - when missing information for
creating the ResourceEnvRefDesc.
getName
public String getName()
- Specified by:
getName in interface IResourceEnvRefDesc
- Returns:
- Returns the
resource-env-ref/resource-env-ref-name.
getType
public Class getType()
- Specified by:
getType in interface IResourceEnvRefDesc
- Returns:
- Returns the
resource-env-ref/resource-env-ref-type.
getJndiName
public String getJndiName()
- Specified by:
getJndiName in interface IResourceEnvRefDesc
- Returns:
- Returns the
jonas-res-env-ref/jndi-name.
toString
public String toString()
- String representation of the object for test purpose.
- Overrides:
toString in class Object
- Returns:
- String representation of this object.
Copyright © 2010 OW2 Consortium. All Rights Reserved.