public class ResourceAdaptorDescriptor extends ComponentDescriptor
Constructor and Description |
---|
ResourceAdaptorDescriptor(ResourceAdaptorID component,
DeployableUnitID deployableUnit,
String source,
LibraryID[] libraries,
ResourceAdaptorTypeID[] raTypes,
ProfileSpecificationID[] profileSpecs,
boolean supportsActiveReconfiguration)
Create a new resource adaptor component descriptor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
String |
toString()
Get a string representation for this resource adaptor component descriptor.
|
disableVendorDataDeserialization, disableVendorDataSerialization, enableVendorDataDeserialization, enableVendorDataSerialization, equals, getDeployableUnit, getID, getLibraries, getName, getSource, getVendor, getVendorData, getVersion, hashCode, setVendorData, toString
public ResourceAdaptorDescriptor(ResourceAdaptorID component, DeployableUnitID deployableUnit, String source, LibraryID[] libraries, ResourceAdaptorTypeID[] raTypes, ProfileSpecificationID[] profileSpecs, boolean supportsActiveReconfiguration)
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.NullPointerException
- if any argument is null
.public final ResourceAdaptorTypeID getResourceAdaptorType()
getResourceAdaptorTypes()
, which replaces this method.public final ResourceAdaptorTypeID[] getResourceAdaptorTypes()
public final ProfileSpecificationID[] getProfileSpecifications()
public final boolean supportsActiveReconfiguration()
true
if the resource adaptor has indicated that its resource
adator entities support active reconfiguration, false
otherwise.public String toString()
toString
in class Object
Object.toString()