javax.slee.resource
Class ResourceAdaptorTypeDescriptor

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

public class ResourceAdaptorTypeDescriptor
extends ComponentDescriptor

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

See Also:
Serialized Form

Constructor Summary
ResourceAdaptorTypeDescriptor(ResourceAdaptorTypeID component, DeployableUnitID deployableUnit, java.lang.String source, LibraryID[] libraries, java.lang.String[] activityTypes, java.lang.String raInterface, EventTypeID[] eventTypes)
          Create a new resource adaptor type component descriptor.
 
Method Summary
 java.lang.String[] getActivityTypes()
          Get the fully-qualified class names of the activity types used by this resource adaptor type.
 EventTypeID[] getEventTypes()
          Get the component identifiers of the event types used by this resource adaptor type.
 java.lang.String getResourceAdaptorInterface()
          Get the fully-qualified class name of the resource adaptor interface provided by this resource adaptor type.
 java.lang.String toString()
          Get a string representation for this resource adaptor type 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

ResourceAdaptorTypeDescriptor

public ResourceAdaptorTypeDescriptor(ResourceAdaptorTypeID component,
                                     DeployableUnitID deployableUnit,
                                     java.lang.String source,
                                     LibraryID[] libraries,
                                     java.lang.String[] activityTypes,
                                     java.lang.String raInterface,
                                     EventTypeID[] eventTypes)
Create a new resource adaptor type 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.
activityTypes - the fully-qualified class names of the activity types used by this resource adaptor type.
raInterface - the fully-qualified class name of the resource adaptor type's resource adaptor interface. May be null if the resource adaptor type does not provide a resource adaptor interface.
eventTypes - the component identifiers of the event types used by this resource adaptor type.
Throws:
java.lang.NullPointerException - if any argument, other than raInterface is null.
Method Detail

getActivityTypes

public final java.lang.String[] getActivityTypes()
Get the fully-qualified class names of the activity types used by this resource adaptor type.

Returns:
the class names of the activity types used by this resource adaptor type.
Since:
SLEE 1.1

getResourceAdaptorInterface

public final java.lang.String getResourceAdaptorInterface()
Get the fully-qualified class name of the resource adaptor interface provided by this resource adaptor type.

Returns:
the class name of the resource adaptor interface provided by this resource adaptor type.
Since:
SLEE 1.1

getEventTypes

public final EventTypeID[] getEventTypes()
Get the component identifiers of the event types used by this resource adaptor type.

Returns:
the component identifiers of the event types used by this resource adaptor type.

toString

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

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


Copyright © 2009. All Rights Reserved.