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
Exception
public <T> T getAttribute(String resourceName, String attributeName, Class<T> attributeClass, int timeout) throws Exception
Exception
public <T> T invokeOperation(String resourceName, String operationName, Object[] operationParams, Class<T> operationClass, int timeout) throws Exception
Exception
public void close() throws Exception
close
in interface AutoCloseable
Exception
Copyright © 2022 The Apache Software Foundation. All rights reserved.