|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.muse.core.AbstractCapability
org.apache.qpid.management.wsdm.capabilities.ConsumerCapability
public class ConsumerCapability
WS-Notifications consumer capability. At the moment QMan is not a consumer of itself so this capability is here only for test purposes.
Constructor Summary | |
---|---|
ConsumerCapability()
|
Method Summary | |
---|---|
boolean |
accepts(org.apache.muse.ws.notification.NotificationMessage message)
Returns true if this consumer can accepts the message. |
void |
initializeCompleted()
Initializes this capability and register itself as message listener. |
void |
process(org.apache.muse.ws.notification.NotificationMessage message)
On Message callback. |
Methods inherited from class org.apache.muse.core.AbstractCapability |
---|
getActions, getCapabilityURI, getEnvironment, getInitializationParameter, getInitializationParameters, getLog, getMessageHandler, getPersistence, getResource, hasBeenInitialized, hasBeenShutdown, initialize, prepareShutdown, setCapabilityURI, setEnvironment, setInitializationParameters, setLog, setMessageHandler, setMessageHandlers, setPersistence, setResource, shutdown |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConsumerCapability()
Method Detail |
---|
public void initializeCompleted() throws org.apache.muse.ws.addressing.soap.SoapFault
initializeCompleted
in interface org.apache.muse.core.Capability
initializeCompleted
in class org.apache.muse.core.AbstractCapability
org.apache.muse.ws.addressing.soap.SoapFault
- when the initialization fails.public boolean accepts(org.apache.muse.ws.notification.NotificationMessage message)
accepts
in interface org.apache.muse.ws.notification.NotificationMessageListener
public void process(org.apache.muse.ws.notification.NotificationMessage message)
process
in interface org.apache.muse.ws.notification.NotificationMessageListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |