Class AbstractSubscriptionManager
java.lang.Object
org.apache.cxf.ws.eventing.manager.AbstractSubscriptionManager
- All Implemented Interfaces:
SubscriptionManagerEndpoint
public abstract class AbstractSubscriptionManager
extends Object
implements SubscriptionManagerEndpoint
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetStatusOp(GetStatus body) The GetStatus operation of the Subscription Manager See http://www.w3.org/TR/ws-eventing/#GetStatusprotected abstract SubscriptionManagerInterfaceForManagersprotected SubscriptionTicketsearches the subscription database for a subscription by the given UUIDThe Renew operation of the Subscription Manager See http://www.w3.org/TR/ws-eventing/#Renewprotected StringRetrieves the subscription's uuid as it was specified in SOAP header.unsubscribeOp(Unsubscribe body) The Unsubscribe operation of the Subscription Manager See http://www.w3.org/TR/ws-eventing/#Unsubscribe
-
Field Details
-
LOG
-
context
protected jakarta.xml.ws.WebServiceContext context
-
-
Constructor Details
-
AbstractSubscriptionManager
public AbstractSubscriptionManager()
-
-
Method Details
-
renewOp
Description copied from interface:SubscriptionManagerEndpointThe Renew operation of the Subscription Manager See http://www.w3.org/TR/ws-eventing/#Renew- Specified by:
renewOpin interfaceSubscriptionManagerEndpoint- Parameters:
body- JAXB class Renew representing the body of the renew request- Returns:
- JAXB class RenewResponse representing the response for the requester
-
getStatusOp
Description copied from interface:SubscriptionManagerEndpointThe GetStatus operation of the Subscription Manager See http://www.w3.org/TR/ws-eventing/#GetStatus- Specified by:
getStatusOpin interfaceSubscriptionManagerEndpoint- Parameters:
body- JAXB class GetStatus representing the body of the GetStatus request- Returns:
- JAXB class GetStatusResponse representing the response for the requester
-
unsubscribeOp
Description copied from interface:SubscriptionManagerEndpointThe Unsubscribe operation of the Subscription Manager See http://www.w3.org/TR/ws-eventing/#Unsubscribe- Specified by:
unsubscribeOpin interfaceSubscriptionManagerEndpoint- Parameters:
body- JAXB class Unsubscribe representing the body of the Unsubscribe request- Returns:
- JAXB class UnsubscribeResponse representing the response for the requester
-
getSubscriptionManagerBackend
-
retrieveSubscriptionUUID
Retrieves the subscription's uuid as it was specified in SOAP header. Messages sent to SubscriptionManager by clients always need to specify the uuid.- Returns:
- the uuid of the subscription specified in this message's headers. Note: obtaining this doesn't yet make sure that this subscription actually exists.
-
obtainTicketFromDatabaseOrThrowFault
searches the subscription database for a subscription by the given UUID- Parameters:
uuid-- Returns:
- the SubscriptionTicket, or throws UnknownSubscription fault if no such subscription exists
-