站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 server API Documentation 英文版文档

ResourceRefMetaData (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


org.jboss.metadata
Class ResourceRefMetaData

java.lang.Object
  extended byorg.jboss.metadata.MetaData
      extended byorg.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锟絪 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: 1.13 $
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, 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 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
Parameters:
element -
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
Parameters:
element -
Throws:
org.jboss.deployment.DeploymentException


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