Class ActiveMQManagementProxy
java.lang.Object
org.apache.activemq.artemis.api.core.management.ActiveMQManagementProxy
- All Implemented Interfaces:
AutoCloseable
-
Constructor Summary
ConstructorDescriptionActiveMQManagementProxy
(ClientSession session) ActiveMQManagementProxy
(ServerLocator locator, String username, String password) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
<T> T
getAttribute
(String resourceName, String attributeName, Class<T> attributeClass, int timeout) <T> T
invokeOperation
(String resourceName, String operationName, Object[] operationParams, Class<T> operationClass, int timeout)
-
Constructor Details
-
ActiveMQManagementProxy
-
ActiveMQManagementProxy
public ActiveMQManagementProxy(ServerLocator locator, String username, String password) throws Exception - Throws:
Exception
-
-
Method Details
-
getAttribute
public <T> T getAttribute(String resourceName, String attributeName, Class<T> attributeClass, int timeout) throws Exception - Throws:
Exception
-
invokeOperation
public <T> T invokeOperation(String resourceName, String operationName, Object[] operationParams, Class<T> operationClass, int timeout) throws Exception - Throws:
Exception
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-