apache > ws.apache

## Apache Muse - WS-DistributedManagement - RelationshipResource Capability

Spec name and port type: WS-DistributedManagement v1.1 (no port type)

Capability URI: http://docs.oasis-open.org/wsdm/muws/capabilities/RelationshipResource

Description: This capability represents the WSDM relationship resource type, which is the unit of measure for the muws2:Relationship property that is defined by the Relationships capability. There is one relationship resource representing every instance of the muws2:Relationship property. This pattern is very similar to that of WSRF ServiceGroup and WSRF ServiceGroupEntry, where the former creates instances of the latter to represent the service group members; in this case, every time a relationship is created between two participants, each of them creates an instance of the muws2:Relationship property and then an instance of the relationship resource is created to represent the association.

Java interface: org.apache.muse.ws.dm.muws.RelationshipResource

> JAR file: muse-wsdm-muws-api.jar

Default Java implementation: org.apache.muse.ws.dm.muws.impl.SimpleRelationshipResource

> JAR file: muse-wsdm-muws-impl.jar

Action on initialize(): None.

Action on initializeCompleted(): None.

Action on prepareShutdown(): None.

Action on shutdown(): None.

Non-Core Dependencies: None.

Behavior and Limitations: The default implementation acts as a simple serialization mechanism for the muws2:Relationship property and does not take any role in the lifecycle management of the relationship resource. It is up to the participant resources or some third-party resource to destroy the relationship resource when the participants no longer need it.

Initialization parameters: None.