public abstract class AbstractNotificationBroker extends AbstractEndpoint implements NotificationBroker, NotificationBrokerMBean, GetResourceProperty
Modifier and Type | Field and Description |
---|---|
static QName |
FIXED_TOPIC_SET_QNAME |
static String |
NAMESPACE_URI |
static String |
PREFIX |
static QName |
TOPIC_EXPRESSION_DIALECT_QNAME |
static QName |
TOPIC_EXPRESSION_QNAME |
static QName |
TOPIC_SET_QNAME |
address, endpoint, manager, name
Constructor and Description |
---|
AbstractNotificationBroker(String name) |
getAddress, getEpr, getManager, getName, getWSDLLocation, register, setAddress, setManager, unregister
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAddress, getName, register, unregister
public static final String NAMESPACE_URI
public static final String PREFIX
public static final QName TOPIC_EXPRESSION_QNAME
public static final QName FIXED_TOPIC_SET_QNAME
public static final QName TOPIC_EXPRESSION_DIALECT_QNAME
public static final QName TOPIC_SET_QNAME
public AbstractNotificationBroker(String name)
public ObjectName getMBeanName()
getMBeanName
in class AbstractEndpoint
public List<String> getPublisher()
getPublisher
in interface NotificationBrokerMBean
public List<String> getSubscriptions()
getSubscriptions
in interface NotificationBrokerMBean
public EndpointMBean getPublisher(String name)
getPublisher
in interface NotificationBrokerMBean
public EndpointMBean getSubscription(String name)
getSubscription
in interface NotificationBrokerMBean
public EndpointMBean getAnonymousPublisher()
getAnonymousPublisher
in interface NotificationBrokerMBean
public void notify(Notify notify)
notify
in interface NotificationBroker
notify
- protected void handleNotify(Notify notify)
protected AbstractPublisher getPublisher(W3CEndpointReference producerReference)
public SubscribeResponse subscribe(Subscribe subscribeRequest) throws InvalidFilterFault, InvalidMessageContentExpressionFault, InvalidProducerPropertiesExpressionFault, InvalidTopicExpressionFault, ResourceUnknownFault, SubscribeCreationFailedFault, TopicExpressionDialectUnknownFault, TopicNotSupportedFault, UnacceptableInitialTerminationTimeFault, UnsupportedPolicyRequestFault, UnrecognizedPolicyRequestFault
subscribe
in interface NotificationBroker
subscribeRequest
- SubscribeCreationFailedFault
InvalidTopicExpressionFault
TopicNotSupportedFault
InvalidFilterFault
InvalidProducerPropertiesExpressionFault
ResourceUnknownFault
InvalidMessageContentExpressionFault
TopicExpressionDialectUnknownFault
UnacceptableInitialTerminationTimeFault
UnsupportedPolicyRequestFault
UnrecognizedPolicyRequestFault
public SubscribeResponse handleSubscribe(Subscribe subscribeRequest, EndpointManager manager) throws InvalidFilterFault, InvalidMessageContentExpressionFault, InvalidProducerPropertiesExpressionFault, InvalidTopicExpressionFault, SubscribeCreationFailedFault, TopicExpressionDialectUnknownFault, TopicNotSupportedFault, UnacceptableInitialTerminationTimeFault, UnsupportedPolicyRequestFault, UnrecognizedPolicyRequestFault
InvalidFilterFault
InvalidMessageContentExpressionFault
InvalidProducerPropertiesExpressionFault
InvalidTopicExpressionFault
SubscribeCreationFailedFault
TopicExpressionDialectUnknownFault
TopicNotSupportedFault
UnacceptableInitialTerminationTimeFault
UnsupportedPolicyRequestFault
UnrecognizedPolicyRequestFault
public void unsubscribe(String address) throws UnableToDestroySubscriptionFault
UnableToDestroySubscriptionFault
public GetCurrentMessageResponse getCurrentMessage(GetCurrentMessage getCurrentMessageRequest) throws InvalidTopicExpressionFault, MultipleTopicsSpecifiedFault, NoCurrentMessageOnTopicFault, ResourceUnknownFault, TopicExpressionDialectUnknownFault, TopicNotSupportedFault
getCurrentMessage
in interface NotificationBroker
getCurrentMessageRequest
- MultipleTopicsSpecifiedFault
TopicNotSupportedFault
InvalidTopicExpressionFault
ResourceUnknownFault
TopicExpressionDialectUnknownFault
NoCurrentMessageOnTopicFault
public RegisterPublisherResponse registerPublisher(RegisterPublisher registerPublisherRequest) throws InvalidTopicExpressionFault, PublisherRegistrationFailedFault, PublisherRegistrationRejectedFault, ResourceUnknownFault, TopicNotSupportedFault
registerPublisher
in interface NotificationBroker
registerPublisherRequest
- PublisherRegistrationRejectedFault
InvalidTopicExpressionFault
TopicNotSupportedFault
ResourceUnknownFault
PublisherRegistrationFailedFault
public RegisterPublisherResponse handleRegisterPublisher(RegisterPublisher registerPublisherRequest) throws InvalidTopicExpressionFault, PublisherRegistrationFailedFault, PublisherRegistrationRejectedFault, ResourceUnknownFault, TopicNotSupportedFault
protected abstract AbstractPublisher createPublisher(String name)
protected abstract AbstractSubscription createSubscription(String name)
public GetResourcePropertyResponse getResourceProperty(QName getResourcePropertyRequest) throws ResourceUnavailableFault, ResourceUnknownFault, InvalidResourcePropertyQNameFault
getResourceProperty
in interface GetResourceProperty
ResourceUnavailableFault
ResourceUnknownFault
InvalidResourcePropertyQNameFault
protected GetResourcePropertyResponse handleGetResourceProperty(QName property) throws ResourceUnavailableFault, ResourceUnknownFault, InvalidResourcePropertyQNameFault
Apache CXF