org.apache.cxf.wsn
Class AbstractPublisher
java.lang.Object
org.apache.cxf.wsn.AbstractEndpoint
org.apache.cxf.wsn.AbstractPublisher
- All Implemented Interfaces:
- EndpointMBean, PublisherRegistrationManager
- Direct Known Subclasses:
- JmsPublisher
public abstract class AbstractPublisher
- extends AbstractEndpoint
- implements PublisherRegistrationManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
publisherReference
protected W3CEndpointReference publisherReference
demand
protected boolean demand
topic
protected List<TopicExpressionType> topic
AbstractPublisher
public AbstractPublisher(String name)
getPublisherReference
public W3CEndpointReference getPublisherReference()
destroyRegistration
public DestroyRegistrationResponse destroyRegistration(DestroyRegistration destroyRegistrationRequest)
throws ResourceNotDestroyedFault,
ResourceUnknownFault
- Specified by:
destroyRegistration
in interface PublisherRegistrationManager
- Parameters:
destroyRegistrationRequest
-
- Returns:
- returns org.oasis_open.docs.wsn.br_1.DestroyResponse
- Throws:
ResourceNotDestroyedFault
ResourceUnknownFault
notify
public abstract void notify(NotificationMessageHolderType messageHolder)
destroy
protected void destroy()
throws ResourceNotDestroyedFault
- Throws:
ResourceNotDestroyedFault
create
public void create(RegisterPublisher registerPublisherRequest)
throws InvalidTopicExpressionFault,
PublisherRegistrationFailedFault,
PublisherRegistrationRejectedFault,
ResourceUnknownFault,
TopicNotSupportedFault
- Throws:
InvalidTopicExpressionFault
PublisherRegistrationFailedFault
PublisherRegistrationRejectedFault
ResourceUnknownFault
TopicNotSupportedFault
validatePublisher
protected void validatePublisher(RegisterPublisher registerPublisherRequest)
throws InvalidTopicExpressionFault,
PublisherRegistrationFailedFault,
PublisherRegistrationRejectedFault,
ResourceUnknownFault,
TopicNotSupportedFault
- Throws:
InvalidTopicExpressionFault
PublisherRegistrationFailedFault
PublisherRegistrationRejectedFault
ResourceUnknownFault
TopicNotSupportedFault
start
protected abstract void start()
throws PublisherRegistrationFailedFault
- Throws:
PublisherRegistrationFailedFault
Apache CXF