public class ActiveMQManagementProxy extends Object implements AutoCloseable
| Constructor and Description |
|---|
ActiveMQManagementProxy(ClientSession session) |
ActiveMQManagementProxy(ServerLocator locator,
String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
void |
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) |
public ActiveMQManagementProxy(ClientSession session)
public ActiveMQManagementProxy(ServerLocator locator, String username, String password) throws Exception
Exceptionpublic <T> T getAttribute(String resourceName, String attributeName, Class<T> attributeClass, int timeout) throws Exception
Exceptionpublic <T> T invokeOperation(String resourceName, String operationName, Object[] operationParams, Class<T> operationClass, int timeout) throws Exception
Exceptionpublic void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.