Apache CXF API

org.apache.cxf.wsn
Class AbstractPublisher

java.lang.Object
  extended by org.apache.cxf.wsn.AbstractEndpoint
      extended by org.apache.cxf.wsn.AbstractPublisher
All Implemented Interfaces:
EndpointMBean, PublisherRegistrationManager
Direct Known Subclasses:
JmsPublisher

public abstract class AbstractPublisher
extends AbstractEndpoint
implements PublisherRegistrationManager


Field Summary
protected  boolean demand
           
protected  W3CEndpointReference publisherReference
           
protected  List<TopicExpressionType> topic
           
 
Fields inherited from class org.apache.cxf.wsn.AbstractEndpoint
address, endpoint, manager, name
 
Constructor Summary
AbstractPublisher(String name)
           
 
Method Summary
 void create(RegisterPublisher registerPublisherRequest)
           
protected  void destroy()
           
 DestroyRegistrationResponse destroyRegistration(DestroyRegistration destroyRegistrationRequest)
           
 W3CEndpointReference getPublisherReference()
           
abstract  void notify(NotificationMessageHolderType messageHolder)
           
protected abstract  void start()
           
protected  void validatePublisher(RegisterPublisher registerPublisherRequest)
           
 
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

publisherReference

protected W3CEndpointReference publisherReference

demand

protected boolean demand

topic

protected List<TopicExpressionType> topic
Constructor Detail

AbstractPublisher

public AbstractPublisher(String name)
Method Detail

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 API

Apache CXF