org.jboss.jca.core.api.management
Class ResourceAdapter

java.lang.Object
  extended by org.jboss.jca.core.api.management.ResourceAdapter

public class ResourceAdapter
extends Object

Represents a resource adapter instance

Author:
Jesper Pedersen

Constructor Summary
ResourceAdapter(javax.resource.spi.ResourceAdapter ra)
          Constructor
 
Method Summary
 List<ConfigProperty> getConfigProperties()
          Get the list of config property's
 javax.resource.spi.ResourceAdapter getResourceAdapter()
          Get the resource adapter instance.
 StatisticsPlugin getStatistics()
          Get the statistics
 String toString()
          String representation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceAdapter

public ResourceAdapter(javax.resource.spi.ResourceAdapter ra)
Constructor

Parameters:
ra - The resource adapter instance
Method Detail

getResourceAdapter

public javax.resource.spi.ResourceAdapter getResourceAdapter()
Get the resource adapter instance. Note, that the value may be null if the resource adapter was undeployed and this object wasn't cleared up correctly.

Returns:
The instance

getConfigProperties

public List<ConfigProperty> getConfigProperties()
Get the list of config property's

Returns:
The value

getStatistics

public StatisticsPlugin getStatistics()
Get the statistics

Returns:
The value; null if no statistics is available

toString

public String toString()
String representation

Overrides:
toString in class Object
Returns:
The string


Copyright © 2012 JBoss, by Red Hat (http://www.jboss.org/ironjacamar)