Apache CXF API

org.apache.cxf.ws.eventing.eventsource
Class AbstractEventSource

java.lang.Object
  extended by 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.


Field Summary
protected  WebServiceContext context
           
protected static Logger LOG
           
 
Constructor Summary
AbstractEventSource()
           
 
Method Summary
protected  SubscribeResponse generateResponseMessageFor(SubscriptionTicketGrantingResponse dbResponse, boolean shouldConvertToDuration)
           
protected abstract  SubscriptionManagerInterfaceForEventSources getSubscriptionManagerBackend()
           
 SubscribeResponse subscribeOp(Subscribe body)
          The Subscribe operation of the Event Source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static final Logger LOG

context

protected WebServiceContext context
Constructor Detail

AbstractEventSource

public AbstractEventSource()
Method Detail

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 API

Apache CXF