javax.slee.resource
Class ResourceAdaptorDescriptor

java.lang.Object
  extended by javax.slee.management.ComponentDescriptor
      extended by javax.slee.resource.ResourceAdaptorDescriptor
All Implemented Interfaces:
java.io.Serializable, VendorExtensions

public class ResourceAdaptorDescriptor
extends ComponentDescriptor

This class provides access to deployment-specific attributes that describe an installed resource adaptor.

See Also:
Serialized Form

Constructor Summary
ResourceAdaptorDescriptor(ResourceAdaptorID component, DeployableUnitID deployableUnit, java.lang.String source, LibraryID[] libraries, ResourceAdaptorTypeID[] raTypes, ProfileSpecificationID[] profileSpecs, boolean supportsActiveReconfiguration)
          Create a new resource adaptor component descriptor.
 
Method Summary
 ProfileSpecificationID[] getProfileSpecifications()
          Get the component identifiers of the profile specifications used by this resource adaptor.
 ResourceAdaptorTypeID getResourceAdaptorType()
          Deprecated. Resource adaptors may now implement more than one resource adaptor type. This method will return the first array index of the array returned by getResourceAdaptorTypes(), which replaces this method.
 ResourceAdaptorTypeID[] getResourceAdaptorTypes()
          Get the component identifiers of the resource adaptor types that this resource adaptor implements.
 boolean supportsActiveReconfiguration()
          Determine if resource adaptor entities of the resource adaptor can be reconfigured when active.
 java.lang.String toString()
          Get a string representation for this resource adaptor component descriptor.
 
Methods inherited from class javax.slee.management.ComponentDescriptor
disableVendorDataDeserialization, disableVendorDataSerialization, enableVendorDataDeserialization, enableVendorDataSerialization, equals, getDeployableUnit, getID, getLibraries, getName, getSource, getVendor, getVendorData, getVersion, hashCode, setVendorData, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceAdaptorDescriptor

public ResourceAdaptorDescriptor(ResourceAdaptorID component,
                                 DeployableUnitID deployableUnit,
                                 java.lang.String source,
                                 LibraryID[] libraries,
                                 ResourceAdaptorTypeID[] raTypes,
                                 ProfileSpecificationID[] profileSpecs,
                                 boolean supportsActiveReconfiguration)
Create a new resource adaptor component descriptor.

Parameters:
component - the identifier of the component.
deployableUnit - the identifier of the deployable unit from which the component was installed.
source - the source object (component jar or service XML file) within the deployable unit from which this component was installed.
libraries - the identifiers of the libraries that the component depends on.
raTypes - the component identifiers of the resource adaptor types that this resource adaptor implements.
supportsActiveReconfiguration - flag indicating whether resource adaptor entities of the resource adaptor can be reconfigured when active.
Throws:
java.lang.NullPointerException - if any argument is null.
Method Detail

getResourceAdaptorType

public final ResourceAdaptorTypeID getResourceAdaptorType()
Deprecated. Resource adaptors may now implement more than one resource adaptor type. This method will return the first array index of the array returned by getResourceAdaptorTypes(), which replaces this method.

Get the component identifier of the resource adaptor type that this resource adaptor implements.

Returns:
the component identifier of the resource adaptor type that this resource adaptor implements.

getResourceAdaptorTypes

public final ResourceAdaptorTypeID[] getResourceAdaptorTypes()
Get the component identifiers of the resource adaptor types that this resource adaptor implements.

Returns:
the component identifiers of the resource adaptor types that this resource adaptor implements.
Since:
SLEE 1.1

getProfileSpecifications

public final ProfileSpecificationID[] getProfileSpecifications()
Get the component identifiers of the profile specifications used by this resource adaptor.

Returns:
the component identifiers of the profile specifications used by this resource adaptor.
Since:
SLEE 1.1

supportsActiveReconfiguration

public final boolean supportsActiveReconfiguration()
Determine if resource adaptor entities of the resource adaptor can be reconfigured when active.

Returns:
true if the resource adaptor has indicated that its resource adator entities support active reconfiguration, false otherwise.
Since:
SLEE 1.1

toString

public java.lang.String toString()
Get a string representation for this resource adaptor component descriptor.

Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


Copyright © 2009. All Rights Reserved.