/* | |
* Copyright 1999-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.savan.eventing; | |
public interface EventingConstants { | |
String EVENTING_NAMESPACE = "http://schemas.xmlsoap.org/ws/2004/08/eventing"; | |
String EVENTING_PREFIX = "wse"; | |
String DEFAULT_DELIVERY_MODE = "http://schemas.xmlsoap.org/ws/2004/08/eventing/DeliveryModes/Push"; | |
String DEFAULT_FILTER_IDENTIFIER = FilterDialects.XPath; | |
interface TransferedProperties { | |
String SUBSCRIBER_UUID = "SAVAN_EVENTING_SUBSCRIBER_UUID"; | |
} | |
interface ElementNames { | |
String Subscribe = "Subscribe"; | |
String EndTo = "EndTo"; | |
String Delivery = "Delivery"; | |
String Mode = "Mode"; | |
String NotifyTo = "NotifyTo"; | |
String Expires = "Expires"; | |
String Filter = "Filter"; | |
String Dialect = "Dialect"; | |
String SubscribeResponse = "SubscribeResponse"; | |
String SubscriptionManager = "SubscriptionManager"; | |
String Renew = "Renew"; | |
String RenewResponse = "RenewResponse"; | |
String Identifier = "Identifier"; | |
String Unsubscribe = "Unsubscribe"; | |
String GetStatus = "GetStatus"; | |
String GetStatusResponse = "GetStatusResponse"; | |
} | |
interface Actions { | |
String Subscribe = "http://schemas.xmlsoap.org/ws/2004/08/eventing/Subscribe"; | |
String SubscribeResponse = "http://schemas.xmlsoap.org/ws/2004/08/eventing/SubscribeResponse"; | |
String Renew = "http://schemas.xmlsoap.org/ws/2004/08/eventing/Renew"; | |
String RenewResponse = "http://schemas.xmlsoap.org/ws/2004/08/eventing/RenewResponse"; | |
String Unsubscribe = "http://schemas.xmlsoap.org/ws/2004/08/eventing/Unsubscribe"; | |
String UnsubscribeResponse = "http://schemas.xmlsoap.org/ws/2004/08/eventing/UnsubscribeResponse"; | |
String GetStatus = "http://schemas.xmlsoap.org/ws/2004/08/eventing/GetStatus"; | |
String GetStatusResponse = "http://schemas.xmlsoap.org/ws/2004/08/eventing/GetStatusResponse"; | |
} | |
interface Properties { | |
String SOAPVersion = "SOAPVersion"; | |
} | |
interface FilterDialects { | |
String XPath = "http://www.w3.org/TR/1999/REC-xpath-19991116"; | |
} | |
} |