javax.slee.management
Class EventTypeDescriptor

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

public class EventTypeDescriptor
extends ComponentDescriptor

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

See Also:
Serialized Form

Constructor Summary
EventTypeDescriptor(EventTypeID component, DeployableUnitID deployableUnit, java.lang.String source, LibraryID[] libraries, java.lang.String eventClass)
          Create a new event type component descriptor.
 
Method Summary
 java.lang.String getEventClassName()
          Get the fully-qualified name of the interface or class used as the event class.
 java.lang.String toString()
          Get a string representation for this event 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

EventTypeDescriptor

public EventTypeDescriptor(EventTypeID component,
                           DeployableUnitID deployableUnit,
                           java.lang.String source,
                           LibraryID[] libraries,
                           java.lang.String eventClass)
Create a new event 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.
eventClass - the fully-qualified name of the interface or class used as the event class.
Throws:
java.lang.NullPointerException - if any argument is null.
Method Detail

getEventClassName

public final java.lang.String getEventClassName()
Get the fully-qualified name of the interface or class used as the event class.

Returns:
the name of the interface or class used as the event class.

toString

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

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


Copyright © 2008. All Rights Reserved.