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
FieldsModifier and TypeFieldDescriptionprotected booleanprotected jakarta.xml.ws.wsaddressing.W3CEndpointReferenceprotected List<TopicExpressionType>Fields inherited from class org.apache.cxf.wsn.AbstractEndpoint
address, endpoint, endpointEpr, manager, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreate(RegisterPublisher registerPublisherRequest) protected voiddestroy()destroyRegistration(DestroyRegistration destroyRegistrationRequest) jakarta.xml.ws.wsaddressing.W3CEndpointReferenceabstract 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 Details
-
publisherReference
protected jakarta.xml.ws.wsaddressing.W3CEndpointReference publisherReference -
demand
protected boolean demand -
topic
-
-
Constructor Details
-
AbstractPublisher
-
-
Method Details
-
getPublisherReference
public jakarta.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
-
destroy
- 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
- Throws:
PublisherRegistrationFailedFault
-