|
||||||||||
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.QManAdapterCapability
public class QManAdapterCapability
QMan Adapter capability. Basically it acts as a lifecycle manager of all ws resource that correspond to entities on JMX side.
Constructor Summary | |
---|---|
QManAdapterCapability()
|
Method Summary | |
---|---|
void |
connect(String host,
int port,
String username,
String password,
String virtualHost,
int initialPoolCapacity,
int maxPoolCapacity,
long maxWaitTimeout)
Connects QMan with a broker with the given connection data. |
(package private) void |
createLifeCycleTopics()
Creates events & objects lifecycle topic that will be used to publish lifecycle event messages.. |
protected Collection<org.apache.muse.core.routing.MessageHandler> |
createMessageHandlers(MBeanCapability capability)
Creates the message handlers for the given capability. |
(package private) org.apache.muse.ws.notification.NotificationProducer |
getPublisherCapability()
Returns the publisher capability associated with the owner resource. |
(package private) QName |
getTopicName(String objectType)
Starting from an object type (i.e. |
void |
initialize()
Initializes this capability. |
Methods inherited from class org.apache.muse.core.AbstractCapability |
---|
getActions, getCapabilityURI, getEnvironment, getInitializationParameter, getInitializationParameters, getLog, getMessageHandler, getPersistence, getResource, hasBeenInitialized, hasBeenShutdown, initializeCompleted, 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 QManAdapterCapability()
Method Detail |
---|
public void initialize() throws org.apache.muse.ws.addressing.soap.SoapFault
initialize
in interface org.apache.muse.core.Initialization
initialize
in class org.apache.muse.core.AbstractCapability
org.apache.muse.ws.addressing.soap.SoapFault
- when the initialization fails..public void connect(String host, int port, String username, String password, String virtualHost, int initialPoolCapacity, int maxPoolCapacity, long maxWaitTimeout) throws org.apache.muse.ws.addressing.soap.SoapFault
host
- the host where the broker is running.port
- the port number where the broker is running.username
- username for estabilshing connection.password
- password for estabilshing connection.virtualHost
- the virtualHost name.initialPoolCapacity
- the initial size of broker connection pool.maxPoolCapacity
- the max allowed size of broker connection pool.maxWaitTimeout
- the max wait timeout for retrieving connections.
org.apache.muse.ws.addressing.soap.SoapFault
- when the connection with broker cannot be estabilished.protected Collection<org.apache.muse.core.routing.MessageHandler> createMessageHandlers(MBeanCapability capability)
capability
- the QMan capability.
org.apache.muse.ws.notification.NotificationProducer getPublisherCapability()
void createLifeCycleTopics()
QName getTopicName(String objectType)
objectType
- the type of the object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |