AbstractCapability provides a foundation for user-defined capabilities
by allowing users to focus on their operations and capability-specific
logic without having to worry about maintaining Muse components and
other plumbing work.
AbstractFilePersistence is an abstract component that provides generic
resource-state-to-file utilities without specifying the format of the XML
that goes into the files.
AbstractManageabilityCapability is an extension of
AbstractWsResourceCapability that
provides one additional initialization step: if the resource uses
the ManageabilityCharacteristics
capability, then this capability's URI will be added to the
muws1:ManageabilityCapability property.
AbstractMessageHandler is a convenience class that implements all of the
accessor methods of MessageHandler, leaving
only the serialization methods (fromXML(Element) and toXML(Object)).
AbstractProxyHandler is a convenience class that implements all of the
accessor methods of ProxyHandler, leaving only
the serialization methods (fromXML(Element) and toXML(Object[])).
This is a convenience constructor that calls
this(EndpointReference, EndpointReference) with the WS-A
anonymous EPR as the second parameter (the source EPR).
This is a convenience constructor that calls
this(EndpointReference, EndpointReference, SoapClient) with
the SoapClient provided by the given Environment.
This method allows you to add message content in its XML form - the
element will be added as the last child under the wsnt:Message part
of the notification message.
Creates a new Relationship resource with the given values, adds it to
the ResourceManager and the participant resources' WS-RP container, and
returns it to the caller.
This method is for internal (service-side) code that wishes to add a
subscription that has already been created (perhaps from data residing
in a persistent data store) and does not require a call to subscribe().
Converts an object into its XML representation; this usually means
that the object's toString() method is called and the result used
to create a DOM Text object.
Users can override this method to provide a different implementation of
the WS-N client class without changing the implementation of subscription
management.
Users can override this method to provide an alternative implementation
of ChangeNotificationListenerFactory that wraps WS-RP change notifications
in a different set of XML content.
This method returns the concrete WSRP state model - this is not
the implementation of the WSRP capabilities (which map SOAP
requests to WSRP operations), but it does implement the actual
WSRP operations and does the delegation of read/write requests
to the capabilities defining the properties.
Finds the resource type definition associated with the given context
path (defined in muse.xml), instantiates an instance of the resource
class, and sets the basic values (EPR, initialization parameters, etc.)
and Muse components (Environment, log file, etc.) that it needs to
operate.
Creates the proper file name for the given resource instance and then
delegates creation of the file's contents to the abstract method of
the same name.
This method should be overridden by concrete file-based persistence
classes to create the given file and fill it with the appropriate
XML content. Classes that are only interested in the serialization of
a certain capability's data can use the Resource object to get access
to said capability.
This implementation serializes the EPR to XML, then writes the
wsa:ReferenceParameters element to the file.