org.jboss.metadata
Class ResourceRefMetaData

java.lang.Object
  extended by org.jboss.metadata.MetaData
      extended by org.jboss.metadata.ResourceRefMetaData
All Implemented Interfaces:
Cloneable, XmlLoadable

public class ResourceRefMetaData
extends MetaData

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

Version:
$Revision: 57209 $
Author:
Sebastien Alborini, Scott Stark.

Field Summary
 
Fields inherited from class org.jboss.metadata.MetaData
log, TX_MANDATORY, TX_NEVER, TX_NOT_SUPPORTED, TX_REQUIRED, TX_REQUIRES_NEW, TX_SUPPORTS, TX_UNKNOWN
 
Constructor Summary
ResourceRefMetaData()
           
 
Method Summary
 String getJndiName()
           
 String getRefName()
           
 String getResourceName()
           
 String getResURL()
           
 String getType()
           
 void importEjbJarXml(Element element)
          Non-operation.
 void importJbossXml(Element element)
          Non-operation.
 boolean isContainerAuth()
           
 boolean isShareable()
           
 void setResourceName(String resName)
           
 
Methods inherited from class org.jboss.metadata.MetaData
clone, getChildrenByTagName, getElementAttribute, getElementAttribute, getElementContent, getElementContent, getElementContent, getFirstElementContent, 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 String getRefName()

getResourceName

public String getResourceName()

setResourceName

public void setResourceName(String resName)

getJndiName

public String getJndiName()

getResURL

public String getResURL()

getType

public String getType()

isContainerAuth

public boolean isContainerAuth()

isShareable

public boolean isShareable()

importEjbJarXml

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

Overrides:
importEjbJarXml in class MetaData
Throws:
org.jboss.deployment.DeploymentException

importJbossXml

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

Overrides:
importJbossXml in class MetaData
Throws:
org.jboss.deployment.DeploymentException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.