You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-commits@ws.apache.org by da...@apache.org on 2006/06/16 00:20:09 UTC
svn commit: r414696 [1/7] - in /webservices/muse/trunk/modules:
muse-wsdm-muws-adv/ muse-wsdm-muws-adv/src-api/
muse-wsdm-muws-adv/src-api/org/ muse-wsdm-muws-adv/src-api/org/apache/
muse-wsdm-muws-adv/src-api/org/apache/muse/ muse-wsdm-muws-adv/src-ap...
Author: danj
Date: Thu Jun 15 15:19:57 2006
New Revision: 414696
URL: http://svn.apache.org/viewvc?rev=414696&view=rev
Log:
Changed directory structure of source code so that files
are split into src-api and src-impl, with one Maven POM
for each sub-project. This was required because Maven
only generates one jar (build) per POM.
Added:
webservices/muse/trunk/modules/muse-wsdm-muws-adv/pom-api.xml
webservices/muse/trunk/modules/muse-wsdm-muws-adv/pom-impl.xml
webservices/muse/trunk/modules/muse-wsdm-muws-adv/src-api/
webservices/muse/trunk/modules/muse-wsdm-muws-adv/src-api/org/
webservices/muse/trunk/modules/muse-wsdm-muws-adv/src-api/org/apache/
webservices/muse/trunk/modules/muse-wsdm-muws-adv/src-api/org/apache/muse/
webservices/muse/trunk/modules/muse-wsdm-muws-adv/src-api/org/apache/muse/ws/
webservices/muse/trunk/modules/muse-wsdm-muws-adv/src-api/org/apache/muse/ws/dm/
webservices/muse/trunk/modules/muse-wsdm-muws-adv/src-api/org/apache/muse/ws/dm/muws/
webservices/muse/trunk/modules/muse-wsdm-muws-adv/src-api/org/apache/muse/ws/dm/muws/adv/
webservices/muse/trunk/modules/muse-wsdm-muws-adv/src-api/org/apache/muse/ws/dm/muws/adv/Advertisement.java
webservices/muse/trunk/modules/muse-wsdm-muws-adv/src-impl/
webservices/muse/trunk/modules/muse-wsdm-muws-adv/src-impl/org/
webservices/muse/trunk/modules/muse-wsdm-muws-adv/src-impl/org/apache/
webservices/muse/trunk/modules/muse-wsdm-muws-adv/src-impl/org/apache/muse/
webservices/muse/trunk/modules/muse-wsdm-muws-adv/src-impl/org/apache/muse/ws/
webservices/muse/trunk/modules/muse-wsdm-muws-adv/src-impl/org/apache/muse/ws/dm/
webservices/muse/trunk/modules/muse-wsdm-muws-adv/src-impl/org/apache/muse/ws/dm/muws/
webservices/muse/trunk/modules/muse-wsdm-muws-adv/src-impl/org/apache/muse/ws/dm/muws/adv/
webservices/muse/trunk/modules/muse-wsdm-muws-adv/src-impl/org/apache/muse/ws/dm/muws/adv/impl/
webservices/muse/trunk/modules/muse-wsdm-muws-adv/src-impl/org/apache/muse/ws/dm/muws/adv/impl/SimpleAdvertisement.java
webservices/muse/trunk/modules/muse-wsdm-muws/pom-api.xml
webservices/muse/trunk/modules/muse-wsdm-muws/pom-impl.xml
webservices/muse/trunk/modules/muse-wsdm-muws/src-api/
webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/
webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/
webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/
webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/
webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/
webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/
webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Configuration.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/CorrelatableProperties.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Correlation.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/CorrelationFactory.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Description.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Identity.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/ManageabilityCapability.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/ManageabilityCharacteristics.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Match.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Metric.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Metrics.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/MuwsConstants.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/OperationalStatus.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Participant.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/RelationshipResource.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/RelationshipType.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Relationships.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/State.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/StateTransition.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/StateType.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/ext/
webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/ext/MuwsExtConstants.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/ext/faults/
webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/ext/faults/RelationshipCreationFailedFault.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/AbstractManageabilityCapability.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/AllMatch.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/AnyMatch.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/ComplexMatch.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/MatchCorrelation.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/MatchFactory.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/Messages.properties
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/MetricDecorationProvider.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/MetricOnDemandListener.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/MetricUpdateListener.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/QueryRelationships.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/QueryRelationshipsHandler.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/QueryRelationshipsResponse.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/SimpleConfiguration.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/SimpleCorrelatableProperties.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/SimpleCorrelationFactory.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/SimpleDescription.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/SimpleIdentity.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/SimpleManageabilityCharacteristics.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/SimpleMatch.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/SimpleMetric.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/SimpleMetrics.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/SimpleOperationalStatus.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/SimpleParticipant.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/SimpleRelationshipResource.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/SimpleRelationshipType.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/SimpleRelationships.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/SimpleState.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/SimpleStateTransition.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/SimpleStateType.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/impl/XPathCorrelation.java
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/remote/
webservices/muse/trunk/modules/muse-wsdm-muws/src-impl/org/apache/muse/ws/dm/muws/remote/RelationshipsClient.java
webservices/muse/trunk/modules/muse-wsdm-wef/pom-api.xml
webservices/muse/trunk/modules/muse-wsdm-wef/pom-impl.xml
webservices/muse/trunk/modules/muse-wsdm-wef/src-api/
webservices/muse/trunk/modules/muse-wsdm-wef/src-api/org/
webservices/muse/trunk/modules/muse-wsdm-wef/src-api/org/apache/
webservices/muse/trunk/modules/muse-wsdm-wef/src-api/org/apache/muse/
webservices/muse/trunk/modules/muse-wsdm-wef/src-api/org/apache/muse/ws/
webservices/muse/trunk/modules/muse-wsdm-wef/src-api/org/apache/muse/ws/dm/
webservices/muse/trunk/modules/muse-wsdm-wef/src-api/org/apache/muse/ws/dm/muws/
webservices/muse/trunk/modules/muse-wsdm-wef/src-api/org/apache/muse/ws/dm/muws/events/
webservices/muse/trunk/modules/muse-wsdm-wef/src-api/org/apache/muse/ws/dm/muws/events/Component.java
webservices/muse/trunk/modules/muse-wsdm-wef/src-api/org/apache/muse/ws/dm/muws/events/ComponentAddress.java
webservices/muse/trunk/modules/muse-wsdm-wef/src-api/org/apache/muse/ws/dm/muws/events/ExtendedElements.java
webservices/muse/trunk/modules/muse-wsdm-wef/src-api/org/apache/muse/ws/dm/muws/events/ManagementEvent.java
webservices/muse/trunk/modules/muse-wsdm-wef/src-api/org/apache/muse/ws/dm/muws/events/Situation.java
webservices/muse/trunk/modules/muse-wsdm-wef/src-api/org/apache/muse/ws/dm/muws/events/SubstitutableMessage.java
webservices/muse/trunk/modules/muse-wsdm-wef/src-api/org/apache/muse/ws/dm/muws/events/WefConstants.java
webservices/muse/trunk/modules/muse-wsdm-wef/src-api/org/apache/muse/ws/dm/muws/events/WefFactory.java
webservices/muse/trunk/modules/muse-wsdm-wef/src-impl/
webservices/muse/trunk/modules/muse-wsdm-wef/src-impl/org/
webservices/muse/trunk/modules/muse-wsdm-wef/src-impl/org/apache/
webservices/muse/trunk/modules/muse-wsdm-wef/src-impl/org/apache/ws/
webservices/muse/trunk/modules/muse-wsdm-wef/src-impl/org/apache/ws/dm/
webservices/muse/trunk/modules/muse-wsdm-wef/src-impl/org/apache/ws/dm/muws/
webservices/muse/trunk/modules/muse-wsdm-wef/src-impl/org/apache/ws/dm/muws/events/
webservices/muse/trunk/modules/muse-wsdm-wef/src-impl/org/apache/ws/dm/muws/events/impl/
webservices/muse/trunk/modules/muse-wsdm-wef/src-impl/org/apache/ws/dm/muws/events/impl/AbstractExtendedElements.java
webservices/muse/trunk/modules/muse-wsdm-wef/src-impl/org/apache/ws/dm/muws/events/impl/SimpleComponent.java
webservices/muse/trunk/modules/muse-wsdm-wef/src-impl/org/apache/ws/dm/muws/events/impl/SimpleComponentAddress.java
webservices/muse/trunk/modules/muse-wsdm-wef/src-impl/org/apache/ws/dm/muws/events/impl/SimpleManagementEvent.java
webservices/muse/trunk/modules/muse-wsdm-wef/src-impl/org/apache/ws/dm/muws/events/impl/SimpleSituation.java
webservices/muse/trunk/modules/muse-wsdm-wef/src-impl/org/apache/ws/dm/muws/events/impl/SimpleSubstitutableMessage.java
webservices/muse/trunk/modules/muse-wsdm-wef/src-impl/org/apache/ws/dm/muws/events/impl/SimpleWefFactory.java
webservices/muse/trunk/modules/muse-wsn/pom-api.xml
webservices/muse/trunk/modules/muse-wsn/pom-impl.xml
webservices/muse/trunk/modules/muse-wsn/src-api/
webservices/muse/trunk/modules/muse-wsn/src-api/org/
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/Filter.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/NotificationConsumer.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/NotificationMessage.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/NotificationMessageListener.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/NotificationProducer.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/Policy.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/PullPoint.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/PullPointCreation.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/PullPointDataStore.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/SubscriptionManager.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/WsnConstants.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/faults/
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/faults/InvalidFilterFault.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/faults/InvalidMessageContentExpressionFault.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/faults/InvalidProducerPropertiesExpressionFault.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/faults/InvalidTopicExpressionFault.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/faults/MultipleTopicsSpecifiedFault.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/faults/NoCurrentMessageOnTopicFault.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/faults/NotifyMessageNotSupportedFault.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/faults/PauseFailedFault.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/faults/ResumeFailedFault.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/faults/SubscribeCreationFailedFault.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/faults/TopicExpressionDialectUnknownFault.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/faults/TopicNotSupportedFault.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/faults/UnableToCreatePullPointFault.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/faults/UnableToGetMessagesFault.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/faults/UnacceptableInitialTerminationTimeFault.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/faults/UnrecognizedPolicyRequestFault.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/faults/UnsupportedPolicyRequestFault.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/topics/
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/topics/Topic.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/topics/TopicNamespace.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/topics/TopicPathExpression.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/topics/TopicSet.java
webservices/muse/trunk/modules/muse-wsn/src-api/org/apache/muse/ws/notification/topics/WstConstants.java
webservices/muse/trunk/modules/muse-wsn/src-impl/
webservices/muse/trunk/modules/muse-wsn/src-impl/org/
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/impl/
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/impl/FilterFactory.java
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/impl/MessagePatternFilter.java
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/impl/Messages.properties
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/impl/NotificationMessageSerializer.java
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/impl/ProducerPropertiesFilter.java
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/impl/PublishAllMessagesFilter.java
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/impl/SimpleNotificationConsumer.java
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/impl/SimpleNotificationMessage.java
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/impl/SimpleNotificationProducer.java
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/impl/SimplePullPoint.java
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/impl/SimplePullPointCreation.java
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/impl/SimplePullPointDataStore.java
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/impl/SimpleSubscriptionManager.java
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/impl/Subscribe.java
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/impl/SubscribeHandler.java
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/impl/SubscribeResponse.java
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/impl/TopicFilter.java
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/properties/
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/properties/AbstractMessageListener.java
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/properties/ChangeNotificationListener.java
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/properties/ChangeNotificationListenerFactory.java
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/properties/Messages.properties
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/properties/WsrpNotificationListenerFactory.java
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/remote/
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/remote/NotificationConsumerClient.java
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/remote/NotificationProducerClient.java
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/remote/SubscriptionClient.java
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/topics/
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/topics/impl/
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/topics/impl/ConcretePathExpression.java
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/topics/impl/Messages.properties
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/topics/impl/SimpleTopic.java
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/topics/impl/SimpleTopicNamespace.java
webservices/muse/trunk/modules/muse-wsn/src-impl/org/apache/muse/ws/notification/topics/impl/SimpleTopicSet.java
Removed:
webservices/muse/trunk/modules/muse-wsdm-muws-adv/src/
webservices/muse/trunk/modules/muse-wsdm-muws/src/
webservices/muse/trunk/modules/muse-wsdm-wef/src/
webservices/muse/trunk/modules/muse-wsn/src/
Added: webservices/muse/trunk/modules/muse-wsdm-muws-adv/pom-api.xml
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-wsdm-muws-adv/pom-api.xml?rev=414696&view=auto
==============================================================================
--- webservices/muse/trunk/modules/muse-wsdm-muws-adv/pom-api.xml (added)
+++ webservices/muse/trunk/modules/muse-wsdm-muws-adv/pom-api.xml Thu Jun 15 15:19:57 2006
@@ -0,0 +1,49 @@
+<?xml version="1.0"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsdm-muws-adv-api</artifactId>
+ <packaging>jar</packaging>
+ <version>1.9.0-SNAPSHOT</version>
+ <name>Apache Muse - WSDM MUWS 1.1 Advertisement API</name>
+ <url>http://ws.apache.org/muse</url>
+ <dependencies>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-core</artifactId>
+ <version>1.9.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-util-qname</artifactId>
+ <version>1.9.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsa-soap</artifactId>
+ <version>1.9.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsrf-api</artifactId>
+ <version>1.9.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsdm-muws-api</artifactId>
+ <version>1.9.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+ <build>
+ <sourceDirectory>src-api</sourceDirectory>
+ <outputDirectory>build/classes-api</outputDirectory>
+ <directory>build/jars</directory>
+ </build>
+</project>
Added: webservices/muse/trunk/modules/muse-wsdm-muws-adv/pom-impl.xml
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-wsdm-muws-adv/pom-impl.xml?rev=414696&view=auto
==============================================================================
--- webservices/muse/trunk/modules/muse-wsdm-muws-adv/pom-impl.xml (added)
+++ webservices/muse/trunk/modules/muse-wsdm-muws-adv/pom-impl.xml Thu Jun 15 15:19:57 2006
@@ -0,0 +1,97 @@
+<?xml version="1.0"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsdm-muws-adv-impl</artifactId>
+ <packaging>jar</packaging>
+ <version>1.9.0-SNAPSHOT</version>
+ <name>Apache Muse - WSDM MUWS 1.1 Advertisement Default Implementation</name>
+ <url>http://ws.apache.org/muse</url>
+ <dependencies>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-core</artifactId>
+ <version>1.9.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-util</artifactId>
+ <version>1.9.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-util-qname</artifactId>
+ <version>1.9.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-util-xml</artifactId>
+ <version>1.9.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsa-soap</artifactId>
+ <version>1.9.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsrf-api</artifactId>
+ <version>1.9.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsrf-impl</artifactId>
+ <version>1.9.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsn-api</artifactId>
+ <version>1.9.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsn-impl</artifactId>
+ <version>1.9.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsdm-wef-api</artifactId>
+ <version>1.9.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsdm-wef-impl</artifactId>
+ <version>1.9.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsdm-muws-api</artifactId>
+ <version>1.9.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsdm-muws-adv-api</artifactId>
+ <version>1.9.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+ <build>
+ <sourceDirectory>src-impl</sourceDirectory>
+ <outputDirectory>build/classes-impl</outputDirectory>
+ <directory>build/jars</directory>
+ </build>
+</project>
Added: webservices/muse/trunk/modules/muse-wsdm-muws-adv/src-api/org/apache/muse/ws/dm/muws/adv/Advertisement.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-wsdm-muws-adv/src-api/org/apache/muse/ws/dm/muws/adv/Advertisement.java?rev=414696&view=auto
==============================================================================
--- webservices/muse/trunk/modules/muse-wsdm-muws-adv/src-api/org/apache/muse/ws/dm/muws/adv/Advertisement.java (added)
+++ webservices/muse/trunk/modules/muse-wsdm-muws-adv/src-api/org/apache/muse/ws/dm/muws/adv/Advertisement.java Thu Jun 15 15:19:57 2006
@@ -0,0 +1,32 @@
+/*=============================================================================*
+ * Copyright 2006 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+
+package org.apache.muse.ws.dm.muws.adv;
+
+import org.apache.muse.core.Capability;
+
+/**
+ *
+ * @author Dan Jemiolo (danj)
+ *
+ */
+
+public interface Advertisement extends Capability
+{
+ //
+ // no additional methods
+ //
+}
Added: webservices/muse/trunk/modules/muse-wsdm-muws-adv/src-impl/org/apache/muse/ws/dm/muws/adv/impl/SimpleAdvertisement.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-wsdm-muws-adv/src-impl/org/apache/muse/ws/dm/muws/adv/impl/SimpleAdvertisement.java?rev=414696&view=auto
==============================================================================
--- webservices/muse/trunk/modules/muse-wsdm-muws-adv/src-impl/org/apache/muse/ws/dm/muws/adv/impl/SimpleAdvertisement.java (added)
+++ webservices/muse/trunk/modules/muse-wsdm-muws-adv/src-impl/org/apache/muse/ws/dm/muws/adv/impl/SimpleAdvertisement.java Thu Jun 15 15:19:57 2006
@@ -0,0 +1,175 @@
+/*=============================================================================*
+ * Copyright 2006 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+
+package org.apache.muse.ws.dm.muws.adv.impl;
+
+import javax.xml.namespace.QName;
+
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+
+import org.apache.muse.core.AbstractCapability;
+import org.apache.muse.core.Environment;
+import org.apache.muse.core.Resource;
+import org.apache.muse.core.ResourceManager;
+import org.apache.muse.core.ResourceManagerListener;
+import org.apache.muse.util.xml.XmlUtils;
+import org.apache.muse.ws.addressing.EndpointReference;
+import org.apache.muse.ws.addressing.soap.SoapFault;
+import org.apache.muse.ws.dm.muws.MuwsConstants;
+import org.apache.muse.ws.dm.muws.adv.Advertisement;
+import org.apache.muse.ws.dm.muws.events.Component;
+import org.apache.muse.ws.dm.muws.events.ComponentAddress;
+import org.apache.muse.ws.dm.muws.events.ManagementEvent;
+import org.apache.muse.ws.dm.muws.events.Situation;
+import org.apache.muse.ws.dm.muws.events.WefFactory;
+import org.apache.muse.ws.dm.muws.events.WefConstants;
+import org.apache.muse.ws.dm.muws.events.impl.SimpleWefFactory;
+import org.apache.muse.ws.notification.NotificationProducer;
+import org.apache.muse.ws.notification.WsnConstants;
+import org.apache.muse.ws.notification.impl.SimpleNotificationMessage;
+import org.apache.muse.ws.notification.impl.TopicFilter;
+
+/**
+ *
+ * @author Dan Jemiolo (danj)
+ *
+ */
+
+public class SimpleAdvertisement
+ extends AbstractCapability implements Advertisement, ResourceManagerListener
+{
+ private static final String _CONSUMER_EPR_PARAM = "initial-consumer-reference";
+
+ protected WefFactory createWefFactory()
+ {
+ return new SimpleWefFactory();
+ }
+
+ public void initializeCompleted()
+ throws SoapFault
+ {
+ super.initializeCompleted();
+
+ Resource resource = getResource();
+
+ //
+ // this allows the advertisement capability to hear about
+ // all resource lifecycle events that happen in the touchpoint
+ //
+ ResourceManager manager = resource.getResourceManager();
+ manager.addListener(this);
+
+ //
+ // initialize the advertisement topics
+ //
+ NotificationProducer wsn =
+ (NotificationProducer)resource.getCapability(WsnConstants.PRODUCER_URI);
+
+ wsn.addTopic(MuwsConstants.ADV_ME_CREATION_TOPIC);
+ wsn.addTopic(MuwsConstants.ADV_ME_DESTRUCTION_TOPIC);
+
+ //
+ // create subscriptions for all event consumer that are going to
+ // receive notifications from the above topics
+ //
+ subscribeInitialConsumer();
+ }
+
+ public void resourceAdded(EndpointReference epr, Resource resource)
+ throws SoapFault
+ {
+ Element payload = XmlUtils.createElement(MuwsConstants.MANAGEABILITY_EPR_QNAME, epr.toXML());
+ sendMessage(epr, MuwsConstants.ADV_ME_CREATION_TOPIC, MuwsConstants.CREATE_NOTIFICATION_QNAME, payload);
+ }
+
+ public void resourceRemoved(EndpointReference epr)
+ throws SoapFault
+ {
+ Element payload = XmlUtils.createElement(MuwsConstants.DESTROY_NOTIFICATION_QNAME);
+ sendMessage(epr, MuwsConstants.ADV_ME_DESTRUCTION_TOPIC, WefConstants.DESTROY_SITUATION_QNAME, payload);
+
+ Resource advertiser = getResource();
+
+ if (advertiser.hasBeenShutdown())
+ advertiser.getResourceManager().removeListener(this);
+ }
+
+ protected void sendMessage(EndpointReference sourceEPR,
+ QName topicName,
+ QName situationCategory,
+ Element payload)
+ throws SoapFault
+ {
+ Resource advertiser = getResource();
+
+ WefFactory factory = createWefFactory();
+ ManagementEvent event = factory.createEvent();
+
+ event.addExtendedElement(payload);
+
+ Component source = factory.createComponent();
+ source.setName(WefConstants.SOURCE_COMP_QNAME);
+
+ ComponentAddress address = factory.createComponentAddress(sourceEPR);
+ source.setAddress(address);
+
+ event.setSource(source);
+
+ Component reporter = factory.createComponent();
+ reporter.setName(WefConstants.REPORTER_COMP_QNAME);
+
+ address = factory.createComponentAddress(advertiser.getEndpointReference());
+ reporter.setAddress(address);
+
+ event.setReporter(reporter);
+
+ Situation situation = factory.createSituation();
+ situation.setCategoryType(situationCategory);
+ event.setSituation(situation);
+
+ SimpleNotificationMessage message = new SimpleNotificationMessage(topicName);
+ message.addMessageContent(event.toXML());
+
+ NotificationProducer wsn = (NotificationProducer)advertiser.getCapability(WsnConstants.PRODUCER_URI);
+ wsn.publish(message);
+ }
+
+ protected void subscribeInitialConsumer()
+ throws SoapFault
+ {
+ String fileName = getInitializationParameter(_CONSUMER_EPR_PARAM);
+
+ //
+ // pre-existing consumer is optional - other consumers can
+ // still subscribe using WS-N
+ //
+ if (fileName != null)
+ {
+ Environment env = getResource().getEnvironment();
+ Document eprDoc = env.getDocument(fileName);
+ Element eprXML = XmlUtils.getFirstElement(eprDoc);
+
+ EndpointReference epr = new EndpointReference(eprXML);
+
+ NotificationProducer wsn =
+ (NotificationProducer)getResource().getCapability(WsnConstants.PRODUCER_URI);
+
+ wsn.subscribe(epr, new TopicFilter(MuwsConstants.ADV_ME_CREATION_TOPIC), null, null);
+ wsn.subscribe(epr, new TopicFilter(MuwsConstants.ADV_ME_DESTRUCTION_TOPIC), null, null);
+ }
+ }
+}
Added: webservices/muse/trunk/modules/muse-wsdm-muws/pom-api.xml
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-wsdm-muws/pom-api.xml?rev=414696&view=auto
==============================================================================
--- webservices/muse/trunk/modules/muse-wsdm-muws/pom-api.xml (added)
+++ webservices/muse/trunk/modules/muse-wsdm-muws/pom-api.xml Thu Jun 15 15:19:57 2006
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsdm-muws-api</artifactId>
+ <packaging>jar</packaging>
+ <version>1.9.0-SNAPSHOT</version>
+ <name>Apache Muse - WSDM MUWS 1.1 API</name>
+ <url>http://ws.apache.org/muse</url>
+ <dependencies>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-core</artifactId>
+ <version>1.9.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-util-qname</artifactId>
+ <version>1.9.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsa-soap</artifactId>
+ <version>1.9.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsrf-api</artifactId>
+ <version>1.9.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+ <build>
+ <sourceDirectory>src-api</sourceDirectory>
+ <outputDirectory>build/classes-api</outputDirectory>
+ <directory>build/jars</directory>
+ </build>
+</project>
Added: webservices/muse/trunk/modules/muse-wsdm-muws/pom-impl.xml
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-wsdm-muws/pom-impl.xml?rev=414696&view=auto
==============================================================================
--- webservices/muse/trunk/modules/muse-wsdm-muws/pom-impl.xml (added)
+++ webservices/muse/trunk/modules/muse-wsdm-muws/pom-impl.xml Thu Jun 15 15:19:57 2006
@@ -0,0 +1,67 @@
+<?xml version="1.0"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsdm-muws-impl</artifactId>
+ <packaging>jar</packaging>
+ <version>1.9.0-SNAPSHOT</version>
+ <name>Apache Muse - WSDM MUWS 1.1 Default Implementation</name>
+ <url>http://ws.apache.org/muse</url>
+ <dependencies>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-core</artifactId>
+ <version>1.9.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-util</artifactId>
+ <version>1.9.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-util-qname</artifactId>
+ <version>1.9.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-util-xml</artifactId>
+ <version>1.9.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsa-soap</artifactId>
+ <version>1.9.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsrf-api</artifactId>
+ <version>1.9.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsrf-impl</artifactId>
+ <version>1.9.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsdm-muws-api</artifactId>
+ <version>1.9.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+ <build>
+ <sourceDirectory>src-impl</sourceDirectory>
+ <outputDirectory>build/classes-impl</outputDirectory>
+ <directory>build/jars</directory>
+ </build>
+</project>
Added: webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Configuration.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Configuration.java?rev=414696&view=auto
==============================================================================
--- webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Configuration.java (added)
+++ webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Configuration.java Thu Jun 15 15:19:57 2006
@@ -0,0 +1,34 @@
+/*=============================================================================*
+ * Copyright 2006 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+
+package org.apache.muse.ws.dm.muws;
+
+/**
+ *
+ * This is an internal representation of the Configuration capability, which
+ * defines no properties, operations, or events. It currently exists purely
+ * to define the semantics of modifiable resource properties.
+ *
+ * @author Dan Jemiolo (danj)
+ *
+ */
+
+public interface Configuration extends ManageabilityCapability
+{
+ //
+ // no additional methods
+ //
+}
Added: webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/CorrelatableProperties.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/CorrelatableProperties.java?rev=414696&view=auto
==============================================================================
--- webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/CorrelatableProperties.java (added)
+++ webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/CorrelatableProperties.java Thu Jun 15 15:19:57 2006
@@ -0,0 +1,72 @@
+/*=============================================================================*
+ * Copyright 2006 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+
+package org.apache.muse.ws.dm.muws;
+
+import javax.xml.namespace.QName;
+
+import org.apache.muse.ws.addressing.EndpointReference;
+import org.apache.muse.ws.addressing.soap.SoapFault;
+import org.apache.muse.ws.resource.basefaults.BaseFault;
+
+/**
+ *
+ * This is an internal representation of the CorrelatableProperties capability.
+ *
+ * @author Dan Jemiolo (danj)
+ *
+ */
+
+public interface CorrelatableProperties extends ManageabilityCapability
+{
+ QName[] PROPERTIES = new QName[]{
+ MuwsConstants.CORRELATABLE_QNAME
+ };
+
+ /**
+ *
+ * @param correlation
+ * A new correlation expression that will be recorded in a new
+ * instance of CorrelatableProperties.
+ *
+ * @throws BaseFault
+ * <ul>
+ * <li>If there is a WS-RP based error.</li>
+ * </ul>
+ *
+ */
+ void addCorrelation(Correlation correlation)
+ throws BaseFault;
+
+ /**
+ *
+ * @return The Correlation expressions defined in the instances of
+ * CorrelatableProperties. Each Correlation can be evaluated
+ * against a target Resource, and there is no requirement that
+ * a caller use all Correlations to decide whether two resources
+ * are the same.
+ *
+ * @throws BaseFault
+ * <ul>
+ * <li>If there is a WS-RP based error.</li>
+ * </ul>
+ */
+ Correlation[] getCorrelatableProperties()
+ throws BaseFault;
+
+ boolean matches(EndpointReference epr)
+ throws SoapFault;
+}
Added: webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Correlation.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Correlation.java?rev=414696&view=auto
==============================================================================
--- webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Correlation.java (added)
+++ webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Correlation.java Thu Jun 15 15:19:57 2006
@@ -0,0 +1,107 @@
+/*=============================================================================*
+ * Copyright 2006 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+
+package org.apache.muse.ws.dm.muws;
+
+import org.apache.muse.util.xml.XmlSerializable;
+import org.apache.muse.ws.addressing.EndpointReference;
+import org.apache.muse.ws.addressing.soap.SoapFault;
+import org.apache.muse.ws.resource.WsResource;
+import org.apache.muse.ws.resource.basefaults.BaseFault;
+
+/**
+ *
+ * Correlation is used to evaluate
+ * {@linkplain CorrelatableProperties CorrelatableProperties} expressions
+ * and determine if two endpoints point to the same resource instance. A
+ * resource that supports the CorrelatableProperties capability can define
+ * more than one Correlation; each Correlation represents one instance of
+ * the CorrelatableProperties resource property (the capability and property
+ * names are the same).
+ *
+ * @author Dan Jemiolo (danj)
+ *
+ */
+
+public interface Correlation extends XmlSerializable
+{
+ /**
+ *
+ * @return The dialect, or type, of the correlation expression. Users
+ * may define their own correlation types and declare the syntax
+ * with this method.
+ *
+ * @throws BaseFault
+ * <ul>
+ * <li>If there is a WS-RP based error.</li>
+ * </ul>
+ *
+ */
+ String getDialect()
+ throws BaseFault;
+
+ /**
+ *
+ * @return The local resource that is defining the CorrelatableProperties
+ * capability and, thus, this correlation expression.
+ *
+ */
+ WsResource getWsResource();
+
+ /**
+ *
+ * @return True if there is a guarantee that two resources are not the
+ * same when matches(Resource) returns 'false'. If this method
+ * returns 'false', the caller must rely on some other means to
+ * confirm that the resources are, in fact, different.
+ *
+ * @throws BaseFault
+ * <ul>
+ * <li>If there is a WS-RP based error.</li>
+ * </ul>
+ *
+ */
+ boolean hasNegativeAssertion()
+ throws BaseFault;
+
+ /**
+ *
+ * @param epr
+ * The EPR of another resource which may be the same as this
+ * resource.
+ *
+ * @return True if the two resources are the same according to their
+ * WSDM ResourceId values or their WSDM CorrelatableProperties
+ * expressions. Note that if the method returns 'false', this
+ * does not guarantee that the two resources are actually
+ * different - you can only confirm this by checking with the
+ * hasNegativeAssertions() method.
+ *
+ * @throws SoapFault
+ * <ul>
+ * <li>If there is a problem reading the correlatable properties
+ * from either resource.</li>
+ * <li>If the values or dialects of the correlatable properties
+ * are not supported. The built-in dialects are WSDM Property
+ * Boolean Match (PBM) and XPath 1.0.</li>
+ * </ul>
+ *
+ * @see #hasNegativeAssertion()
+ *
+ */
+ boolean matches(EndpointReference epr)
+ throws SoapFault;
+}
Added: webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/CorrelationFactory.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/CorrelationFactory.java?rev=414696&view=auto
==============================================================================
--- webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/CorrelationFactory.java (added)
+++ webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/CorrelationFactory.java Thu Jun 15 15:19:57 2006
@@ -0,0 +1,62 @@
+/*=============================================================================*
+ * Copyright 2006 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+
+package org.apache.muse.ws.dm.muws;
+
+import org.w3c.dom.Element;
+
+import org.apache.muse.ws.resource.WsResource;
+
+/**
+ *
+ * CorrelationFactory is a device for creating correlation expressions from
+ * their XML definitions without having to deal with concrete expression types.
+ *
+ * @author Dan Jemiolo (danj)
+ *
+ */
+
+public interface CorrelationFactory
+{
+ /**
+ *
+ * @param dialect
+ *
+ * @return True if the factory can create Correlations of the given type.
+ *
+ */
+ boolean hasDialect(String dialect);
+
+ /**
+ *
+ * Parses the given Element and creates a complete Correlation expression
+ * that can be evaluated against any WS-RF resource.
+ *
+ * @param owner
+ * The local resource that is implementing CorrelatableProperties.
+ *
+ * @param xml
+ * The DOM Element representing the expression. This fragment
+ * should have a root element whose QName is the MUWS (Part 1)
+ * CorrelatableProperties and which has a 'Dialect' attribute.
+ * The latter will be used to determine the type of Correlation
+ * to create.
+ *
+ * @return A Correlation that can be evaluated against any WS-RF resource.
+ *
+ */
+ Correlation newInstance(WsResource resource, Element xml);
+}
Added: webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Description.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Description.java?rev=414696&view=auto
==============================================================================
--- webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Description.java (added)
+++ webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Description.java Thu Jun 15 15:19:57 2006
@@ -0,0 +1,105 @@
+/*=============================================================================*
+ * Copyright 2006 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+
+package org.apache.muse.ws.dm.muws;
+
+import javax.xml.namespace.QName;
+
+import org.apache.muse.ws.resource.basefaults.BaseFault;
+
+/**
+ *
+ * This is an internal representation of the WSDM Description capability. It
+ * provides convenience methods for the Description properties (Description
+ * defines no operations of its own).
+ *
+ * @author Dan Jemiolo (danj)
+ *
+ */
+
+public interface Description extends ManageabilityCapability
+{
+ QName[] PROPERTIES = new QName[]{
+ MuwsConstants.CAPTION_QNAME,
+ MuwsConstants.DESCRIPTION_QNAME,
+ MuwsConstants.VERSION_QNAME
+ };
+
+ /**
+ *
+ * @return All instances of the Caption property. If there are no
+ * copies of Caption, the array will be empty.
+ *
+ * @throws BaseFault
+ * <ul>
+ * <li>If there is a WS-RP error while looking up the Caption.</li>
+ * </ul>
+ *
+ */
+ String[] getCaption()
+ throws BaseFault;
+
+ /**
+ *
+ * @return All instances of the Description property. If there are no
+ * copies of Description, the array will be empty.
+ *
+ * @throws BaseFault
+ * <ul>
+ * <li>If there is a WS-RP error while looking up the
+ * Description.</li>
+ * </ul>
+ *
+ */
+ String[] getDescription()
+ throws BaseFault;
+
+ String getVersion()
+ throws BaseFault;
+
+ /**
+ *
+ * Sets (updates or inserts) the Caption values.
+ *
+ * @param captions
+ *
+ * @throws BaseFault
+ * <ul>
+ * <li>If there is a WS-RP error while setting the Caption.</li>
+ * </ul>
+ *
+ */
+ void setCaption(String[] captions)
+ throws BaseFault;
+
+ /**
+ *
+ * Sets (updates or inserts) the Description values.
+ *
+ * @param descriptions
+ *
+ * @throws BaseFault
+ * <ul>
+ * <li>If there is a WS-RP error while setting the Description.</li>
+ * </ul>
+ *
+ */
+ void setDescription(String[] descriptions)
+ throws BaseFault;
+
+ void setVersion(String version)
+ throws BaseFault;
+}
Added: webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Identity.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Identity.java?rev=414696&view=auto
==============================================================================
--- webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Identity.java (added)
+++ webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Identity.java Thu Jun 15 15:19:57 2006
@@ -0,0 +1,55 @@
+/*=============================================================================*
+ * Copyright 2006 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+
+package org.apache.muse.ws.dm.muws;
+
+import java.net.URI;
+
+import javax.xml.namespace.QName;
+
+import org.apache.muse.ws.resource.basefaults.BaseFault;
+
+/**
+ *
+ * This is an internal representation of the WSDM Identity capability. It
+ * provides convenience methods for the Identity properties (Identity defines
+ * no operations of its own).
+ *
+ * @author Dan Jemiolo (danj)
+ *
+ */
+
+public interface Identity extends ManageabilityCapability
+{
+ QName[] PROPERTIES = new QName[]{
+ MuwsConstants.RESOURCE_ID_QNAME
+ };
+
+ /**
+ *
+ * @return The resource's unique ID, which is the value of the ResourceId
+ * property. This is typically implemented as a UUID, but this is
+ * not required.
+ *
+ * @throws BaseFault
+ * <ul>
+ * <li>If there is a WS-RP error while looking up the ResourceId.</li>
+ * </ul>
+ *
+ */
+ public URI getResourceId()
+ throws BaseFault;
+}
Added: webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/ManageabilityCapability.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/ManageabilityCapability.java?rev=414696&view=auto
==============================================================================
--- webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/ManageabilityCapability.java (added)
+++ webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/ManageabilityCapability.java Thu Jun 15 15:19:57 2006
@@ -0,0 +1,26 @@
+/*=============================================================================*
+ * Copyright 2006 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+
+package org.apache.muse.ws.dm.muws;
+
+import org.apache.muse.ws.resource.WsResourceCapability;
+
+public interface ManageabilityCapability extends WsResourceCapability
+{
+ //
+ // no additional methods (yet)
+ //
+}
Added: webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/ManageabilityCharacteristics.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/ManageabilityCharacteristics.java?rev=414696&view=auto
==============================================================================
--- webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/ManageabilityCharacteristics.java (added)
+++ webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/ManageabilityCharacteristics.java Thu Jun 15 15:19:57 2006
@@ -0,0 +1,64 @@
+/*=============================================================================*
+ * Copyright 2006 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+
+package org.apache.muse.ws.dm.muws;
+
+import javax.xml.namespace.QName;
+
+import org.apache.muse.ws.resource.basefaults.BaseFault;
+
+/**
+ *
+ * This is an internal representation of the WSDM ManageabilityCharacteristics
+ * capability. It provides convenience methods for accessing its one property,
+ * which is WSDM's ManageabilityCapability. Note that the values of this
+ * property is not set by this capability but by other capabilities that are
+ * registering themselves with the resource; this capability merely provides
+ * a method for reading those values.
+ *
+ * @author Dan Jemiolo (danj)
+ *
+ */
+
+public interface ManageabilityCharacteristics extends ManageabilityCapability
+{
+ QName[] PROPERTIES = new QName[]{
+ MuwsConstants.MANAGEABILITY_CAPABILITY_QNAME
+ };
+
+ void addManageabilityCapability(String capabilityURI)
+ throws BaseFault;
+
+ /**
+ *
+ * @return A List of Strings, where each String defines one manageability
+ * capability exposed by the resource. This List will contain
+ * URIs for all of the core capabilities as well as the
+ * user-defined capabilities.
+ *
+ * @throws BaseFault
+ * <ul>
+ * <li>If there is a WS-RP error while looking up the
+ * ManageabilityCapability.</li>
+ * </ul>
+ *
+ */
+ String[] getManageabilityCapability()
+ throws BaseFault;
+
+ boolean hasManageabilityCapability(String capabilityURI)
+ throws BaseFault;
+}
Added: webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Match.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Match.java?rev=414696&view=auto
==============================================================================
--- webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Match.java (added)
+++ webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Match.java Thu Jun 15 15:19:57 2006
@@ -0,0 +1,78 @@
+/*=============================================================================*
+ * Copyright 2006 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+
+package org.apache.muse.ws.dm.muws;
+
+import java.util.List;
+
+import org.apache.muse.ws.addressing.EndpointReference;
+import org.apache.muse.ws.addressing.soap.SoapFault;
+import org.apache.muse.ws.resource.WsResource;
+import org.apache.muse.util.xml.XmlSerializable;
+
+/**
+ *
+ * Match represents correlation expressions formatted with the MUWS Simple
+ * Property Boolean Match (PBM) schema. PBM allows the user to declare fairly
+ * complex conditionals for evaluating two resources for equality. The
+ * official PBM Match types are Match, MatchAll, and MatchAny.
+ *
+ * @author Dan Jemiolo (danj)
+ *
+ */
+
+public interface Match extends XmlSerializable
+{
+ /**
+ *
+ * @param child
+ * A subexpression that must be evaluated as part of this
+ * larger expression.
+ *
+ */
+ void addMatch(Match child);
+
+ /**
+ *
+ * @return An ordered list of subexpressions in this Match. If there are
+ * no subexpressions, the list is empty.
+ *
+ */
+ List getMatches();
+
+ /**
+ *
+ * @return The local resource that is defining the CorrelatableProperties
+ * capability and, thus, this correlation expression.
+ *
+ */
+ WsResource getWsResource();
+
+ /**
+ *
+ * @param epr
+ * The EPR to another resource which may be the same as this
+ * resource.
+ *
+ * @return True if the two resources are the same according to the
+ * conditional test executed by the Match.
+ *
+ */
+ boolean matches(EndpointReference epr)
+ throws SoapFault;
+
+ void removeMatch(Match child);
+}
Added: webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Metric.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Metric.java?rev=414696&view=auto
==============================================================================
--- webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Metric.java (added)
+++ webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Metric.java Thu Jun 15 15:19:57 2006
@@ -0,0 +1,85 @@
+/*=============================================================================*
+ * Copyright 2006 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+
+package org.apache.muse.ws.dm.muws;
+
+import java.net.URI;
+import java.util.Date;
+
+import javax.xml.namespace.QName;
+
+import org.apache.muse.ws.resource.WsResource;
+import org.apache.muse.ws.resource.basefaults.BaseFault;
+
+public interface Metric
+{
+ int COUNTER = 1;
+
+ int GAUGE = 2;
+
+ int UNKNOWN = 3;
+
+ int INTERVAL = 4;
+
+ int POINT_IN_TIME = 5;
+
+ int SINCE_RESET = 6;
+
+ int ON_CHANGE = 7;
+
+ int ON_DEMAND = 8;
+
+ int PERIODIC = 9;
+
+ WsResource getWsResource();
+
+ String getDuration();
+
+ URI getGroup();
+
+ long getInterval();
+
+ String getIntervalString();
+
+ Date getLastUpdated();
+
+ QName getName();
+
+ Date getResetAt();
+
+ boolean hasBeenReset();
+
+ boolean isCounter();
+
+ boolean isGauge();
+
+ boolean isInterval();
+
+ boolean isOnChange();
+
+ boolean isOnDemand();
+
+ boolean isPeriodic();
+
+ boolean isPointInTime();
+
+ boolean isSinceReset();
+
+ void reset(Object value)
+ throws BaseFault;
+
+ void update();
+}
Added: webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Metrics.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Metrics.java?rev=414696&view=auto
==============================================================================
--- webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Metrics.java (added)
+++ webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/Metrics.java Thu Jun 15 15:19:57 2006
@@ -0,0 +1,63 @@
+/*=============================================================================*
+ * Copyright 2006 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+
+package org.apache.muse.ws.dm.muws;
+
+import java.util.Date;
+
+import javax.xml.namespace.QName;
+
+import org.apache.muse.ws.resource.basefaults.BaseFault;
+
+/**
+ *
+ * Metrics is an internal representation of the Metrics capability. It
+ * provides access to the one Metrics property (CurrentTime) along with
+ * methods for reading and modifying metrics based on existing properties.
+ *
+ * @author Dan Jemiolo (danj)
+ *
+ */
+
+public interface Metrics extends ManageabilityCapability
+{
+ QName[] PROPERTIES = new QName[]{
+ MuwsConstants.CURRENT_TIME_QNAME
+ };
+
+ /**
+ *
+ * @return The current time, according to the resource or its manager.
+ *
+ * @throws BaseFault
+ * <ul>
+ * <li>If there is a WS-RP-based error.</li>
+ * </ul>
+ *
+ */
+ Date getCurrentTime()
+ throws BaseFault;
+
+ /**
+ *
+ * @param propertyQName
+ * The name of the property that is also defined as a metric.
+ *
+ * @return The collection of metadata for the metric.
+ *
+ */
+ Metric getMetric(QName propertyQName);
+}
Added: webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/MuwsConstants.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/MuwsConstants.java?rev=414696&view=auto
==============================================================================
--- webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/MuwsConstants.java (added)
+++ webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/MuwsConstants.java Thu Jun 15 15:19:57 2006
@@ -0,0 +1,358 @@
+/*=============================================================================*
+ * Copyright 2006 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+
+package org.apache.muse.ws.dm.muws;
+
+import javax.xml.namespace.QName;
+
+/**
+ *
+ * MuwsConstants is a collection of properties that is useful when programming
+ * against the WSDM MUWS spec (parts 1 and 2).
+ *
+ * @author Dan Jemiolo (danj)
+ *
+ */
+
+public class MuwsConstants
+{
+ /**
+ *
+ * The base for all WSDM capability URIs.
+ *
+ */
+ public static final String BASE_CAPABILITIES_URI =
+ "http://docs.oasis-open.org/wsdm/muws/capabilities";
+
+ /**
+ *
+ * The WSDM Advertisement namespace URI.
+ *
+ */
+ public static final String ADVERTISEMENT_URI =
+ BASE_CAPABILITIES_URI + "/Advertisement";
+
+ /**
+ *
+ * The WSDM ManageabilityCharacteristics namespace URI.
+ *
+ */
+ public static final String CHARACTERISTICS_URI =
+ BASE_CAPABILITIES_URI + "/ManageabilityCharacteristics";
+
+ /**
+ *
+ * The WSDM Configuration namespace URI.
+ *
+ */
+ public static final String CONFIGURATION_URI =
+ BASE_CAPABILITIES_URI + "/Configuration";
+
+ /**
+ *
+ * The WSDM CorrelatableProperties namespace URI.
+ *
+ */
+ public static final String CORRELATABLE_URI =
+ BASE_CAPABILITIES_URI + "/CorrelatableProperties";
+
+ /**
+ *
+ * The WSDM Description namespace URI.
+ *
+ */
+ public static final String DESCRIPTION_URI =
+ BASE_CAPABILITIES_URI + "/Description";
+
+ /**
+ *
+ * The WSDM Identity namespace URI.
+ *
+ */
+ public static final String IDENTITY_URI =
+ BASE_CAPABILITIES_URI + "/Identity";
+
+ /**
+ *
+ * The WSDM Metrics namespace URI.
+ *
+ */
+ public static final String METRICS_URI =
+ BASE_CAPABILITIES_URI + "/Metrics";
+
+ /**
+ *
+ * The WSDM OperationalStatus namespace URI.
+ *
+ */
+ public static final String OP_STATUS_URI =
+ BASE_CAPABILITIES_URI + "/OperationalStatus";
+
+ /**
+ *
+ * The WSDM Relationships namespace URI.
+ *
+ */
+ public static final String RELATIONSHIPS_URI =
+ BASE_CAPABILITIES_URI + "/Relationships";
+
+ public static final String RELATIONSHIP_RESOURCE_URI =
+ BASE_CAPABILITIES_URI + "/RelationshipResource";
+
+ /**
+ *
+ * The WSDM State namespace URI.
+ *
+ */
+ public static final String STATE_URI =
+ BASE_CAPABILITIES_URI + "/State";
+
+ /**
+ *
+ * The CorrelatableProperties "Property Boolean Match" URI.
+ *
+ */
+ public static final String PBM_URI =
+ "http://docs.oasis-open.org/wsdm/2004/12/pbm";
+
+ //
+ // CorrelatableProperties names and attributes
+ //
+
+ public static final String PBM_PREFIX = "pbm";
+
+ public static final QName MATCH_QNAME =
+ new QName(PBM_URI, "Match", PBM_PREFIX);
+
+ public static final QName MATCH_ALL_QNAME =
+ new QName(PBM_URI, "MatchAll", PBM_PREFIX);
+
+ public static final QName MATCH_ANY_QNAME =
+ new QName(PBM_URI, "MatchAny", PBM_PREFIX);
+
+ public static final String DIALECT = "Dialect";
+
+ public static final String NEGATIVE = "NegativeAssertionPossible";
+
+ /**
+ *
+ * The prefix of the WS-N SimpleTopicSpace for all WSDM Topics.
+ *
+ */
+ public static final String MUWS_EVENTS_PREFIX = "muws-events";
+
+ //
+ // Standard MUWS namespaces and prefixes
+ //
+
+ public static final String MUWS_EVENTS_URI = "http://docs.oasis-open.org/wsdm/muwse-2.xml";
+
+ public static final String MUWS_WSDL_URI = "http://docs.oasis-open.org/wsdm/muws-2.wsdl";
+
+ public static final String MUWS_P1_PREFIX = "muws1";
+
+ public static final String MUWS_P1_URI = "http://docs.oasis-open.org/wsdm/muws1-2.xsd";
+
+ public static final String MUWS_P2_PREFIX = "muws2";
+
+ public static final String MUWS_P2_URI = "http://docs.oasis-open.org/wsdm/muws2-2.xsd";
+
+ /**
+ *
+ * The topic space namespace for WSDM topics.
+ *
+ */
+ public static final String MUWS_TOPIC_NS = MUWS_EVENTS_URI;
+
+ public static final QName RESOURCE_ID_QNAME =
+ new QName(MUWS_P1_URI, "ResourceId", MUWS_P1_PREFIX);
+
+ public static final QName MANAGEABILITY_EPR_QNAME =
+ new QName(MUWS_P1_URI, "ManageabilityEndpointReference", MUWS_P1_PREFIX);
+
+ /**
+ *
+ * MUWS Capability name, for defining capabilities in metadata. Don't
+ * confuse this with the ManageabilityCharacteristics property name:
+ * ManageabilityCapability.
+ *
+ */
+ public static final QName CAPABILITY_QNAME =
+ new QName(MUWS_P2_URI, "Capability", MUWS_P2_PREFIX);
+
+ //
+ // WSDM Metrics names and attributes
+ //
+
+ public static final QName CURRENT_TIME_QNAME =
+ new QName(MUWS_P2_URI, "CurrentTime", MUWS_P2_PREFIX);
+
+ public static final QName METRIC_ATTRIBUTES_QNAME =
+ new QName(MUWS_P2_URI, "MetricAttributes", MUWS_P2_PREFIX);
+
+ public static final String RESET_AT = "ResetAt";
+ public static final String DURATION = "Duration";
+ public static final String LAST_UPDATED = "LastUpdated";
+
+ public static final QName METRIC_GROUP_QNAME =
+ new QName(MUWS_P2_URI, "MetricGroup", MUWS_P2_PREFIX);
+
+ public static final QName CALC_INTERVAL_QNAME =
+ new QName(MUWS_P2_URI, "CalculationInterval", MUWS_P2_PREFIX);
+
+ public static final QName CHANGE_TYPE_QNAME =
+ new QName(MUWS_P2_URI, "ChangeType", MUWS_P2_PREFIX);
+
+ public static final String COUNTER = "Counter";
+ public static final String GAUGE = "Gauge";
+ public static final String UNKNOWN = "Unknown";
+
+ public static final QName GATHERING_QNAME =
+ new QName(MUWS_P2_URI, "GatheringTime", MUWS_P2_PREFIX);
+
+ public static final String ON_CHANGE = "OnChange";
+ public static final String ON_DEMAND = "OnDemand";
+ public static final String PERIODIC = "Periodic";
+
+ public static final QName TIME_SCOPE_QNAME =
+ new QName(MUWS_P2_URI, "TimeScope", MUWS_P2_PREFIX);
+
+ public static final String INTERVAL = "Interval";
+ public static final String POINT_IN_TIME = "PointInTime";
+ public static final String SINCE_RESET = "SinceReset";
+
+ //
+ // WSDM Relationships names and attributes
+ //
+
+ public static final String QUERY_RELATIONSHIPS_URI =
+ MUWS_P2_URI + "/QueryRelationshipsByType";
+
+ public static final QName RELATIONSHIP_QNAME =
+ new QName(MUWS_P2_URI, "RelationshipResource", MUWS_P2_PREFIX);
+
+ public static final QName NAME_QNAME =
+ new QName(MUWS_P2_URI, "Name", MUWS_P2_PREFIX);
+
+ public static final QName TYPE_QNAME =
+ new QName(MUWS_P2_URI, "Type", MUWS_P2_PREFIX);
+
+ public static final QName ACCESS_EPR_QNAME =
+ new QName(MUWS_P1_URI, "AccessEndpointReference", MUWS_P1_PREFIX);
+
+ public static final QName PARTICIPANT_QNAME =
+ new QName(MUWS_P2_URI, "Participant", MUWS_P2_PREFIX);
+
+ public static final QName ROLE_QNAME =
+ new QName(MUWS_P2_URI, "Role", MUWS_P2_PREFIX);
+
+ public static final QName QUERY_RELATIONSHIPS_QNAME =
+ new QName(MUWS_P2_URI, "QueryRelationshipsByType", MUWS_P2_PREFIX);
+
+ public static final QName QUERY_RESPONSE_QNAME =
+ new QName(MUWS_P2_URI, "QueryRelationshipsByTypeResponse", MUWS_P2_PREFIX);
+
+ public static final QName REQUESTED_TYPE_QNAME =
+ new QName(MUWS_P2_URI, "RequestedType", MUWS_P2_PREFIX);
+
+ //
+ // WSDM Advertisement names and attributes
+ //
+
+ public static final QName CREATE_NOTIFICATION_QNAME =
+ new QName(MUWS_P2_URI, "CreationNotification", MUWS_P2_PREFIX);
+
+ public static final QName DESTROY_NOTIFICATION_QNAME =
+ new QName(MUWS_P2_URI, "DestructionNotification", MUWS_P2_PREFIX);
+
+ //
+ // WSDM Topic creation
+ //
+
+ public static final QName ADV_ME_CREATION_TOPIC =
+ new QName(MUWS_TOPIC_NS, "ManageabilityEndpointCreation", MUWS_EVENTS_PREFIX);
+
+ public static final QName ADV_MR_CREATION_TOPIC =
+ new QName(MUWS_TOPIC_NS, "ManageableResourceCreation", MUWS_EVENTS_PREFIX);
+
+ public static final QName ADV_ME_DESTRUCTION_TOPIC =
+ new QName(MUWS_TOPIC_NS, "ManageabilityEndpointDestruction", MUWS_EVENTS_PREFIX);
+
+ public static final QName ADV_MR_DESTRUCTION_TOPIC =
+ new QName(MUWS_TOPIC_NS, "ManageableResourceDestruction", MUWS_EVENTS_PREFIX);
+
+ public static final QName CHARACTERISTICS_TOPIC =
+ new QName(MUWS_TOPIC_NS, "ManageabilityCharacteristicsCapability", MUWS_EVENTS_PREFIX);
+
+ public static final QName CONFIGURATION_TOPIC =
+ new QName(MUWS_TOPIC_NS, "ConfigurationCapability", MUWS_EVENTS_PREFIX);
+
+ public static final QName CORRELATABLE_TOPIC =
+ new QName(MUWS_TOPIC_NS, "CorrelatablePropertiesCapability", MUWS_EVENTS_PREFIX);
+
+ public static final QName DESCRIPTION_TOPIC =
+ new QName(MUWS_TOPIC_NS, "DescriptionCapability", MUWS_EVENTS_PREFIX);
+
+ public static final QName IDENTITY_TOPIC =
+ new QName(MUWS_TOPIC_NS, "IdentityCapability", MUWS_EVENTS_PREFIX);
+
+ public static final QName METRICS_TOPIC =
+ new QName(MUWS_TOPIC_NS, "MetricsCapability", MUWS_EVENTS_PREFIX);
+
+ public static final QName OP_STATUS_TOPIC =
+ new QName(MUWS_TOPIC_NS, "OperationalStatusCapability", MUWS_EVENTS_PREFIX);
+
+ public static final QName RELATIONSHIPS_TOPIC =
+ new QName(MUWS_TOPIC_NS, "RelationshipsCapability", MUWS_EVENTS_PREFIX);
+
+ public static final QName RELATIONSHIP_RESOURCE_TOPIC =
+ new QName(MUWS_TOPIC_NS, "RelationshipResourceCapability", MUWS_EVENTS_PREFIX);
+
+ public static final QName STATE_TOPIC =
+ new QName(MUWS_TOPIC_NS, "StateCapability", MUWS_EVENTS_PREFIX);
+
+ public static final QName CORRELATABLE_QNAME =
+ new QName(MUWS_P1_URI, "CorrelatableProperties", MUWS_P1_PREFIX);
+
+ public static final QName CAPTION_QNAME =
+ new QName(MUWS_P2_URI, "Caption", MUWS_P2_PREFIX);
+
+ public static final QName DESCRIPTION_QNAME =
+ new QName(MUWS_P2_URI, "Description", MUWS_P2_PREFIX);
+
+ public static final QName VERSION_QNAME =
+ new QName(MUWS_P2_URI, "Version", MUWS_P2_PREFIX);
+
+ public static final QName MANAGEABILITY_CAPABILITY_QNAME =
+ new QName(MUWS_P1_URI, "ManageabilityCapability", MUWS_P1_PREFIX);
+
+ public static final QName OP_STATUS_QNAME =
+ new QName(MUWS_P2_URI, "OperationalStatus", MUWS_P2_PREFIX);
+
+ public static final QName STATE_QNAME =
+ new QName(MUWS_P2_URI, "State", MUWS_P2_PREFIX);
+
+ public static final QName TRANSITION_QNAME =
+ new QName(MUWS_P2_URI, "StateTransition", MUWS_P2_PREFIX);
+
+ public static final QName PREVIOUS_QNAME =
+ new QName(MUWS_P2_URI, "PreviousState", MUWS_P2_PREFIX);
+
+ public static final QName ENTERED_QNAME =
+ new QName(MUWS_P2_URI, "EnteredState", MUWS_P2_PREFIX);
+
+ public static final String TIME = "Time";
+}
Added: webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/OperationalStatus.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/OperationalStatus.java?rev=414696&view=auto
==============================================================================
--- webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/OperationalStatus.java (added)
+++ webservices/muse/trunk/modules/muse-wsdm-muws/src-api/org/apache/muse/ws/dm/muws/OperationalStatus.java Thu Jun 15 15:19:57 2006
@@ -0,0 +1,65 @@
+/*=============================================================================*
+ * Copyright 2006 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+
+package org.apache.muse.ws.dm.muws;
+
+import javax.xml.namespace.QName;
+
+import org.apache.muse.ws.resource.basefaults.BaseFault;
+
+/**
+ *
+ * This is an internal representation of the OperationalStatus capability.
+ * It provides convenience methods for the OperationalStatus property. Of
+ * the four boolean accessor methods, only one may return true at any given
+ * time, which correlates to the fact that a resource may only have one
+ * status value at any given time.
+ *
+ * @author Dan Jemiolo (danj)
+ *
+ */
+
+public interface OperationalStatus extends ManageabilityCapability
+{
+ QName[] PROPERTIES = new QName[]{
+ MuwsConstants.OP_STATUS_QNAME
+ };
+
+ //
+ // The valid values for the OperationalStatus property
+ //
+
+ String AVAILABLE = "Available";
+ String PARTIALLY_AVAILABLE = "PartiallyAvailable";
+ String UNAVAILABLE = "Unavailable";
+ String UNKNOWN = "Unknown";
+
+ /**
+ *
+ * @return The actual OperationalStatus property value.
+ *
+ * @throws BaseFault
+ * <ul>
+ * <li>If there is a WS-RP error while retrieving the property.</li>
+ * </ul>
+ *
+ */
+ String getOperationalStatus()
+ throws BaseFault;
+
+ void setOperationalStatus(String status)
+ throws BaseFault;
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-commits-help@ws.apache.org