org.apache.cxf.ws.eventing.eventsource
Class AbstractEventSource
java.lang.Object
org.apache.cxf.ws.eventing.eventsource.AbstractEventSource
- All Implemented Interfaces:
- EventSourceEndpoint
public abstract class AbstractEventSource
- extends Object
- implements EventSourceEndpoint
Default implementation of Event Source web service.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
protected static final Logger LOG
context
protected WebServiceContext context
AbstractEventSource
public AbstractEventSource()
subscribeOp
public SubscribeResponse subscribeOp(Subscribe body)
- Description copied from interface:
EventSourceEndpoint
- The Subscribe operation of the Event Source.
See http://www.w3.org/TR/ws-eventing/#Subscribe
- Specified by:
subscribeOp
in interface EventSourceEndpoint
- Parameters:
body
- JAXB class Subscribe representing the body of the subscription request
- Returns:
- JAXB class SubscribeResponse representing the response for the requester
getSubscriptionManagerBackend
protected abstract SubscriptionManagerInterfaceForEventSources getSubscriptionManagerBackend()
generateResponseMessageFor
protected SubscribeResponse generateResponseMessageFor(SubscriptionTicketGrantingResponse dbResponse,
boolean shouldConvertToDuration)
Apache CXF