当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
ResourceEnvRefMetaData (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
org.jboss.metadata
Class ResourceEnvRefMetaData
java.lang.Object
org.jboss.metadata.MetaData
org.jboss.metadata.ResourceEnvRefMetaData
- All Implemented Interfaces:
- Cloneable, XmlLoadable
- public class ResourceEnvRefMetaData
- extends MetaData
The meta data information for a resource-env-ref element.
The resource-env-ref element contains a declaration of an enterprise
bean锟絪 reference to an administered object associated with a resource
in the enterprise bean锟絪 environment. It consists of an optional
description, the resource environment reference name, and an indication
of the resource environment reference type expected by the enterprise
bean code.
Used in: entity, message-driven and session
Example:
jms/StockQueue
javax.jms.Queue
- Version:
- $Revision: 1.7 $
- Author:
- Scott Stark.
Methods inherited from class org.jboss.metadata.MetaData |
clone, getChildrenByTagName, getElementAttribute, getElementContent, getElementContent, getFirstElementContent, getOptionalChild, getOptionalChild, getOptionalChildBooleanContent, getOptionalChildBooleanContent, getOptionalChildContent, getOptionalChildContent, getUniqueChild, getUniqueChildContent, importXml, jdk13Enabled |
ResourceEnvRefMetaData
public ResourceEnvRefMetaData()
getRefName
public String getRefName()
getJndiName
public String getJndiName()
getType
public String getType()
getLink
public String getLink()
importEjbJarXml
public void importEjbJarXml(Element element)
throws org.jboss.deployment.DeploymentException
- Parse the application-client|ejb-jar|web-app child element
- Overrides:
importEjbJarXml
in class MetaData
- Parameters:
element
- - the resource-env-ref or message-destination-ref element
- Throws:
org.jboss.deployment.DeploymentException
importJbossXml
public void importJbossXml(Element element)
throws org.jboss.deployment.DeploymentException
- Parse the jboss child element
- Overrides:
importJbossXml
in class MetaData
- Parameters:
element
- - the resource-env-ref element
- Throws:
org.jboss.deployment.DeploymentException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.