Package 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
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractCreatePullPointcreatePullPoint-
Fields inherited from class org.apache.cxf.wsn.AbstractEndpoint
address, endpoint, endpointEpr, manager, name
-
-
Constructor Summary
Constructors Constructor Description AbstractPullPoint(String name)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcreate(CreatePullPoint createPullPointRequest)protected voiddestroy()DestroyPullPointResponsedestroyPullPoint(DestroyPullPoint destroyPullPointRequest)AbstractCreatePullPointgetCreatePullPoint()protected abstract List<NotificationMessageHolderType>getMessages(int max)GetMessagesResponsegetMessages(GetMessages getMessagesRequest)voidnotify(Notify notify)voidsetCreatePullPoint(AbstractCreatePullPoint createPullPoint)protected abstract voidstore(NotificationMessageHolderType messageHolder)-
Methods inherited from class org.apache.cxf.wsn.AbstractEndpoint
getAddress, getEpr, getManager, getMBeanName, getName, getWSDLLocation, register, setAddress, setManager, unregister
-
-
-
-
Field Detail
-
createPullPoint
protected AbstractCreatePullPoint createPullPoint
-
-
Constructor Detail
-
AbstractPullPoint
public AbstractPullPoint(String name)
-
-
Method Detail
-
notify
public void notify(Notify notify)
- Specified by:
notifyin interfaceNotificationConsumer- Specified by:
notifyin interfacePullPoint- Parameters:
notify-
-
getMessages
public GetMessagesResponse getMessages(GetMessages getMessagesRequest) throws ResourceUnknownFault, UnableToGetMessagesFault
- Specified by:
getMessagesin interfacePullPoint- Parameters:
getMessagesRequest-- Returns:
- returns org.oasis_open.docs.wsn.b_1.GetMessagesResponse
- Throws:
ResourceUnknownFaultUnableToGetMessagesFault
-
destroyPullPoint
public DestroyPullPointResponse destroyPullPoint(DestroyPullPoint destroyPullPointRequest) throws ResourceUnknownFault, UnableToDestroyPullPointFault
- Specified by:
destroyPullPointin interfacePullPoint- Parameters:
destroyPullPointRequest-- Returns:
- returns org.oasis_open.docs.wsn.b_1.DestroyResponse
- Throws:
ResourceUnknownFaultUnableToDestroyPullPointFault
-
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
-
destroy
protected void destroy() throws UnableToDestroyPullPointFault- Throws:
UnableToDestroyPullPointFault
-
getCreatePullPoint
public AbstractCreatePullPoint getCreatePullPoint()
-
setCreatePullPoint
public void setCreatePullPoint(AbstractCreatePullPoint createPullPoint)
-
-