org.objectweb.easybeans.deployment.xml.struct.common
Class ResourceRef

java.lang.Object
  extended by org.objectweb.easybeans.deployment.xml.struct.common.AbsResourceGroup
      extended by org.objectweb.easybeans.deployment.xml.struct.common.ResourceRef

public class ResourceRef
extends AbsResourceGroup

Class representing resource-ref elements used in Java EE components.

Author:
Florent Benoit

Field Summary
static java.lang.String NAME
          Name of this element.
private  java.lang.String resRefName
          Name of this resource-ref.
private  java.lang.String resRefType
          Type of this resource-ref.
 
Constructor Summary
ResourceRef()
          Default constructor.
 
Method Summary
 java.lang.String getResRefName()
           
 java.lang.String getResRefType()
           
 void setResRefName(java.lang.String resRefName)
          Sets the name of resource-ref.
 void setResRefType(java.lang.String resRefType)
          Sets the type of this reference.
 
Methods inherited from class org.objectweb.easybeans.deployment.xml.struct.common.AbsResourceGroup
addInjectionTarget, getInjectionTargetList, getMappedName, setMappedName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
Name of this element.

See Also:
Constant Field Values

resRefName

private java.lang.String resRefName
Name of this resource-ref.


resRefType

private java.lang.String resRefType
Type of this resource-ref.

Constructor Detail

ResourceRef

public ResourceRef()
Default constructor.

Method Detail

getResRefName

public java.lang.String getResRefName()
Returns:
name of this resource-ref.

setResRefName

public void setResRefName(java.lang.String resRefName)
Sets the name of resource-ref.

Parameters:
resRefName - name of this reference

getResRefType

public java.lang.String getResRefType()
Returns:
the type of this ejb-ref.

setResRefType

public void setResRefType(java.lang.String resRefType)
Sets the type of this reference.

Parameters:
resRefType - type of reference