You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by sc...@apache.org on 2005/08/02 18:48:40 UTC
svn commit: r227038 [2/4] - in /webservices/muse/trunk: ./
src/java/org/apache/ws/mows/tool/v1_0/ src/java/org/apache/ws/mows/v1_0/
src/java/org/apache/ws/mows/v1_0/capability/ src/java/org/apache/ws/muws/
src/java/org/apache/ws/muws/impl/ src/java/org...
Modified: webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/MuwsConstants.java
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/MuwsConstants.java?rev=227038&r1=227037&r2=227038&view=diff
==============================================================================
--- webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/MuwsConstants.java (original)
+++ webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/MuwsConstants.java Tue Aug 2 09:48:21 2005
@@ -1,18 +1,18 @@
-/*
- * Copyright 2004-2005 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
- *
+/*=============================================================================*
+ * Copyright 2004 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.
- */
+ *
+ * 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.ws.muws.v1_0;
import javax.xml.namespace.QName;
@@ -22,91 +22,118 @@
*/
public interface MuwsConstants
{
-
- /**
- * The base URI for all URIs defined by the WSDM specs.
- */
- String BASE_URI_WSDM = "http://docs.oasis-open.org/wsdm/2004/12/";
-
- /**
- * The base URI for all URIs defined by the MUWS specs.
- */
- String BASE_URI_MUWS = BASE_URI_WSDM + "muws/";
-
- /**
- * The base URI for all manageability capability URIs defined by the MUWS specs.
- */
- String BASE_URI_MUWS_CAPABILITIES = BASE_URI_MUWS + "capabilities/";
-
- /**
- * Namespace URI for MUWS Part 1 schema.
- */
- String NSURI_MUWS_PART1_SCHEMA = BASE_URI_MUWS + "wsdm-muws-part1.xsd";
-
- /**
- * Namespace prefix for MUWS Part 1 schema.
- */
- String NSPREFIX_MUWS_PART1_SCHEMA = "muws-p1-xs";
-
- /**
- * Namespace URI for Properties Boolean Match (PBM) schema.
- */
- String NSURI_PBM = BASE_URI_MUWS + "wsdm-pbm.xsd";
-
- /**
- * Namespace prefix for Properties Boolean Match (PBM) schema.
- */
- String NSPREFIX_PBM = "pbm";
-
- /**
- * Properties Boolean Match (PBM) CorrelatableProperties expression dialect.
- */
- String PBM_DIALECT = BASE_URI_WSDM + "pbm";
-
- /**
- * Namespace URI for MUWS Part 2 schema.
- */
- String NSURI_MUWS_PART2_SCHEMA = BASE_URI_MUWS + "wsdm-muws-part2.xsd";
-
- /**
- * Namespace prefix for MUWS Part 2 schema.
- */
- String NSPREFIX_MUWS_PART2_SCHEMA = "muws-p2-xs";
-
- /**
- * Namespace URI for MUWS Part 2 WSDL.
- */
- String NSURI_MUWS_PART2_WSDL = BASE_URI_MUWS + "wsdm-muws-part2.wsdl";
-
- /**
- * Namespace prefix for MUWS Part 2 WSDL.
- */
- String NSPREFIX_MUWS_PART2_WSDL = "muws-p2-wsdl";
-
- /**
- * Namespace URI for MUWS Part 2 topics.
- */
- String NSURI_MUWS_PART2_TOPICS = BASE_URI_MUWS + "wsdm-muws-part2-events.xml";
-
- /**
- * Namespace prefix for MUWS Part 2 topics.
- */
- String NSPREFIX_MUWS_PART2_TOPICS = "muws-p2-events";
-
- /**
- * Situation QNames
- */
- QName SITUATION_AVAILABILITY = new QName(NSURI_MUWS_PART2_SCHEMA, "AvailabilitySituation" ,NSPREFIX_MUWS_PART2_SCHEMA);
- QName SITUATION_CAPABILITY = new QName(NSURI_MUWS_PART2_SCHEMA, "CapabilitySituation" ,NSPREFIX_MUWS_PART2_SCHEMA);
- QName SITUATION_CONFIGURATION = new QName(NSURI_MUWS_PART2_SCHEMA, "ConfigurationSituation" ,NSPREFIX_MUWS_PART2_SCHEMA);
- QName SITUATION_STOP = new QName(NSURI_MUWS_PART2_SCHEMA, "StopSituation" ,NSPREFIX_MUWS_PART2_SCHEMA);
- QName SITUATION_START = new QName(NSURI_MUWS_PART2_SCHEMA, "StartSituation" ,NSPREFIX_MUWS_PART2_SCHEMA);
- QName SITUATION_REQUEST = new QName(NSURI_MUWS_PART2_SCHEMA, "RequestSituation" ,NSPREFIX_MUWS_PART2_SCHEMA);
- QName SITUATION_DESTROY = new QName(NSURI_MUWS_PART2_SCHEMA, "DestroySituation" ,NSPREFIX_MUWS_PART2_SCHEMA);
- QName SITUATION_CREATE = new QName(NSURI_MUWS_PART2_SCHEMA, "CreateSituation" ,NSPREFIX_MUWS_PART2_SCHEMA);
- QName SITUATION_DEPENDENCY = new QName(NSURI_MUWS_PART2_SCHEMA, "DependencySituation" ,NSPREFIX_MUWS_PART2_SCHEMA);
- QName SITUATION_CONNECT = new QName(NSURI_MUWS_PART2_SCHEMA, "ConnectSituation" ,NSPREFIX_MUWS_PART2_SCHEMA);
- QName SITUATION_REPORT = new QName(NSURI_MUWS_PART2_SCHEMA, "ReportSituation" ,NSPREFIX_MUWS_PART2_SCHEMA);
- QName SITUATION_OTHER = new QName(NSURI_MUWS_PART2_SCHEMA, "OtherSituation" ,NSPREFIX_MUWS_PART2_SCHEMA);
-
-}
+ /**
+ * The base URI for all URIs defined by the WSDM specs.
+ */
+ String BASE_URI_WSDM = "http://docs.oasis-open.org/wsdm/2004/12/";
+
+ /**
+ * The base URI for all URIs defined by the MUWS specs.
+ */
+ String BASE_URI_MUWS = BASE_URI_WSDM + "muws/";
+
+ /**
+ * The base URI for all manageability capability URIs defined by the MUWS specs.
+ */
+ String BASE_URI_MUWS_CAPABILITIES = BASE_URI_MUWS + "capabilities/";
+
+ /**
+ * Namespace URI for MUWS Part 1 schema.
+ */
+ String NSURI_MUWS_PART1_SCHEMA = BASE_URI_MUWS + "wsdm-muws-part1.xsd";
+
+ /**
+ * Namespace prefix for MUWS Part 1 schema.
+ */
+ String NSPREFIX_MUWS_PART1_SCHEMA = "muws-p1-xs";
+
+ /**
+ * Namespace URI for Properties Boolean Match (PBM) schema.
+ */
+ String NSURI_PBM = BASE_URI_MUWS + "wsdm-pbm.xsd";
+
+ /**
+ * Namespace prefix for Properties Boolean Match (PBM) schema.
+ */
+ String NSPREFIX_PBM = "pbm";
+
+ /**
+ * Properties Boolean Match (PBM) CorrelatableProperties expression dialect.
+ */
+ String PBM_DIALECT = BASE_URI_WSDM + "pbm";
+
+ /**
+ * Namespace URI for MUWS Part 2 schema.
+ */
+ String NSURI_MUWS_PART2_SCHEMA = BASE_URI_MUWS + "wsdm-muws-part2.xsd";
+
+ /**
+ * Namespace prefix for MUWS Part 2 schema.
+ */
+ String NSPREFIX_MUWS_PART2_SCHEMA = "muws-p2-xs";
+
+ /**
+ * Namespace URI for MUWS Part 2 WSDL.
+ */
+ String NSURI_MUWS_PART2_WSDL = BASE_URI_MUWS + "wsdm-muws-part2.wsdl";
+
+ /**
+ * Namespace prefix for MUWS Part 2 WSDL.
+ */
+ String NSPREFIX_MUWS_PART2_WSDL = "muws-p2-wsdl";
+
+ /**
+ * Namespace URI for MUWS Part 2 topics.
+ */
+ String NSURI_MUWS_PART2_TOPICS = BASE_URI_MUWS + "wsdm-muws-part2-events.xml";
+
+ /**
+ * Namespace prefix for MUWS Part 2 topics.
+ */
+ String NSPREFIX_MUWS_PART2_TOPICS = "muws-p2-events";
+
+ /**
+ * Situation QNames
+ */
+ QName SITUATION_AVAILABILITY =
+ new QName( NSURI_MUWS_PART2_SCHEMA, "AvailabilitySituation", NSPREFIX_MUWS_PART2_SCHEMA );
+
+ /** DOCUMENT_ME */
+ QName SITUATION_CAPABILITY =
+ new QName( NSURI_MUWS_PART2_SCHEMA, "CapabilitySituation", NSPREFIX_MUWS_PART2_SCHEMA );
+
+ /** DOCUMENT_ME */
+ QName SITUATION_CONFIGURATION =
+ new QName( NSURI_MUWS_PART2_SCHEMA, "ConfigurationSituation", NSPREFIX_MUWS_PART2_SCHEMA );
+
+ /** DOCUMENT_ME */
+ QName SITUATION_STOP = new QName( NSURI_MUWS_PART2_SCHEMA, "StopSituation", NSPREFIX_MUWS_PART2_SCHEMA );
+
+ /** DOCUMENT_ME */
+ QName SITUATION_START = new QName( NSURI_MUWS_PART2_SCHEMA, "StartSituation", NSPREFIX_MUWS_PART2_SCHEMA );
+
+ /** DOCUMENT_ME */
+ QName SITUATION_REQUEST =
+ new QName( NSURI_MUWS_PART2_SCHEMA, "RequestSituation", NSPREFIX_MUWS_PART2_SCHEMA );
+
+ /** DOCUMENT_ME */
+ QName SITUATION_DESTROY =
+ new QName( NSURI_MUWS_PART2_SCHEMA, "DestroySituation", NSPREFIX_MUWS_PART2_SCHEMA );
+
+ /** DOCUMENT_ME */
+ QName SITUATION_CREATE =
+ new QName( NSURI_MUWS_PART2_SCHEMA, "CreateSituation", NSPREFIX_MUWS_PART2_SCHEMA );
+
+ /** DOCUMENT_ME */
+ QName SITUATION_DEPENDENCY =
+ new QName( NSURI_MUWS_PART2_SCHEMA, "DependencySituation", NSPREFIX_MUWS_PART2_SCHEMA );
+
+ /** DOCUMENT_ME */
+ QName SITUATION_CONNECT = new QName( NSURI_MUWS_PART2_SCHEMA, "ConnectSituation", NSPREFIX_MUWS_PART2_SCHEMA );
+
+ /** DOCUMENT_ME */
+ QName SITUATION_REPORT = new QName( NSURI_MUWS_PART2_SCHEMA, "ReportSituation", NSPREFIX_MUWS_PART2_SCHEMA );
+
+ /** DOCUMENT_ME */
+ QName SITUATION_OTHER = new QName( NSURI_MUWS_PART2_SCHEMA, "OtherSituation", NSPREFIX_MUWS_PART2_SCHEMA );
+}
\ No newline at end of file
Modified: webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/AdvertisementCapability.java
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/AdvertisementCapability.java?rev=227038&r1=227037&r2=227038&view=diff
==============================================================================
--- webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/AdvertisementCapability.java (original)
+++ webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/AdvertisementCapability.java Tue Aug 2 09:48:21 2005
@@ -1,37 +1,51 @@
-package org.apache.ws.muws.v1_0.capability;
-
-import org.apache.ws.muws.v1_0.MuwsConstants;
-
-import javax.xml.namespace.QName;
-
-/**
- * The MUWS Advertisement manageability capability.
- *
- * @author Sal Campana
- */
-public interface AdvertisementCapability
-{
- /**
- * Name of this capability.
- */
- String NAME = "Advertisement";
-
-
- /**
- * Manageability capability URI.
- */
- String URI = MuwsConstants.BASE_URI_MUWS_CAPABILITIES + NAME;
-
- /**
- * Topic names.
- */
- String TOPIC_MANAGEABILITY_ENPOINT_CREATION_NAME = "ManageabilityEndpointCreation";
-
- String TOPIC_MANAGEABLE_RESOURCE_CREATION_NAME = "ManageableResourceCreation";
-
- String TOPIC_MANAGEABILITY_ENPOINT_DESTRUCTION_NAME = "ManageabilityEndpointDestruction";
-
- String TOPIC_MANAGEABLE_RESOURCE_DESTRUCTION_NAME = "ManageableResourceDestruction";
-
-
-}
+/*=============================================================================*
+ * Copyright 2004 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.ws.muws.v1_0.capability;
+
+import org.apache.ws.muws.v1_0.MuwsConstants;
+import javax.xml.namespace.QName;
+
+/**
+ * The MUWS Advertisement manageability capability.
+ *
+ * @author Sal Campana
+ */
+public interface AdvertisementCapability
+{
+ /**
+ * Name of this capability.
+ */
+ String NAME = "Advertisement";
+
+ /**
+ * Manageability capability URI.
+ */
+ String URI = MuwsConstants.BASE_URI_MUWS_CAPABILITIES + NAME;
+
+ /**
+ * Topic names.
+ */
+ String TOPIC_MANAGEABILITY_ENPOINT_CREATION_NAME = "ManageabilityEndpointCreation";
+
+ /** DOCUMENT_ME */
+ String TOPIC_MANAGEABLE_RESOURCE_CREATION_NAME = "ManageableResourceCreation";
+
+ /** DOCUMENT_ME */
+ String TOPIC_MANAGEABILITY_ENPOINT_DESTRUCTION_NAME = "ManageabilityEndpointDestruction";
+
+ /** DOCUMENT_ME */
+ String TOPIC_MANAGEABLE_RESOURCE_DESTRUCTION_NAME = "ManageableResourceDestruction";
+}
\ No newline at end of file
Modified: webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/ConfigurationCapability.java
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/ConfigurationCapability.java?rev=227038&r1=227037&r2=227038&view=diff
==============================================================================
--- webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/ConfigurationCapability.java (original)
+++ webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/ConfigurationCapability.java Tue Aug 2 09:48:21 2005
@@ -1,35 +1,48 @@
-package org.apache.ws.muws.v1_0.capability;
-
-import org.apache.ws.muws.v1_0.MuwsConstants;
-import javax.xml.namespace.QName;
-
-/**
- * The MUWS Configuration manageability capability.
- *
- * @author Sal Campana
- */
-public interface ConfigurationCapability
-{
-
- /**
- * Name of this capability.
- */
- String NAME = "Configuration";
-
- /**
- * Port type name.
- */
- QName PORT_TYPE_NAME = new QName( MuwsConstants.NSURI_MUWS_PART2_WSDL, NAME, MuwsConstants.NSPREFIX_MUWS_PART2_WSDL );
-
- /**
- * Manageability capability URI.
- */
- String URI = MuwsConstants.BASE_URI_MUWS_CAPABILITIES + NAME;
-
- /**
- * Topic name.
- */
- String TOPIC_NAME = NAME + "Capability";
-
-
-}
+/*=============================================================================*
+ * Copyright 2004 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.ws.muws.v1_0.capability;
+
+import org.apache.ws.muws.v1_0.MuwsConstants;
+import javax.xml.namespace.QName;
+
+/**
+ * The MUWS Configuration manageability capability.
+ *
+ * @author Sal Campana
+ */
+public interface ConfigurationCapability
+{
+ /**
+ * Name of this capability.
+ */
+ String NAME = "Configuration";
+
+ /**
+ * Port type name.
+ */
+ QName PORT_TYPE_NAME =
+ new QName( MuwsConstants.NSURI_MUWS_PART2_WSDL, NAME, MuwsConstants.NSPREFIX_MUWS_PART2_WSDL );
+
+ /**
+ * Manageability capability URI.
+ */
+ String URI = MuwsConstants.BASE_URI_MUWS_CAPABILITIES + NAME;
+
+ /**
+ * Topic name.
+ */
+ String TOPIC_NAME = NAME + "Capability";
+}
\ No newline at end of file
Modified: webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/CorrelatablePropertiesCapability.java
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/CorrelatablePropertiesCapability.java?rev=227038&r1=227037&r2=227038&view=diff
==============================================================================
--- webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/CorrelatablePropertiesCapability.java (original)
+++ webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/CorrelatablePropertiesCapability.java Tue Aug 2 09:48:21 2005
@@ -1,22 +1,21 @@
-/*
- * Copyright 2004-2005 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
- *
+/*=============================================================================*
+ * Copyright 2004 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.
- */
+ *
+ * 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.ws.muws.v1_0.capability;
import org.apache.ws.muws.v1_0.MuwsConstants;
-
import javax.xml.namespace.QName;
/**
@@ -24,35 +23,36 @@
*/
public interface CorrelatablePropertiesCapability
{
-
- /**
- * Name of this capability.
- */
- String NAME = "CorrelatableProperties";
-
- /**
- * Port type name.
- */
- QName PORT_TYPE_NAME = new QName( MuwsConstants.NSURI_MUWS_PART2_WSDL, NAME, MuwsConstants.NSPREFIX_MUWS_PART2_WSDL );
-
- /**
- * Manageability capability URI.
- */
- String URI = MuwsConstants.BASE_URI_MUWS_CAPABILITIES + NAME;
-
- /**
- * Topic name.
- */
- String TOPIC_NAME = NAME + "Capability";
-
- /**
- * CorrelatableProperties property name.
- */
- QName PROP_NAME_CORRELATABLE_PROPERTIES = new QName( MuwsConstants.NSURI_MUWS_PART1_SCHEMA, "CorrelatableProperties", MuwsConstants.NSPREFIX_MUWS_PART1_SCHEMA );
-
- /**
- * Dialect for PBM
- */
- String PBM_DIALECT = MuwsConstants.PBM_DIALECT;
-
-}
+ /**
+ * Name of this capability.
+ */
+ String NAME = "CorrelatableProperties";
+
+ /**
+ * Port type name.
+ */
+ QName PORT_TYPE_NAME =
+ new QName( MuwsConstants.NSURI_MUWS_PART2_WSDL, NAME, MuwsConstants.NSPREFIX_MUWS_PART2_WSDL );
+
+ /**
+ * Manageability capability URI.
+ */
+ String URI = MuwsConstants.BASE_URI_MUWS_CAPABILITIES + NAME;
+
+ /**
+ * Topic name.
+ */
+ String TOPIC_NAME = NAME + "Capability";
+
+ /**
+ * CorrelatableProperties property name.
+ */
+ QName PROP_NAME_CORRELATABLE_PROPERTIES =
+ new QName( MuwsConstants.NSURI_MUWS_PART1_SCHEMA, "CorrelatableProperties",
+ MuwsConstants.NSPREFIX_MUWS_PART1_SCHEMA );
+
+ /**
+ * Dialect for PBM
+ */
+ String PBM_DIALECT = MuwsConstants.PBM_DIALECT;
+}
\ No newline at end of file
Modified: webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/DescriptionCapability.java
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/DescriptionCapability.java?rev=227038&r1=227037&r2=227038&view=diff
==============================================================================
--- webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/DescriptionCapability.java (original)
+++ webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/DescriptionCapability.java Tue Aug 2 09:48:21 2005
@@ -1,22 +1,21 @@
-/*
- * Copyright 2004-2005 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
- *
+/*=============================================================================*
+ * Copyright 2004 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.
- */
+ *
+ * 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.ws.muws.v1_0.capability;
import org.apache.ws.muws.v1_0.MuwsConstants;
-
import javax.xml.namespace.QName;
/**
@@ -24,40 +23,42 @@
*/
public interface DescriptionCapability
{
-
- /**
- * Name of this capability.
- */
- String NAME = "Description";
-
- /**
- * Manageability capability URI.
- */
- String URI = MuwsConstants.BASE_URI_MUWS_CAPABILITIES + NAME;
-
- /**
- * Port type name.
- */
- QName PORT_TYPE_NAME = new QName( MuwsConstants.NSURI_MUWS_PART2_WSDL, NAME, MuwsConstants.NSPREFIX_MUWS_PART2_WSDL );
-
- /**
- * Topic name.
- */
- String TOPIC_NAME = NAME + "Capability";
-
- /**
- * Caption property name.
- */
- QName PROP_NAME_CAPTION = new QName( MuwsConstants.NSURI_MUWS_PART2_SCHEMA, "Caption", MuwsConstants.NSPREFIX_MUWS_PART2_SCHEMA );
-
- /**
- * Description property name.
- */
- QName PROP_NAME_DESCRIPTION = new QName( MuwsConstants.NSURI_MUWS_PART2_SCHEMA, "Description", MuwsConstants.NSPREFIX_MUWS_PART2_SCHEMA );
-
- /**
- * Version property name.
- */
- QName PROP_NAME_VERSION = new QName( MuwsConstants.NSURI_MUWS_PART2_SCHEMA, "Version", MuwsConstants.NSPREFIX_MUWS_PART2_SCHEMA );
-
-}
+ /**
+ * Name of this capability.
+ */
+ String NAME = "Description";
+
+ /**
+ * Manageability capability URI.
+ */
+ String URI = MuwsConstants.BASE_URI_MUWS_CAPABILITIES + NAME;
+
+ /**
+ * Port type name.
+ */
+ QName PORT_TYPE_NAME =
+ new QName( MuwsConstants.NSURI_MUWS_PART2_WSDL, NAME, MuwsConstants.NSPREFIX_MUWS_PART2_WSDL );
+
+ /**
+ * Topic name.
+ */
+ String TOPIC_NAME = NAME + "Capability";
+
+ /**
+ * Caption property name.
+ */
+ QName PROP_NAME_CAPTION =
+ new QName( MuwsConstants.NSURI_MUWS_PART2_SCHEMA, "Caption", MuwsConstants.NSPREFIX_MUWS_PART2_SCHEMA );
+
+ /**
+ * Description property name.
+ */
+ QName PROP_NAME_DESCRIPTION =
+ new QName( MuwsConstants.NSURI_MUWS_PART2_SCHEMA, "Description", MuwsConstants.NSPREFIX_MUWS_PART2_SCHEMA );
+
+ /**
+ * Version property name.
+ */
+ QName PROP_NAME_VERSION =
+ new QName( MuwsConstants.NSURI_MUWS_PART2_SCHEMA, "Version", MuwsConstants.NSPREFIX_MUWS_PART2_SCHEMA );
+}
\ No newline at end of file
Modified: webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/IdentityCapability.java
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/IdentityCapability.java?rev=227038&r1=227037&r2=227038&view=diff
==============================================================================
--- webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/IdentityCapability.java (original)
+++ webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/IdentityCapability.java Tue Aug 2 09:48:21 2005
@@ -1,53 +1,52 @@
-/*
- * Copyright 2004-2005 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
- *
+/*=============================================================================*
+ * Copyright 2004 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.
- */
+ *
+ * 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.ws.muws.v1_0.capability;
import org.apache.ws.muws.v1_0.MuwsConstants;
-
import javax.xml.namespace.QName;
/**
- * The MUWS Identity manageability capability.
+ * The MUWS Identity manageability capability.
*/
public interface IdentityCapability
{
-
- /**
- * Name of this capability.
- */
- String NAME = "Identity";
-
- /**
- * Manageability capability URI.
- */
- String URI = MuwsConstants.BASE_URI_MUWS_CAPABILITIES + NAME;
-
- /**
- * Port type name.
- */
- QName PORT_TYPE_NAME = new QName( MuwsConstants.NSURI_MUWS_PART2_WSDL, NAME, MuwsConstants.NSPREFIX_MUWS_PART2_WSDL );
-
- /**
- * Topic name.
- */
- String TOPIC_NAME = NAME + "Capability";
-
- /**
- * ResourceId property name.
- */
- QName PROP_NAME_RESOURCE_ID = new QName( MuwsConstants.NSURI_MUWS_PART1_SCHEMA, "ResourceId", MuwsConstants.NSPREFIX_MUWS_PART1_SCHEMA );
-
-}
+ /**
+ * Name of this capability.
+ */
+ String NAME = "Identity";
+
+ /**
+ * Manageability capability URI.
+ */
+ String URI = MuwsConstants.BASE_URI_MUWS_CAPABILITIES + NAME;
+
+ /**
+ * Port type name.
+ */
+ QName PORT_TYPE_NAME =
+ new QName( MuwsConstants.NSURI_MUWS_PART2_WSDL, NAME, MuwsConstants.NSPREFIX_MUWS_PART2_WSDL );
+
+ /**
+ * Topic name.
+ */
+ String TOPIC_NAME = NAME + "Capability";
+
+ /**
+ * ResourceId property name.
+ */
+ QName PROP_NAME_RESOURCE_ID =
+ new QName( MuwsConstants.NSURI_MUWS_PART1_SCHEMA, "ResourceId", MuwsConstants.NSPREFIX_MUWS_PART1_SCHEMA );
+}
\ No newline at end of file
Modified: webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/ManageabilityCharacteristicsCapability.java
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/ManageabilityCharacteristicsCapability.java?rev=227038&r1=227037&r2=227038&view=diff
==============================================================================
--- webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/ManageabilityCharacteristicsCapability.java (original)
+++ webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/ManageabilityCharacteristicsCapability.java Tue Aug 2 09:48:21 2005
@@ -1,22 +1,21 @@
-/*
- * Copyright 2004-2005 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
- *
+/*=============================================================================*
+ * Copyright 2004 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.
- */
+ *
+ * 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.ws.muws.v1_0.capability;
import org.apache.ws.muws.v1_0.MuwsConstants;
-
import javax.xml.namespace.QName;
/**
@@ -24,30 +23,31 @@
*/
public interface ManageabilityCharacteristicsCapability
{
-
- /**
- * Name of this capability.
- */
- String NAME = "ManageabilityCharacteristics";
-
- /**
- * Manageability capability URI.
- */
- String URI = MuwsConstants.BASE_URI_MUWS_CAPABILITIES + NAME;
-
- /**
- * Port type name.
- */
- QName PORT_TYPE_NAME = new QName( MuwsConstants.NSURI_MUWS_PART2_WSDL, NAME, MuwsConstants.NSPREFIX_MUWS_PART2_WSDL );
-
- /**
- * Topic name.
- */
- String TOPIC_NAME = NAME + "Capability";
-
- /**
- * ManageabilityCapability property name.
- */
- QName PROP_NAME_MANAGEABILITY_CAPABILITY = new QName( MuwsConstants.NSURI_MUWS_PART1_SCHEMA, "ManageabilityCapability", MuwsConstants.NSPREFIX_MUWS_PART1_SCHEMA );
-
-}
+ /**
+ * Name of this capability.
+ */
+ String NAME = "ManageabilityCharacteristics";
+
+ /**
+ * Manageability capability URI.
+ */
+ String URI = MuwsConstants.BASE_URI_MUWS_CAPABILITIES + NAME;
+
+ /**
+ * Port type name.
+ */
+ QName PORT_TYPE_NAME =
+ new QName( MuwsConstants.NSURI_MUWS_PART2_WSDL, NAME, MuwsConstants.NSPREFIX_MUWS_PART2_WSDL );
+
+ /**
+ * Topic name.
+ */
+ String TOPIC_NAME = NAME + "Capability";
+
+ /**
+ * ManageabilityCapability property name.
+ */
+ QName PROP_NAME_MANAGEABILITY_CAPABILITY =
+ new QName( MuwsConstants.NSURI_MUWS_PART1_SCHEMA, "ManageabilityCapability",
+ MuwsConstants.NSPREFIX_MUWS_PART1_SCHEMA );
+}
\ No newline at end of file
Modified: webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/MetricsCapability.java
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/MetricsCapability.java?rev=227038&r1=227037&r2=227038&view=diff
==============================================================================
--- webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/MetricsCapability.java (original)
+++ webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/MetricsCapability.java Tue Aug 2 09:48:21 2005
@@ -1,22 +1,21 @@
-/*
- * Copyright 2004-2005 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
- *
+/*=============================================================================*
+ * Copyright 2004 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.
- */
+ *
+ * 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.ws.muws.v1_0.capability;
import org.apache.ws.muws.v1_0.MuwsConstants;
-
import javax.xml.namespace.QName;
/**
@@ -24,30 +23,30 @@
*/
public interface MetricsCapability
{
-
- /**
- * Name of this capability.
- */
- String NAME = "Metrics";
-
- /**
- * Manageability capability URI.
- */
- String URI = MuwsConstants.BASE_URI_MUWS_CAPABILITIES + NAME;
-
- /**
- * Port type name.
- */
- QName PORT_TYPE_NAME = new QName( MuwsConstants.NSURI_MUWS_PART2_WSDL, NAME, MuwsConstants.NSPREFIX_MUWS_PART2_WSDL );
-
- /**
- * Topic name.
- */
- String TOPIC_NAME = NAME + "Capability";
-
- /**
- * CurrentTime property name.
- */
- QName PROP_NAME_CURRENT_TIME = new QName( MuwsConstants.NSURI_MUWS_PART2_SCHEMA, "CurrentTime", MuwsConstants.NSPREFIX_MUWS_PART2_SCHEMA );
-
-}
+ /**
+ * Name of this capability.
+ */
+ String NAME = "Metrics";
+
+ /**
+ * Manageability capability URI.
+ */
+ String URI = MuwsConstants.BASE_URI_MUWS_CAPABILITIES + NAME;
+
+ /**
+ * Port type name.
+ */
+ QName PORT_TYPE_NAME =
+ new QName( MuwsConstants.NSURI_MUWS_PART2_WSDL, NAME, MuwsConstants.NSPREFIX_MUWS_PART2_WSDL );
+
+ /**
+ * Topic name.
+ */
+ String TOPIC_NAME = NAME + "Capability";
+
+ /**
+ * CurrentTime property name.
+ */
+ QName PROP_NAME_CURRENT_TIME =
+ new QName( MuwsConstants.NSURI_MUWS_PART2_SCHEMA, "CurrentTime", MuwsConstants.NSPREFIX_MUWS_PART2_SCHEMA );
+}
\ No newline at end of file
Modified: webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/OperationalStatusCapability.java
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/OperationalStatusCapability.java?rev=227038&r1=227037&r2=227038&view=diff
==============================================================================
--- webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/OperationalStatusCapability.java (original)
+++ webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/OperationalStatusCapability.java Tue Aug 2 09:48:21 2005
@@ -1,22 +1,21 @@
-/*
- * Copyright 2004-2005 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
- *
+/*=============================================================================*
+ * Copyright 2004 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.
- */
+ *
+ * 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.ws.muws.v1_0.capability;
import org.apache.ws.muws.v1_0.MuwsConstants;
-
import javax.xml.namespace.QName;
/**
@@ -24,30 +23,31 @@
*/
public interface OperationalStatusCapability
{
-
- /**
- * Name of this capability.
- */
- String NAME = "OperationalStatus";
-
- /**
- * Manageability capability URI.
- */
- String URI = MuwsConstants.BASE_URI_MUWS_CAPABILITIES + NAME;
-
- /**
- * Port type name.
- */
- QName PORT_TYPE_NAME = new QName( MuwsConstants.NSURI_MUWS_PART2_WSDL, NAME, MuwsConstants.NSPREFIX_MUWS_PART2_WSDL );
-
- /**
- * Topic name.
- */
- String TOPIC_NAME = NAME + "Capability";
-
- /**
- * OperationalStatus property name.
- */
- QName PROP_NAME_OPERATIONAL_STATUS = new QName( MuwsConstants.NSURI_MUWS_PART2_SCHEMA, "OperationalStatus", MuwsConstants.NSPREFIX_MUWS_PART2_SCHEMA );
-
-}
+ /**
+ * Name of this capability.
+ */
+ String NAME = "OperationalStatus";
+
+ /**
+ * Manageability capability URI.
+ */
+ String URI = MuwsConstants.BASE_URI_MUWS_CAPABILITIES + NAME;
+
+ /**
+ * Port type name.
+ */
+ QName PORT_TYPE_NAME =
+ new QName( MuwsConstants.NSURI_MUWS_PART2_WSDL, NAME, MuwsConstants.NSPREFIX_MUWS_PART2_WSDL );
+
+ /**
+ * Topic name.
+ */
+ String TOPIC_NAME = NAME + "Capability";
+
+ /**
+ * OperationalStatus property name.
+ */
+ QName PROP_NAME_OPERATIONAL_STATUS =
+ new QName( MuwsConstants.NSURI_MUWS_PART2_SCHEMA, "OperationalStatus",
+ MuwsConstants.NSPREFIX_MUWS_PART2_SCHEMA );
+}
\ No newline at end of file
Modified: webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/RelationshipAccessCapability.java
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/RelationshipAccessCapability.java?rev=227038&r1=227037&r2=227038&view=diff
==============================================================================
--- webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/RelationshipAccessCapability.java (original)
+++ webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/RelationshipAccessCapability.java Tue Aug 2 09:48:21 2005
@@ -1,25 +1,39 @@
-package org.apache.ws.muws.v1_0.capability;
-
-import org.apache.ws.muws.v1_0.MuwsConstants;
-
-/**
- * @author Sal Campana
- */
-public interface RelationshipAccessCapability
-{
- /**
- * Name of this capability.
- */
- String NAME = "RelationshipAccess";
-
- /**
- * Manageability capability URI.
- */
- String URI = MuwsConstants.BASE_URI_MUWS_CAPABILITIES + NAME;
-
- /**
- * Topic name.
- */
- String TOPIC_NAME = NAME + "Capability";
-
-}
+/*=============================================================================*
+ * Copyright 2004 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.ws.muws.v1_0.capability;
+
+import org.apache.ws.muws.v1_0.MuwsConstants;
+
+/**
+ * @author Sal Campana
+ */
+public interface RelationshipAccessCapability
+{
+ /**
+ * Name of this capability.
+ */
+ String NAME = "RelationshipAccess";
+
+ /**
+ * Manageability capability URI.
+ */
+ String URI = MuwsConstants.BASE_URI_MUWS_CAPABILITIES + NAME;
+
+ /**
+ * Topic name.
+ */
+ String TOPIC_NAME = NAME + "Capability";
+}
\ No newline at end of file
Modified: webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/RelationshipResourceCapability.java
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/RelationshipResourceCapability.java?rev=227038&r1=227037&r2=227038&view=diff
==============================================================================
--- webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/RelationshipResourceCapability.java (original)
+++ webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/RelationshipResourceCapability.java Tue Aug 2 09:48:21 2005
@@ -1,22 +1,21 @@
-/*
- * Copyright 2004-2005 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
- *
+/*=============================================================================*
+ * Copyright 2004 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.
- */
+ *
+ * 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.ws.muws.v1_0.capability;
import org.apache.ws.muws.v1_0.MuwsConstants;
-
import javax.xml.namespace.QName;
/**
@@ -24,40 +23,42 @@
*/
public interface RelationshipResourceCapability
{
-
- /**
- * Name of this capability.
- */
- String NAME = "RelationshipResource";
-
- /**
- * Manageability capability URI.
- */
- String URI = MuwsConstants.BASE_URI_MUWS_CAPABILITIES + NAME;
-
- /**
- * Port type name.
- */
- QName PORT_TYPE_NAME = new QName( MuwsConstants.NSURI_MUWS_PART2_WSDL, NAME, MuwsConstants.NSPREFIX_MUWS_PART2_WSDL );
-
- /**
- * Topic name.
- */
- String TOPIC_NAME = NAME + "Capability";
-
- /**
- * Name property name.
- */
- QName PROP_NAME_NAME = new QName( MuwsConstants.NSURI_MUWS_PART2_SCHEMA, "Name", MuwsConstants.NSPREFIX_MUWS_PART2_SCHEMA );
-
- /**
- * Type property name.
- */
- QName PROP_NAME_TYPE = new QName( MuwsConstants.NSURI_MUWS_PART2_SCHEMA, "Type", MuwsConstants.NSPREFIX_MUWS_PART2_SCHEMA );
-
- /**
- * Participant property name.
- */
- QName PROP_NAME_PARTICIPANT = new QName( MuwsConstants.NSURI_MUWS_PART2_SCHEMA, "Participant", MuwsConstants.NSPREFIX_MUWS_PART2_SCHEMA );
-
-}
+ /**
+ * Name of this capability.
+ */
+ String NAME = "RelationshipResource";
+
+ /**
+ * Manageability capability URI.
+ */
+ String URI = MuwsConstants.BASE_URI_MUWS_CAPABILITIES + NAME;
+
+ /**
+ * Port type name.
+ */
+ QName PORT_TYPE_NAME =
+ new QName( MuwsConstants.NSURI_MUWS_PART2_WSDL, NAME, MuwsConstants.NSPREFIX_MUWS_PART2_WSDL );
+
+ /**
+ * Topic name.
+ */
+ String TOPIC_NAME = NAME + "Capability";
+
+ /**
+ * Name property name.
+ */
+ QName PROP_NAME_NAME =
+ new QName( MuwsConstants.NSURI_MUWS_PART2_SCHEMA, "Name", MuwsConstants.NSPREFIX_MUWS_PART2_SCHEMA );
+
+ /**
+ * Type property name.
+ */
+ QName PROP_NAME_TYPE =
+ new QName( MuwsConstants.NSURI_MUWS_PART2_SCHEMA, "Type", MuwsConstants.NSPREFIX_MUWS_PART2_SCHEMA );
+
+ /**
+ * Participant property name.
+ */
+ QName PROP_NAME_PARTICIPANT =
+ new QName( MuwsConstants.NSURI_MUWS_PART2_SCHEMA, "Participant", MuwsConstants.NSPREFIX_MUWS_PART2_SCHEMA );
+}
\ No newline at end of file
Modified: webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/RelationshipsCapability.java
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/RelationshipsCapability.java?rev=227038&r1=227037&r2=227038&view=diff
==============================================================================
--- webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/RelationshipsCapability.java (original)
+++ webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/RelationshipsCapability.java Tue Aug 2 09:48:21 2005
@@ -1,24 +1,23 @@
-/*
- * Copyright 2004-2005 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
- *
+/*=============================================================================*
+ * Copyright 2004 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.
- */
+ *
+ * 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.ws.muws.v1_0.capability;
import org.apache.ws.muws.v1_0.MuwsConstants;
-import org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.QueryRelationshipsByTypeResponseDocument;
import org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.QueryRelationshipsByTypeDocument;
-
+import org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.QueryRelationshipsByTypeResponseDocument;
import javax.xml.namespace.QName;
/**
@@ -26,49 +25,49 @@
*/
public interface RelationshipsCapability
{
-
- /**
- * Name of this capability.
- */
- String NAME = "Relationships";
-
- /**
- * Manageability capability URI.
- */
- String URI = MuwsConstants.BASE_URI_MUWS_CAPABILITIES + NAME;
-
- /**
- * Port type name.
- */
- QName PORT_TYPE_NAME = new QName( MuwsConstants.NSURI_MUWS_PART2_WSDL, NAME, MuwsConstants.NSPREFIX_MUWS_PART2_WSDL );
-
- /**
- * Topic name.
- */
- String TOPIC_NAME = NAME + "Capability";
-
- /**
- * Relationship property name.
- */
- QName PROP_NAME_RELATIONSHIP = new QName( MuwsConstants.NSURI_MUWS_PART2_SCHEMA, "Relationship", MuwsConstants.NSPREFIX_MUWS_PART2_SCHEMA );
-
- /**
- * RelationshipCreated subtopic name.
- */
- String SUBTOPIC_NAME_RELATIONSHIP_CREATED = "RelationshipCreated";
-
- /**
- * RelationshipDeleted subtopic name.
- */
- String SUBTOPIC_NAME_RELATIONSHIP_DELETED = "RelationshipDeleted";
-
- /**
- * This operation is a shortcut to query relationships of the same type. See section 4.1.4.1 of the MUWS Part 2 spec.
- *
- * @param requestDoc the request document
- *
- * @return the response document
- */
- QueryRelationshipsByTypeResponseDocument queryRelationshipsByType( QueryRelationshipsByTypeDocument requestDoc );
-
-}
+ /**
+ * Name of this capability.
+ */
+ String NAME = "Relationships";
+
+ /**
+ * Manageability capability URI.
+ */
+ String URI = MuwsConstants.BASE_URI_MUWS_CAPABILITIES + NAME;
+
+ /**
+ * Port type name.
+ */
+ QName PORT_TYPE_NAME =
+ new QName( MuwsConstants.NSURI_MUWS_PART2_WSDL, NAME, MuwsConstants.NSPREFIX_MUWS_PART2_WSDL );
+
+ /**
+ * Topic name.
+ */
+ String TOPIC_NAME = NAME + "Capability";
+
+ /**
+ * Relationship property name.
+ */
+ QName PROP_NAME_RELATIONSHIP =
+ new QName( MuwsConstants.NSURI_MUWS_PART2_SCHEMA, "Relationship", MuwsConstants.NSPREFIX_MUWS_PART2_SCHEMA );
+
+ /**
+ * RelationshipCreated subtopic name.
+ */
+ String SUBTOPIC_NAME_RELATIONSHIP_CREATED = "RelationshipCreated";
+
+ /**
+ * RelationshipDeleted subtopic name.
+ */
+ String SUBTOPIC_NAME_RELATIONSHIP_DELETED = "RelationshipDeleted";
+
+ /**
+ * This operation is a shortcut to query relationships of the same type. See section 4.1.4.1 of the MUWS Part 2 spec.
+ *
+ * @param requestDoc the request document
+ *
+ * @return the response document
+ */
+ QueryRelationshipsByTypeResponseDocument queryRelationshipsByType( QueryRelationshipsByTypeDocument requestDoc );
+}
\ No newline at end of file
Modified: webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/StateCapability.java
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/StateCapability.java?rev=227038&r1=227037&r2=227038&view=diff
==============================================================================
--- webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/StateCapability.java (original)
+++ webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/StateCapability.java Tue Aug 2 09:48:21 2005
@@ -1,32 +1,46 @@
-package org.apache.ws.muws.v1_0.capability;
-
-import org.apache.ws.muws.v1_0.MuwsConstants;
-
-import javax.xml.namespace.QName;
-
-/**
- * @author Sal Campana
- */
-public interface StateCapability
-{
- /**
- * Name of this capability.
- */
- String NAME = "State";
-
- /**
- * Manageability capability URI.
- */
- String URI = MuwsConstants.BASE_URI_MUWS_CAPABILITIES + NAME;
-
- /**
- * Topic name.
- */
- String TOPIC_NAME = NAME + "Capability";
-
- /**
- * OperationalStatus property name.
- */
- QName PROP_NAME_STATE = new QName( MuwsConstants.NSURI_MUWS_PART2_SCHEMA, "State", MuwsConstants.NSPREFIX_MUWS_PART2_SCHEMA );
-
-}
+/*=============================================================================*
+ * Copyright 2004 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.ws.muws.v1_0.capability;
+
+import org.apache.ws.muws.v1_0.MuwsConstants;
+import javax.xml.namespace.QName;
+
+/**
+ * @author Sal Campana
+ */
+public interface StateCapability
+{
+ /**
+ * Name of this capability.
+ */
+ String NAME = "State";
+
+ /**
+ * Manageability capability URI.
+ */
+ String URI = MuwsConstants.BASE_URI_MUWS_CAPABILITIES + NAME;
+
+ /**
+ * Topic name.
+ */
+ String TOPIC_NAME = NAME + "Capability";
+
+ /**
+ * OperationalStatus property name.
+ */
+ QName PROP_NAME_STATE =
+ new QName( MuwsConstants.NSURI_MUWS_PART2_SCHEMA, "State", MuwsConstants.NSPREFIX_MUWS_PART2_SCHEMA );
+}
\ No newline at end of file
Modified: webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/impl/RelationshipsCapabilityImpl.java
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/impl/RelationshipsCapabilityImpl.java?rev=227038&r1=227037&r2=227038&view=diff
==============================================================================
--- webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/impl/RelationshipsCapabilityImpl.java (original)
+++ webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/impl/RelationshipsCapabilityImpl.java Tue Aug 2 09:48:21 2005
@@ -1,115 +1,128 @@
-/*=============================================================================*
- * Copyright 2005 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.ws.muws.v1_0.capability.impl;
-
-import org.apache.ws.muws.v1_0.capability.RelationshipsCapability;
-import org.apache.ws.resource.ResourceContext;
-import org.apache.ws.resource.properties.NamespaceVersionHolder;
-import org.apache.ws.resource.properties.ResourceProperty;
-import org.apache.ws.resource.properties.ResourcePropertySet;
-import org.apache.ws.resource.properties.impl.AbstractResourcePropertiesPortType;
-import org.apache.ws.util.XmlBeanUtils;
-import org.apache.xmlbeans.XmlObject;
-import org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.QueryRelationshipsByTypeDocument;
-import org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.QueryRelationshipsByTypeResponseDocument;
-import org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.RelationshipType;
-
-import javax.xml.namespace.QName;
-import javax.xml.rpc.JAXRPCException;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-/**
- * Provides an implementation of the queryRelationshipsByType operation in support for the
- * MUWS RelationshipsCapability.
- *
- * @author Sal Campana
- */
-public class RelationshipsCapabilityImpl extends AbstractResourcePropertiesPortType implements RelationshipsCapability
-{
-
- /**
- * @param resourceContext
- */
- public RelationshipsCapabilityImpl( ResourceContext resourceContext )
- {
- super( resourceContext );
- }
-
- /**
- * @param requestDoc
- *
- * @return QueryRelationshipsByTypeResponse document
- */
- public QueryRelationshipsByTypeResponseDocument queryRelationshipsByType(
- QueryRelationshipsByTypeDocument requestDoc )
- {
- QueryRelationshipsByTypeResponseDocument responseDoc = createQueryRelationshipsByTypeResponseDocument();
- QueryRelationshipsByTypeResponseDocument.QueryRelationshipsByTypeResponse response = responseDoc.getQueryRelationshipsByTypeResponse();
-
- org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.QueryRelationshipsByTypeDocument.QueryRelationshipsByType queryRelationshipsByType = requestDoc.getQueryRelationshipsByType();
- javax.xml.namespace.QName requestedType = queryRelationshipsByType.getRequestedType();
-
- ResourcePropertySet properties = getProperties();
- ResourceProperty resourceProperty = properties.get(RelationshipsCapability.PROP_NAME_RELATIONSHIP);
-
- if(resourceProperty == null)
- {
- throw new JAXRPCException("Unable to query relationship since the Resource does not expose a " + RelationshipsCapability.PROP_NAME_RELATIONSHIP + " resource property.");
- }
-
- List matchingRelationships = new ArrayList();
-
- Iterator iterator = resourceProperty.iterator();
- while (iterator.hasNext())
- {
- org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.RelationshipType relationship = (org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.RelationshipType) iterator.next();
- org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.RelationshipTypeType type = relationship.getType();
- XmlObject[] childElements = XmlBeanUtils.getChildElements(type);
-
- for (int i = 0; i < childElements.length; i++)
- {
- XmlObject childElement = childElements[i];
- QName typeName = XmlBeanUtils.getName(childElement);
-
- if (typeName.equals(requestedType))
- {
- matchingRelationships.add(relationship);
- }
- }
- }
-
- //add matching relationships to the response
- response.setRelationshipArray((RelationshipType[])matchingRelationships.toArray(new RelationshipType[0]));
-
- return responseDoc;
- }
-
- protected NamespaceVersionHolder getNamespaceSet()
- {
- return null; // not currently used - will be needed once we need to support multiple spec versions
- }
-
- private QueryRelationshipsByTypeResponseDocument createQueryRelationshipsByTypeResponseDocument()
- {
- QueryRelationshipsByTypeResponseDocument responseDoc =
- QueryRelationshipsByTypeResponseDocument.Factory.newInstance();
- responseDoc.addNewQueryRelationshipsByTypeResponse();
- return responseDoc;
- }
-
-}
+/*=============================================================================*
+ * Copyright 2004 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.ws.muws.v1_0.capability.impl;
+
+import org.apache.ws.muws.v1_0.capability.RelationshipsCapability;
+import org.apache.ws.resource.ResourceContext;
+import org.apache.ws.resource.properties.NamespaceVersionHolder;
+import org.apache.ws.resource.properties.ResourceProperty;
+import org.apache.ws.resource.properties.ResourcePropertySet;
+import org.apache.ws.resource.properties.impl.AbstractResourcePropertiesPortType;
+import org.apache.ws.util.XmlBeanUtils;
+import org.apache.xmlbeans.XmlObject;
+import org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.QueryRelationshipsByTypeDocument;
+import org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.QueryRelationshipsByTypeResponseDocument;
+import org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.RelationshipType;
+import javax.xml.namespace.QName;
+import javax.xml.rpc.JAXRPCException;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+
+/**
+ * Provides an implementation of the queryRelationshipsByType operation in support for the
+ * MUWS RelationshipsCapability.
+ *
+ * @author Sal Campana
+ */
+public class RelationshipsCapabilityImpl
+ extends AbstractResourcePropertiesPortType
+ implements RelationshipsCapability
+{
+ /**
+ * @param resourceContext
+ */
+ public RelationshipsCapabilityImpl( ResourceContext resourceContext )
+ {
+ super( resourceContext );
+ }
+
+ /**
+ * @param requestDoc
+ *
+ * @return QueryRelationshipsByTypeResponse document
+ */
+ public QueryRelationshipsByTypeResponseDocument queryRelationshipsByType( QueryRelationshipsByTypeDocument requestDoc )
+ {
+ QueryRelationshipsByTypeResponseDocument responseDoc =
+ createQueryRelationshipsByTypeResponseDocument( );
+ QueryRelationshipsByTypeResponseDocument.QueryRelationshipsByTypeResponse response =
+ responseDoc.getQueryRelationshipsByTypeResponse( );
+
+ org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.QueryRelationshipsByTypeDocument.QueryRelationshipsByType queryRelationshipsByType =
+ requestDoc.getQueryRelationshipsByType( );
+ javax.xml.namespace.QName requestedType =
+ queryRelationshipsByType.getRequestedType( );
+
+ ResourcePropertySet properties =
+ getProperties( );
+ ResourceProperty resourceProperty =
+ properties.get( RelationshipsCapability.PROP_NAME_RELATIONSHIP );
+
+ if ( resourceProperty == null )
+ {
+ throw new JAXRPCException( "Unable to query relationship since the Resource does not expose a "
+ + RelationshipsCapability.PROP_NAME_RELATIONSHIP + " resource property." );
+ }
+
+ List matchingRelationships = new ArrayList( );
+
+ Iterator iterator = resourceProperty.iterator( );
+ while ( iterator.hasNext( ) )
+ {
+ org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.RelationshipType relationship =
+ (org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.RelationshipType) iterator.next( );
+ org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.RelationshipTypeType type =
+ relationship.getType( );
+ XmlObject[] childElements =
+ XmlBeanUtils.getChildElements( type );
+
+ for ( int i = 0; i < childElements.length; i++ )
+ {
+ XmlObject childElement = childElements[i];
+ QName typeName = XmlBeanUtils.getName( childElement );
+
+ if ( typeName.equals( requestedType ) )
+ {
+ matchingRelationships.add( relationship );
+ }
+ }
+ }
+
+ //add matching relationships to the response
+ response.setRelationshipArray( (RelationshipType[]) matchingRelationships.toArray( new RelationshipType[0] ) );
+
+ return responseDoc;
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ protected NamespaceVersionHolder getNamespaceSet( )
+ {
+ return null; // not currently used - will be needed once we need to support multiple spec versions
+ }
+
+ private QueryRelationshipsByTypeResponseDocument createQueryRelationshipsByTypeResponseDocument( )
+ {
+ QueryRelationshipsByTypeResponseDocument responseDoc =
+ QueryRelationshipsByTypeResponseDocument.Factory.newInstance( );
+ responseDoc.addNewQueryRelationshipsByTypeResponse( );
+ return responseDoc;
+ }
+}
\ No newline at end of file
Modified: webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/events/LangString.java
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/events/LangString.java?rev=227038&r1=227037&r2=227038&view=diff
==============================================================================
--- webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/events/LangString.java (original)
+++ webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/events/LangString.java Tue Aug 2 09:48:21 2005
@@ -1,28 +1,37 @@
-/*=============================================================================*
- * Copyright 2005 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.ws.muws.v1_0.events;
-
-/**
- * A representation of the muws-p2-xs:LangString type.
- */
-public interface LangString
-{
-
- String getValue();
-
- String getLang();
-
-}
+/*=============================================================================*
+ * Copyright 2004 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.ws.muws.v1_0.events;
+
+
+/**
+ * A representation of the muws-p2-xs:LangString type.
+ */
+public interface LangString
+{
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ String getLang( );
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ String getValue( );
+}
\ No newline at end of file
Modified: webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/events/ManagementEvent.java
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/events/ManagementEvent.java?rev=227038&r1=227037&r2=227038&view=diff
==============================================================================
--- webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/events/ManagementEvent.java (original)
+++ webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/events/ManagementEvent.java Tue Aug 2 09:48:21 2005
@@ -1,31 +1,107 @@
-package org.apache.ws.muws.v1_0.events;
-
-/**
- * @author Sal Campana
- */
-public interface ManagementEvent
-{
- String getReporterResourceId();
-
- String getSourceResourceId();
-
- String getEventId();
-
- Object[] getReporterComponentAddresses();
-
- Object[] getSourceComponentAddresses();
-
- Object[] getAny();
-
- void setReporterResourceId(String reporterResourceId);
-
- void setSourceResourceId(String sourceResourceId);
-
- void setReporterComponentAddresses(Object[] reporterComponentAddresses);
-
- void setSourceComponentAddresses(Object[] sourceComponentAddresses);
-
- void setAny(Object[] any);
-
- Situation getSituation();
-}
+/*=============================================================================*
+ * Copyright 2004 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.ws.muws.v1_0.events;
+
+
+/**
+ * @author Sal Campana
+ */
+public interface ManagementEvent
+{
+ /**
+ * DOCUMENT_ME
+ *
+ * @param any DOCUMENT_ME
+ */
+ void setAny( Object[] any );
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ Object[] getAny( );
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ String getEventId( );
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @param reporterComponentAddresses DOCUMENT_ME
+ */
+ void setReporterComponentAddresses( Object[] reporterComponentAddresses );
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ Object[] getReporterComponentAddresses( );
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @param reporterResourceId DOCUMENT_ME
+ */
+ void setReporterResourceId( String reporterResourceId );
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ String getReporterResourceId( );
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ Situation getSituation( );
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @param sourceComponentAddresses DOCUMENT_ME
+ */
+ void setSourceComponentAddresses( Object[] sourceComponentAddresses );
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ Object[] getSourceComponentAddresses( );
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @param sourceResourceId DOCUMENT_ME
+ */
+ void setSourceResourceId( String sourceResourceId );
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ String getSourceResourceId( );
+}
\ No newline at end of file
Modified: webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/events/Situation.java
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/events/Situation.java?rev=227038&r1=227037&r2=227038&view=diff
==============================================================================
--- webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/events/Situation.java (original)
+++ webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/events/Situation.java Tue Aug 2 09:48:21 2005
@@ -1,29 +1,116 @@
-package org.apache.ws.muws.v1_0.events;
-
-import org.apache.ws.muws.Category;
-
-import java.util.Calendar;
-
-/**
- * @author Sal Campana
- */
-public interface Situation
-{
-
- void setPriority(short priority);
- void setSeverity(short severity);
- void setMessage(LangString message);
- void setSituationTime(Calendar cal);
- void setSuccessDisposition (Boolean bool);
- void setSubstitutionalMsg( SubstitutableMsg msg);
-
- Category getSituationCategory();
-
- short getPriority();
- short getSeverity();
- LangString getMessage();
- Calendar getSituationTime();
- Boolean getSuccessDisposition();
- SubstitutableMsg getSubstitutionalMsg();
-
-}
+/*=============================================================================*
+ * Copyright 2004 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.ws.muws.v1_0.events;
+
+import org.apache.ws.muws.Category;
+import java.util.Calendar;
+
+/**
+ * @author Sal Campana
+ */
+public interface Situation
+{
+ /**
+ * DOCUMENT_ME
+ *
+ * @param message DOCUMENT_ME
+ */
+ void setMessage( LangString message );
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ LangString getMessage( );
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @param priority DOCUMENT_ME
+ */
+ void setPriority( short priority );
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ short getPriority( );
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @param severity DOCUMENT_ME
+ */
+ void setSeverity( short severity );
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ short getSeverity( );
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ Category getSituationCategory( );
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @param cal DOCUMENT_ME
+ */
+ void setSituationTime( Calendar cal );
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ Calendar getSituationTime( );
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @param msg DOCUMENT_ME
+ */
+ void setSubstitutionalMsg( SubstitutableMsg msg );
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ SubstitutableMsg getSubstitutionalMsg( );
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @param bool DOCUMENT_ME
+ */
+ void setSuccessDisposition( Boolean bool );
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ Boolean getSuccessDisposition( );
+}
\ No newline at end of file
Modified: webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/events/SubstitutableMsg.java
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/events/SubstitutableMsg.java?rev=227038&r1=227037&r2=227038&view=diff
==============================================================================
--- webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/events/SubstitutableMsg.java (original)
+++ webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/events/SubstitutableMsg.java Tue Aug 2 09:48:21 2005
@@ -1,14 +1,65 @@
-package org.apache.ws.muws.v1_0.events;
-
-/**
- * @author Sal Campana
- */
-public interface SubstitutableMsg
-{
- void setMsgId(String messageId);
- void setMsgType(String msgType);
- void addValue(String value);
- String getMsgId();
- String getMsgType();
- String[] getValueArray();
-}
+/*=============================================================================*
+ * Copyright 2004 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.ws.muws.v1_0.events;
+
+
+/**
+ * @author Sal Campana
+ */
+public interface SubstitutableMsg
+{
+ /**
+ * DOCUMENT_ME
+ *
+ * @param messageId DOCUMENT_ME
+ */
+ void setMsgId( String messageId );
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ String getMsgId( );
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @param msgType DOCUMENT_ME
+ */
+ void setMsgType( String msgType );
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ String getMsgType( );
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ String[] getValueArray( );
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @param value DOCUMENT_ME
+ */
+ void addValue( String value );
+}
\ No newline at end of file
Modified: webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/events/impl/LangStringImpl.java
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/events/impl/LangStringImpl.java?rev=227038&r1=227037&r2=227038&view=diff
==============================================================================
--- webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/events/impl/LangStringImpl.java (original)
+++ webservices/muse/trunk/src/java/org/apache/ws/muws/v1_0/events/impl/LangStringImpl.java Tue Aug 2 09:48:21 2005
@@ -1,95 +1,143 @@
-/*=============================================================================*
- * Copyright 2005 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.ws.muws.v1_0.events.impl;
-
-import org.apache.ws.muws.v1_0.events.LangString;
-import org.apache.ws.XmlObjectWrapper;
-import org.apache.xmlbeans.XmlObject;
-
-import java.util.Locale;
-
-/**
- * A {@link LangString} implementation that supports converting to and from a LangString
- * XMLBean.
- *
- * @author Ian Springer (ian DOT springer AT hp DOT com)
- */
-public class LangStringImpl implements LangString, XmlObjectWrapper
-{
-
- private String m_value;
- private String m_lang;
-
- public LangStringImpl( String value )
- {
- this( value, toXmlLang( Locale.getDefault() ) );
- }
-
- public LangStringImpl( org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.LangString langString )
- {
- this( langString.getStringValue(), langString.getLang() );
- }
-
- public LangStringImpl( String value, String lang )
- {
- m_value = value;
- m_lang = lang;
- }
-
- public String getValue()
- {
- return m_value;
- }
-
- public String getLang()
- {
- return m_lang;
- }
-
- public XmlObject getXmlObject()
- {
- org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.LangString langString = org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.LangString.Factory.newInstance();
- langString.setStringValue( m_value );
- langString.setLang( m_lang );
- return langString;
- }
-
- public String toString()
- {
- return m_value;
- }
-
- public static String toXmlLang( Locale locale )
- {
- if ( "".equals( locale.getLanguage() ) )
- {
- throw new IllegalArgumentException( "Cannot convert a Locale with no language to an xml:lang - RFC 3066 mandates that language tags have a primary subcode." );
- }
- StringBuffer buf = new StringBuffer( locale.getLanguage() );
- if ( ! "".equals( locale.getCountry() ) )
- {
- buf.append( "-" );
- buf.append( locale.getCountry() );
- if ( ! "".equals( locale.getVariant() ) )
- {
- buf.append( "-" );
- buf.append( locale.getVariant() );
- }
- }
- return buf.toString();
- }
-
-}
+/*=============================================================================*
+ * Copyright 2004 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.ws.muws.v1_0.events.impl;
+
+import org.apache.ws.XmlObjectWrapper;
+import org.apache.ws.muws.v1_0.events.LangString;
+import org.apache.xmlbeans.XmlObject;
+import java.util.Locale;
+
+/**
+ * A {@link LangString} implementation that supports converting to and from a LangString
+ * XMLBean.
+ *
+ * @author Ian Springer (ian DOT springer AT hp DOT com)
+ */
+public class LangStringImpl
+ implements LangString,
+ XmlObjectWrapper
+{
+ private String m_value;
+ private String m_lang;
+
+ /**
+ * Creates a new {@link LangStringImpl} object.
+ *
+ * @param value DOCUMENT_ME
+ */
+ public LangStringImpl( String value )
+ {
+ this( value,
+ toXmlLang( Locale.getDefault( ) ) );
+ }
+
+ /**
+ * Creates a new {@link LangStringImpl} object.
+ *
+ * @param langString DOCUMENT_ME
+ */
+ public LangStringImpl( org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.LangString langString )
+ {
+ this( langString.getStringValue( ),
+ langString.getLang( ) );
+ }
+
+ /**
+ * Creates a new {@link LangStringImpl} object.
+ *
+ * @param value DOCUMENT_ME
+ * @param lang DOCUMENT_ME
+ */
+ public LangStringImpl( String value,
+ String lang )
+ {
+ m_value = value;
+ m_lang = lang;
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getLang( )
+ {
+ return m_lang;
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getValue( )
+ {
+ return m_value;
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public XmlObject getXmlObject( )
+ {
+ org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.LangString langString =
+ org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.LangString.Factory.newInstance( );
+ langString.setStringValue( m_value );
+ langString.setLang( m_lang );
+ return langString;
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String toString( )
+ {
+ return m_value;
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @param locale DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public static String toXmlLang( Locale locale )
+ {
+ if ( "".equals( locale.getLanguage( ) ) )
+ {
+ throw new IllegalArgumentException( "Cannot convert a Locale with no language to an xml:lang - RFC 3066 mandates that language tags have a primary subcode." );
+ }
+
+ StringBuffer buf = new StringBuffer( locale.getLanguage( ) );
+ if ( !"".equals( locale.getCountry( ) ) )
+ {
+ buf.append( "-" );
+ buf.append( locale.getCountry( ) );
+ if ( !"".equals( locale.getVariant( ) ) )
+ {
+ buf.append( "-" );
+ buf.append( locale.getVariant( ) );
+ }
+ }
+
+ return buf.toString( );
+ }
+}
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org