org.jboss.metadata
Class ResourceRefMetaData

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

Deprecated.

@Deprecated
public class ResourceRefMetaData
extends OldMetaData<ResourceReferenceMetaData>

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: 57300 $
Author:
Sebastien Alborini, 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
ResourceRefMetaData(ResourceReferenceMetaData delegate)
          Deprecated. Create a new ResourceRefMetaData.
 
Method Summary
static ResourceRefMetaData create(ResourceReferenceMetaData delegate)
          Deprecated. Create a new ResourceRefMetaData.
 String getJndiName()
          Deprecated. Get the jndiName.
 String getName()
          Deprecated. Get the name.
 String getRefName()
          Deprecated. Get the refName.
 String getResourceName()
          Deprecated. Get the resource name
 String getResURL()
          Deprecated. Get the resURL.
 String getType()
          Deprecated. Get the type.
 boolean isContainerAuth()
          Deprecated. Get the containerAuth.
 boolean isShareable()
          Deprecated. Get the isShareable.
 void setResourceName(String resName)
          Deprecated. Set ther resource name
 
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

ResourceRefMetaData

public ResourceRefMetaData(ResourceReferenceMetaData delegate)
Deprecated. 
Create a new ResourceRefMetaData.

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

create

public static ResourceRefMetaData create(ResourceReferenceMetaData delegate)
Deprecated. 
Create a new ResourceRefMetaData.

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

getResourceName

public String getResourceName()
Deprecated. 
Get the resource name

Returns:
the resource name

setResourceName

public void setResourceName(String resName)
Deprecated. 
Set ther resource name

Parameters:
resName - the resource name
Throws:
UnsupportedOperationException - always

isContainerAuth

public boolean isContainerAuth()
Deprecated. 
Get the containerAuth.

Returns:
the containerAuth.

isShareable

public boolean isShareable()
Deprecated. 
Get the isShareable.

Returns:
the isShareable.

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.

getResURL

public String getResURL()
Deprecated. 
Get the resURL.

Returns:
the resURL.

getType

public String getType()
Deprecated. 
Get the type.

Returns:
the type.


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