org.jboss.metadata
Class ResourceEnvRefMetaData

java.lang.Object
  extended by org.jboss.metadata.MetaData
      extended by org.jboss.metadata.OldMetaData<ResourceEnvironmentReferenceMetaData>
          extended by org.jboss.metadata.ResourceEnvRefMetaData
All Implemented Interfaces:
Cloneable, XmlLoadable

Deprecated.

@Deprecated
public class ResourceEnvRefMetaData
extends OldMetaData<ResourceEnvironmentReferenceMetaData>

The meta data information for a resource-env-ref element. The resource-env-ref element contains a declaration of an enterprise bean's reference to an administered object associated with a resource in the enterprise bean's 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: 57300 $
Author:
Scott Stark., Adrian Brock

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
ResourceEnvRefMetaData(ResourceEnvironmentReferenceMetaData delegate)
          Deprecated. Create a new ResourceEnvRefMetaData.
 
Method Summary
static ResourceEnvRefMetaData create(ResourceEnvironmentReferenceMetaData delegate)
          Deprecated. Create a new ResourceEnvRefMetaData.
 String getJndiName()
          Deprecated. Get the jndiName.
 String getName()
          Deprecated. Get the name.
 String getRefName()
          Deprecated. Get the refName.
 String getType()
          Deprecated. Get the type.
 
Methods inherited from class org.jboss.metadata.OldMetaData
equals, getDelegate, getMetaData, hashCode, importEjbJarXml, importJbossXml, toString
 
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
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceEnvRefMetaData

public ResourceEnvRefMetaData(ResourceEnvironmentReferenceMetaData delegate)
Deprecated. 
Create a new ResourceEnvRefMetaData.

Parameters:
delegate - the delegate
Throws:
IllegalArgumentException - for a null delegate
Method Detail

create

public static ResourceEnvRefMetaData create(ResourceEnvironmentReferenceMetaData delegate)
Deprecated. 
Create a new ResourceEnvRefMetaData.

Parameters:
delegate - the delegate
Returns:
the metadata
Throws:
IllegalArgumentException - for a null delegate or an unknown delegate

getJndiName

public String getJndiName()
Deprecated. 
Get the jndiName.

Returns:
the jndiName.

getName

public String getName()
Deprecated. 
Get the name.

Returns:
the name.

getRefName

public String getRefName()
Deprecated. 
Get the refName.

Returns:
the refName.

getType

public String getType()
Deprecated. 
Get the type.

Returns:
the type.


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.