org.apache.cxf.wsn
Class AbstractPullPoint
java.lang.Object
org.apache.cxf.wsn.AbstractEndpoint
org.apache.cxf.wsn.AbstractPullPoint
- All Implemented Interfaces:
- EndpointMBean, NotificationConsumer, PullPoint
- Direct Known Subclasses:
- JmsPullPoint
public abstract class AbstractPullPoint
- extends AbstractEndpoint
- implements PullPoint, NotificationConsumer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createPullPoint
protected AbstractCreatePullPoint createPullPoint
AbstractPullPoint
public AbstractPullPoint(String name)
notify
public void notify(Notify notify)
- Specified by:
notify
in interface NotificationConsumer
- Specified by:
notify
in interface PullPoint
- Parameters:
notify
-
getMessages
public GetMessagesResponse getMessages(GetMessages getMessagesRequest)
throws ResourceUnknownFault,
UnableToGetMessagesFault
- Specified by:
getMessages
in interface PullPoint
- Parameters:
getMessagesRequest
-
- Returns:
- returns org.oasis_open.docs.wsn.b_1.GetMessagesResponse
- Throws:
ResourceUnknownFault
UnableToGetMessagesFault
destroyPullPoint
public DestroyPullPointResponse destroyPullPoint(DestroyPullPoint destroyPullPointRequest)
throws ResourceUnknownFault,
UnableToDestroyPullPointFault
- Specified by:
destroyPullPoint
in interface PullPoint
- Parameters:
destroyPullPointRequest
-
- Returns:
- returns org.oasis_open.docs.wsn.b_1.DestroyResponse
- Throws:
ResourceUnknownFault
UnableToDestroyPullPointFault
create
public void create(CreatePullPoint createPullPointRequest)
throws UnableToCreatePullPointFault
- Throws:
UnableToCreatePullPointFault
store
protected abstract void store(NotificationMessageHolderType messageHolder)
getMessages
protected abstract List<NotificationMessageHolderType> getMessages(int max)
throws ResourceUnknownFault,
UnableToGetMessagesFault
- Throws:
ResourceUnknownFault
UnableToGetMessagesFault
destroy
protected void destroy()
throws UnableToDestroyPullPointFault
- Throws:
UnableToDestroyPullPointFault
getCreatePullPoint
public AbstractCreatePullPoint getCreatePullPoint()
setCreatePullPoint
public void setCreatePullPoint(AbstractCreatePullPoint createPullPoint)
Apache CXF