Author: ips
Date: Fri Jan 7 12:57:21 2005
New Revision: 124574
URL: http://svn.apache.org/viewcvs?view=rev&rev=124574
Log:
flesh out WSN interfaces a bit more
Added:
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/BaseNotification1_2Constants.java
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/porttype/
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/porttype/NotificationConsumerPortType.java
- copied, changed from r124460,
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/NotificationConsumerPortType.java
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/porttype/NotificationProducerPortType.java
- copied, changed from r124460,
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/NotificationProducerPortType.java
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/porttype/SubscriptionManagerPortType.java
- copied, changed from r124460,
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/SubscriptionManagerPortType.java
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/porttype/impl/
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/porttype/impl/NotificationConsumerPortTypeImpl.java
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/porttype/impl/NotificationProducerPortTypeImpl.java
- copied, changed from r124460,
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/impl/NotificationProducerPortTypeImpl.java
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/porttype/impl/SubscriptionManagerPortTypeImpl.java
- copied, changed from r124460,
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/impl/SubscriptionManagerPortTypeImpl.java
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_3/
incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/v1_2/
incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/v1_2/Topics1_2Constants.java
incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/v1_3/
Removed:
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/
Modified:
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/Subscription.java
incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/TopicListMetaData.java
Modified:
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/Subscription.java
Url:
http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/java/org/apache/ws/notification/base/Subscription.java?view=diff&rev=124574&p1=incubator/hermes/trunk/src/java/org/apache/ws/notification/base/Subscription.java&r1=124573&p2=incubator/hermes/trunk/src/java/org/apache/ws/notification/base/Subscription.java&r2=124574
==============================================================================
---
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/Subscription.java
(original)
+++
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/Subscription.java
Fri Jan 7 12:57:21 2005
@@ -112,6 +112,6 @@
*
* @return The creation time
*/
- public Calendar getCreationTime();
+ Calendar getCreationTime();
}
Added:
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/BaseNotification1_2Constants.java
Url:
http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/BaseNotification1_2Constants.java?view=auto&rev=124574
==============================================================================
--- (empty file)
+++
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/BaseNotification1_2Constants.java
Fri Jan 7 12:57:21 2005
@@ -0,0 +1,46 @@
+/*=============================================================================*
+ * 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.notification.base.v1_2;
+
+/**
+ * TODO
+ *
+ * @author Ian Springer (ian DOT springer AT hp DOT com)
+ */
+public interface BaseNotification1_2Constants
+{
+
+ /**
+ * DOCUMENT_ME
+ */
+ String NSURI_WSNT_SCHEMA =
"http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd";
+
+ /**
+ * DOCUMENT_ME
+ */
+ String NSPREFIX_WSNT_SCHEMA = "wsnt";
+
+ /**
+ * DOCUMENT_ME
+ */
+ String NSURI_WSNT_WSDL =
"http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl";
+
+ /**
+ * DOCUMENT_ME
+ */
+ String NSPREFIX_WSNT_WSDL = "wsntw";
+
+}
Copied:
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/porttype/NotificationConsumerPortType.java
(from r124460,
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/NotificationConsumerPortType.java)
Url:
http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/porttype/NotificationConsumerPortType.java?view=diff&rev=124574&p1=incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/NotificationConsumerPortType.java&r1=124460&p2=incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/porttype/NotificationConsumerPortType.java&r2=124574
==============================================================================
---
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/NotificationConsumerPortType.java
(original)
+++
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/porttype/NotificationConsumerPortType.java
Fri Jan 7 12:57:21 2005
@@ -13,9 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*=============================================================================*/
-package org.apache.ws.notification.base.porttype;
+package org.apache.ws.notification.base.v1_2.porttype;
import
org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.NotifyDocument;
+import org.apache.ws.notification.base.v1_2.BaseNotification1_2Constants;
+
+import javax.xml.namespace.QName;
/**
* The WS-BaseNotification NotificationConsumer portType.
@@ -23,6 +26,8 @@
public interface NotificationConsumerPortType
{
+ QName NAME = new QName( BaseNotification1_2Constants.NSURI_WSNT_WSDL,
"NotificationConsumer", BaseNotification1_2Constants.NSPREFIX_WSNT_WSDL );
+
/**
* @param requestDoc
*/
Copied:
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/porttype/NotificationProducerPortType.java
(from r124460,
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/NotificationProducerPortType.java)
Url:
http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/porttype/NotificationProducerPortType.java?view=diff&rev=124574&p1=incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/NotificationProducerPortType.java&r1=124460&p2=incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/porttype/NotificationProducerPortType.java&r2=124574
==============================================================================
---
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/NotificationProducerPortType.java
(original)
+++
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/porttype/NotificationProducerPortType.java
Fri Jan 7 12:57:21 2005
@@ -13,18 +13,23 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*=============================================================================*/
-package org.apache.ws.notification.base.porttype;
+package org.apache.ws.notification.base.v1_2.porttype;
import
org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.SubscribeResponseDocument;
import
org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.SubscribeDocument;
import
org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.GetCurrentMessageResponseDocument;
import
org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.GetCurrentMessageDocument;
+import org.apache.ws.notification.base.v1_2.BaseNotification1_2Constants;
+
+import javax.xml.namespace.QName;
/**
* The WS-BaseNotification NotificationProducer portType.
*/
public interface NotificationProducerPortType
{
+
+ QName NAME = new QName( BaseNotification1_2Constants.NSURI_WSNT_WSDL,
"NotificationProducer", BaseNotification1_2Constants.NSPREFIX_WSNT_WSDL );
/**
*
Copied:
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/porttype/SubscriptionManagerPortType.java
(from r124460,
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/SubscriptionManagerPortType.java)
Url:
http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/porttype/SubscriptionManagerPortType.java?view=diff&rev=124574&p1=incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/SubscriptionManagerPortType.java&r1=124460&p2=incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/porttype/SubscriptionManagerPortType.java&r2=124574
==============================================================================
---
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/SubscriptionManagerPortType.java
(original)
+++
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/porttype/SubscriptionManagerPortType.java
Fri Jan 7 12:57:21 2005
@@ -13,18 +13,23 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*=============================================================================*/
-package org.apache.ws.notification.base.porttype;
+package org.apache.ws.notification.base.v1_2.porttype;
import
org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.PauseSubscriptionResponseDocument;
import
org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.PauseSubscriptionDocument;
import
org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.ResumeSubscriptionResponseDocument;
import
org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.ResumeSubscriptionDocument;
+import org.apache.ws.notification.base.v1_2.BaseNotification1_2Constants;
+
+import javax.xml.namespace.QName;
/**
* The WS-BaseNotification SubscriptionManager portType.
*/
public interface SubscriptionManagerPortType
{
+
+ QName NAME = new QName( BaseNotification1_2Constants.NSURI_WSNT_WSDL,
"SubscriptionManager", BaseNotification1_2Constants.NSPREFIX_WSNT_WSDL );
/**
*
Added:
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/porttype/impl/NotificationConsumerPortTypeImpl.java
Url:
http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/porttype/impl/NotificationConsumerPortTypeImpl.java?view=auto&rev=124574
==============================================================================
--- (empty file)
+++
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/porttype/impl/NotificationConsumerPortTypeImpl.java
Fri Jan 7 12:57:21 2005
@@ -0,0 +1,35 @@
+/*=============================================================================*
+ * 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.notification.base.v1_2.porttype.impl;
+
+import
org.apache.ws.notification.base.v1_2.porttype.NotificationConsumerPortType;
+import
org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.NotifyDocument;
+
+/**
+ * TODO
+ *
+ * @author Ian Springer (ian DOT springer AT hp DOT com)
+ */
+public class NotificationConsumerPortTypeImpl implements
NotificationConsumerPortType
+{
+
+ public void subscribe( NotifyDocument requestDoc )
+ {
+ // TODO
+ return;
+ }
+
+}
Copied:
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/porttype/impl/NotificationProducerPortTypeImpl.java
(from r124460,
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/impl/NotificationProducerPortTypeImpl.java)
Url:
http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/porttype/impl/NotificationProducerPortTypeImpl.java?view=diff&rev=124574&p1=incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/impl/NotificationProducerPortTypeImpl.java&r1=124460&p2=incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/porttype/impl/NotificationProducerPortTypeImpl.java&r2=124574
==============================================================================
---
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/impl/NotificationProducerPortTypeImpl.java
(original)
+++
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/porttype/impl/NotificationProducerPortTypeImpl.java
Fri Jan 7 12:57:21 2005
@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*=============================================================================*/
-package org.apache.ws.notification.base.porttype.impl;
+package org.apache.ws.notification.base.v1_2.porttype.impl;
-import org.apache.ws.notification.base.porttype.NotificationProducerPortType;
+import
org.apache.ws.notification.base.v1_2.porttype.NotificationProducerPortType;
import
org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.SubscribeResponseDocument;
import
org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.SubscribeDocument;
import
org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.GetCurrentMessageResponseDocument;
Copied:
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/porttype/impl/SubscriptionManagerPortTypeImpl.java
(from r124460,
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/impl/SubscriptionManagerPortTypeImpl.java)
Url:
http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/porttype/impl/SubscriptionManagerPortTypeImpl.java?view=diff&rev=124574&p1=incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/impl/SubscriptionManagerPortTypeImpl.java&r1=124460&p2=incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/porttype/impl/SubscriptionManagerPortTypeImpl.java&r2=124574
==============================================================================
---
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/impl/SubscriptionManagerPortTypeImpl.java
(original)
+++
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v1_2/porttype/impl/SubscriptionManagerPortTypeImpl.java
Fri Jan 7 12:57:21 2005
@@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*=============================================================================*/
-package org.apache.ws.notification.base.porttype.impl;
+package org.apache.ws.notification.base.v1_2.porttype.impl;
-import org.apache.ws.notification.base.porttype.SubscriptionManagerPortType;
-import
org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.PauseSubscriptionResponseDocument;
+import
org.apache.ws.notification.base.v1_2.porttype.SubscriptionManagerPortType;
import
org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.PauseSubscriptionDocument;
-import
org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.ResumeSubscriptionResponseDocument;
+import
org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.PauseSubscriptionResponseDocument;
import
org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.ResumeSubscriptionDocument;
+import
org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.ResumeSubscriptionResponseDocument;
/**
* TODO
Modified:
incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/TopicListMetaData.java
Url:
http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/TopicListMetaData.java?view=diff&rev=124574&p1=incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/TopicListMetaData.java&r1=124573&p2=incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/TopicListMetaData.java&r2=124574
==============================================================================
---
incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/TopicListMetaData.java
(original)
+++
incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/TopicListMetaData.java
Fri Jan 7 12:57:21 2005
@@ -24,7 +24,7 @@
/**
* Is the topic set fixed?
*
- * @return Boolean indicating whether the topic set is fixed or not
+ * @return a boolean indicating whether the topic set is fixed or not
*/
boolean isTopicSetFixed();
Added:
incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/v1_2/Topics1_2Constants.java
Url:
http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/v1_2/Topics1_2Constants.java?view=auto&rev=124574
==============================================================================
--- (empty file)
+++
incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/v1_2/Topics1_2Constants.java
Fri Jan 7 12:57:21 2005
@@ -0,0 +1,36 @@
+/*=============================================================================*
+ * 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.notification.topics.v1_2;
+
+/**
+ * TODO
+ *
+ * @author Ian Springer (ian DOT springer AT hp DOT com)
+ */
+public interface Topics1_2Constants
+{
+
+ /**
+ * DOCUMENT_ME
+ */
+ String NSURI_WSTOP_SCHEMA =
"http://docs.oasis-open.org/wsn/2004/06/wsn-WS-Topics-1.2-draft-01.xsd";
+
+ /**
+ * DOCUMENT_ME
+ */
+ String NSPREFIX_WSTOP_SCHEMA = "wstop";
+
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]