Apache CXF API

org.apache.cxf.wsn
Class AbstractPullPoint

java.lang.Object
  extended by org.apache.cxf.wsn.AbstractEndpoint
      extended by org.apache.cxf.wsn.AbstractPullPoint
All Implemented Interfaces:
EndpointMBean, NotificationConsumer, PullPoint
Direct Known Subclasses:
JmsPullPoint

public abstract class AbstractPullPoint
extends AbstractEndpoint
implements PullPoint, NotificationConsumer


Field Summary
protected  AbstractCreatePullPoint createPullPoint
           
 
Fields inherited from class org.apache.cxf.wsn.AbstractEndpoint
address, endpoint, manager, name
 
Constructor Summary
AbstractPullPoint(String name)
           
 
Method Summary
 void create(CreatePullPoint createPullPointRequest)
           
protected  void destroy()
           
 DestroyPullPointResponse destroyPullPoint(DestroyPullPoint destroyPullPointRequest)
           
 AbstractCreatePullPoint getCreatePullPoint()
           
 GetMessagesResponse getMessages(GetMessages getMessagesRequest)
           
protected abstract  List<NotificationMessageHolderType> getMessages(int max)
           
 void notify(Notify notify)
           
 void setCreatePullPoint(AbstractCreatePullPoint createPullPoint)
           
protected abstract  void store(NotificationMessageHolderType messageHolder)
           
 
Methods inherited from class org.apache.cxf.wsn.AbstractEndpoint
getAddress, getEpr, getManager, getMBeanName, getName, register, setAddress, setManager, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

createPullPoint

protected AbstractCreatePullPoint createPullPoint
Constructor Detail

AbstractPullPoint

public AbstractPullPoint(String name)
Method Detail

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 API

Apache CXF