public abstract class AbstractSubscriptionManager extends Object implements SubscriptionManagerEndpoint
Modifier and Type | Field and Description |
---|---|
protected WebServiceContext |
context |
protected static Logger |
LOG |
Constructor and Description |
---|
AbstractSubscriptionManager() |
Modifier and Type | Method and Description |
---|---|
GetStatusResponse |
getStatusOp(GetStatus body)
The GetStatus operation of the Subscription Manager
See http://www.w3.org/TR/ws-eventing/#GetStatus
|
protected abstract SubscriptionManagerInterfaceForManagers |
getSubscriptionManagerBackend() |
protected SubscriptionTicket |
obtainTicketFromDatabaseOrThrowFault(String uuid)
searches the subscription database for a subscription by the given UUID
|
RenewResponse |
renewOp(Renew body)
The Renew operation of the Subscription Manager
See http://www.w3.org/TR/ws-eventing/#Renew
|
protected String |
retrieveSubscriptionUUID()
Retrieves the subscription's uuid as it was specified in SOAP header.
|
UnsubscribeResponse |
unsubscribeOp(Unsubscribe body)
The Unsubscribe operation of the Subscription Manager
See http://www.w3.org/TR/ws-eventing/#Unsubscribe
|
protected static final Logger LOG
protected WebServiceContext context
public RenewResponse renewOp(Renew body)
SubscriptionManagerEndpoint
renewOp
in interface SubscriptionManagerEndpoint
body
- JAXB class Renew representing the body of the renew requestpublic GetStatusResponse getStatusOp(GetStatus body)
SubscriptionManagerEndpoint
getStatusOp
in interface SubscriptionManagerEndpoint
body
- JAXB class GetStatus representing the body of the GetStatus requestpublic UnsubscribeResponse unsubscribeOp(Unsubscribe body)
SubscriptionManagerEndpoint
unsubscribeOp
in interface SubscriptionManagerEndpoint
body
- JAXB class Unsubscribe representing the body of the Unsubscribe requestprotected abstract SubscriptionManagerInterfaceForManagers getSubscriptionManagerBackend()
protected String retrieveSubscriptionUUID()
protected SubscriptionTicket obtainTicketFromDatabaseOrThrowFault(String uuid)
uuid
- Apache CXF