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.
-
-
Constructor Summary
Constructors Constructor Description AbstractEventSource()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected SubscribeResponsegenerateResponseMessageFor(SubscriptionTicketGrantingResponse dbResponse, boolean shouldConvertToDuration)protected abstract SubscriptionManagerInterfaceForEventSourcesgetSubscriptionManagerBackend()SubscribeResponsesubscribeOp(Subscribe body)The Subscribe operation of the Event Source.
-
-
-
Field Detail
-
LOG
protected static final Logger LOG
-
context
protected javax.xml.ws.WebServiceContext context
-
-
Method Detail
-
subscribeOp
public SubscribeResponse subscribeOp(Subscribe body)
Description copied from interface:EventSourceEndpointThe Subscribe operation of the Event Source. See http://www.w3.org/TR/ws-eventing/#Subscribe- Specified by:
subscribeOpin interfaceEventSourceEndpoint- 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)
-
-