org.jboss.metadata
Class ResourceRefMetaData

java.lang.Object
  extended byorg.jboss.metadata.MetaData (src) 
      extended byorg.jboss.metadata.ResourceRefMetaData
All Implemented Interfaces:
java.lang.Cloneable, XmlLoadable (src)

public class ResourceRefMetaData
extends MetaData (src)

The meta data information for a resource-ref element. The resource-ref element contains a declaration of enterprise bean�s reference to an external resource. It consists of an optional description, the resource manager connection factory reference name, the indication of the resource manager connection factory type expected by the enterprise bean code, the type of authentication (Application or Container), and an optional specification of the shareability of connections obtained from the resource (Shareable or Unshareable). Used in: entity, message-driven, and session


Field Summary
 
Fields inherited from class org.jboss.metadata.MetaData (src)
log, TX_MANDATORY, TX_NEVER, TX_NOT_SUPPORTED, TX_REQUIRED, TX_REQUIRES_NEW, TX_SUPPORTS, TX_UNKNOWN
 
Constructor Summary
ResourceRefMetaData()
           
 
Method Summary
 java.lang.String getJndiName()
           
 java.lang.String getRefName()
           
 java.lang.String getResourceName()
           
 java.lang.String getResURL()
           
 java.lang.String getType()
           
 void importEjbJarXml(org.w3c.dom.Element element)
          Non-operation.
 void importJbossXml(org.w3c.dom.Element element)
          Non-operation.
 boolean isContainerAuth()
           
 boolean isShareable()
           
 void setResourceName(java.lang.String resName)
           
 
Methods inherited from class org.jboss.metadata.MetaData (src)
clone, getChildrenByTagName, getElementAttribute, getElementContent, getElementContent, getFirstElementContent, getOptionalChild, getOptionalChild, getOptionalChildBooleanContent, getOptionalChildBooleanContent, getOptionalChildContent, getOptionalChildContent, getUniqueChild, getUniqueChildContent, importXml, jdk13Enabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceRefMetaData

public ResourceRefMetaData()
Method Detail

getRefName

public java.lang.String getRefName()

getResourceName

public java.lang.String getResourceName()

setResourceName

public void setResourceName(java.lang.String resName)

getJndiName

public java.lang.String getJndiName()

getResURL

public java.lang.String getResURL()

getType

public java.lang.String getType()

isContainerAuth

public boolean isContainerAuth()

isShareable

public boolean isShareable()

importEjbJarXml

public void importEjbJarXml(org.w3c.dom.Element element)
                     throws DeploymentException (src) 
Description copied from class: MetaData (src)
Non-operation.

Overrides:
importEjbJarXml in class MetaData (src)
Parameters:
element -
Throws:
DeploymentException (src)

importJbossXml

public void importJbossXml(org.w3c.dom.Element element)
                    throws DeploymentException (src) 
Description copied from class: MetaData (src)
Non-operation.

Overrides:
importJbossXml in class MetaData (src)
Parameters:
element -
Throws:
DeploymentException (src)