Package 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
-
-
Field Summary
Fields Modifier and Type Field Description protected booleandemandprotected javax.xml.ws.wsaddressing.W3CEndpointReferencepublisherReferenceprotected List<TopicExpressionType>topic-
Fields inherited from class org.apache.cxf.wsn.AbstractEndpoint
address, endpoint, endpointEpr, manager, name
-
-
Constructor Summary
Constructors Constructor Description AbstractPublisher(String name)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcreate(RegisterPublisher registerPublisherRequest)protected voiddestroy()DestroyRegistrationResponsedestroyRegistration(DestroyRegistration destroyRegistrationRequest)javax.xml.ws.wsaddressing.W3CEndpointReferencegetPublisherReference()abstract voidnotify(NotificationMessageHolderType messageHolder)protected abstract voidstart()protected voidvalidatePublisher(RegisterPublisher registerPublisherRequest)-
Methods inherited from class org.apache.cxf.wsn.AbstractEndpoint
getAddress, getEpr, getManager, getMBeanName, getName, getWSDLLocation, register, setAddress, setManager, unregister
-
-
-
-
Field Detail
-
publisherReference
protected javax.xml.ws.wsaddressing.W3CEndpointReference publisherReference
-
demand
protected boolean demand
-
topic
protected List<TopicExpressionType> topic
-
-
Constructor Detail
-
AbstractPublisher
public AbstractPublisher(String name)
-
-
Method Detail
-
getPublisherReference
public javax.xml.ws.wsaddressing.W3CEndpointReference getPublisherReference()
-
destroyRegistration
public DestroyRegistrationResponse destroyRegistration(DestroyRegistration destroyRegistrationRequest) throws ResourceNotDestroyedFault, ResourceUnknownFault
- Specified by:
destroyRegistrationin interfacePublisherRegistrationManager- Parameters:
destroyRegistrationRequest-- Returns:
- returns org.oasis_open.docs.wsn.br_1.DestroyResponse
- Throws:
ResourceNotDestroyedFaultResourceUnknownFault
-
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
-
validatePublisher
protected void validatePublisher(RegisterPublisher registerPublisherRequest) throws InvalidTopicExpressionFault, PublisherRegistrationFailedFault, PublisherRegistrationRejectedFault, ResourceUnknownFault, TopicNotSupportedFault
-
start
protected abstract void start() throws PublisherRegistrationFailedFault- Throws:
PublisherRegistrationFailedFault
-
-