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

RARMetaData (JBoss Connector API) - JBoss 3.2.7 connector API Documentation 英文版文档


org.jboss.resource
Class RARMetaData

java.lang.Object
  extended byorg.jboss.resource.RARMetaData
All Implemented Interfaces:
org.jboss.metadata.XmlLoadable

public class RARMetaData
extends Object
implements org.jboss.metadata.XmlLoadable

Represents the metadata present in a resource adapter deployment descriptor.

Version:
$Revision: 1.14.2.3 $
Author:
Toby Allsopp (toby.allsopp@peace.com)
See Also:
RARDeployer

Nested Class Summary
 class RARMetaData.Property
           
 
Field Summary
static int TX_SUPPORT_LOCAL
           
static int TX_SUPPORT_NO
           
static int TX_SUPPORT_XA
           
 
Constructor Summary
RARMetaData()
           
 
Method Summary
 String getAuthMechType()
          Gets the AuthMechType attribute of the RARMetaData object
 ClassLoader getClassLoader()
          The class loader to use for the resource adapter's classes
 String getDisplayName()
          Gets the DisplayName attribute of the RARMetaData object
 String getManagedConnectionFactoryClass()
          Gets the ManagedConnectionFactoryClass attribute of the RARMetaData object
 Map getProperties()
          Gets the Properties attribute of the RARMetaData object
 String getPropertyType(String name)
          Gets the PropertyType attribute of the RARMetaData object
 boolean getReauthenticationSupport()
          Gets the ReauthenticationSupport attribute of the RARMetaData object
 Element getResourceAdapterElement()
           
 int getTransactionSupport()
          Gets the type of transactions supported by the resource adapter.
 void importXml(Element root)
          #Description of the Method
 void setClassLoader(ClassLoader cl)
          Sets the ClassLoader attribute of the RARMetaData object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TX_SUPPORT_NO

public static final int TX_SUPPORT_NO
See Also:
Constant Field Values

TX_SUPPORT_LOCAL

public static final int TX_SUPPORT_LOCAL
See Also:
Constant Field Values

TX_SUPPORT_XA

public static final int TX_SUPPORT_XA
See Also:
Constant Field Values
Constructor Detail

RARMetaData

public RARMetaData()
Method Detail

setClassLoader

public void setClassLoader(ClassLoader cl)
Sets the ClassLoader attribute of the RARMetaData object

Parameters:
cl - The new ClassLoader value

getResourceAdapterElement

public Element getResourceAdapterElement()

getClassLoader

public ClassLoader getClassLoader()
The class loader to use for the resource adapter's classes

Returns:
The ClassLoader value

getDisplayName

public String getDisplayName()
Gets the DisplayName attribute of the RARMetaData object

Returns:
The DisplayName value

getManagedConnectionFactoryClass

public String getManagedConnectionFactoryClass()
Gets the ManagedConnectionFactoryClass attribute of the RARMetaData object

Returns:
The ManagedConnectionFactoryClass value

getTransactionSupport

public int getTransactionSupport()
Gets the type of transactions supported by the resource adapter.

Returns:
one of the TX_SUPPORT_* constants

getProperties

public Map getProperties()
Gets the Properties attribute of the RARMetaData object

Returns:
The Properties value

getPropertyType

public String getPropertyType(String name)
Gets the PropertyType attribute of the RARMetaData object

Parameters:
name - Description of Parameter
Returns:
The PropertyType value

getAuthMechType

public String getAuthMechType()
Gets the AuthMechType attribute of the RARMetaData object

Returns:
The AuthMechType value

getReauthenticationSupport

public boolean getReauthenticationSupport()
Gets the ReauthenticationSupport attribute of the RARMetaData object

Returns:
The ReauthenticationSupport value

importXml

public void importXml(Element root)
               throws org.jboss.deployment.DeploymentException
#Description of the Method

Specified by:
importXml in interface org.jboss.metadata.XmlLoadable
Parameters:
root - Description of Parameter
Throws:
org.jboss.deployment.DeploymentException - Description of Exception


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