org.fusesource.web.console.client.common
Interface AgentService
- All Superinterfaces:
- com.google.gwt.user.client.rpc.RemoteService
- All Known Implementing Classes:
- AgentServiceImpl, LocalAgentServiceImpl
public interface AgentService
- extends com.google.gwt.user.client.rpc.RemoteService
- Version:
- $Revision: 1.1 $
|
Method Summary |
void |
copyMessages(java.lang.String objectName,
java.util.List<java.lang.String> messageIDList,
java.lang.String destinationQueueName)
|
void |
deleteMessages(java.lang.String objectName,
java.util.List<java.lang.String> messageIDList)
|
MBeanAttribute[] |
getAttributes(java.lang.String objectName)
|
MBeanAttribute[][] |
getAttributes(java.lang.String[] objectNames)
|
MBeanAttribute[][] |
getAttributes(java.lang.String[] objectNames,
MBeanAttribute[] attributes)
|
java.util.List<DestinationMessage> |
getDestinationMessages(java.lang.String destinationName)
|
LogResults |
getLogEvents(LogFilter filter)
|
LogFile[] |
getLogFiles()
|
SearchResults |
getLogs(java.lang.String File,
java.lang.String level,
int maxResult,
boolean includeStacks)
|
MBeanName[] |
getMBeans()
|
MBeanName[] |
getMBeans(java.lang.String filter,
java.util.List<java.lang.String> childFolders)
|
MBeanOperation[] |
getOperations(java.lang.String objectName)
|
void |
installOsgiBundle(java.lang.String url)
|
java.lang.String |
invoke(java.lang.String objectName,
java.lang.String operationName,
java.lang.String[] params,
java.lang.String[] signature)
|
OsgiBundle[] |
listOsgiBundle()
|
void |
moveMessages(java.lang.String objectName,
java.util.List<java.lang.String> messageIDList,
java.lang.String destinationQueueName)
|
boolean |
moveMessageTo(java.lang.String messageId,
java.lang.String destinationSource,
java.lang.String targetDestination)
|
int |
retryMessages(java.lang.String objectName,
java.util.List<java.lang.String> messageIDList)
|
java.lang.String |
sendMessage(java.lang.String destinationName,
DestinationMessage message)
Sends a text message to the given destination MBean name with the given headers and body |
void |
startOsgiBundle(long id)
|
void |
stopOsgiBundle(long id)
|
void |
uninstallOsgiBundle(long id)
|
getMBeans
MBeanName[] getMBeans()
getMBeans
MBeanName[] getMBeans(java.lang.String filter,
java.util.List<java.lang.String> childFolders)
getAttributes
MBeanAttribute[] getAttributes(java.lang.String objectName)
getAttributes
MBeanAttribute[][] getAttributes(java.lang.String[] objectNames)
getAttributes
MBeanAttribute[][] getAttributes(java.lang.String[] objectNames,
MBeanAttribute[] attributes)
getOperations
MBeanOperation[] getOperations(java.lang.String objectName)
invoke
java.lang.String invoke(java.lang.String objectName,
java.lang.String operationName,
java.lang.String[] params,
java.lang.String[] signature)
throws java.lang.Exception
- Throws:
java.lang.Exception
getDestinationMessages
java.util.List<DestinationMessage> getDestinationMessages(java.lang.String destinationName)
moveMessageTo
boolean moveMessageTo(java.lang.String messageId,
java.lang.String destinationSource,
java.lang.String targetDestination)
getLogs
SearchResults getLogs(java.lang.String File,
java.lang.String level,
int maxResult,
boolean includeStacks)
getLogFiles
LogFile[] getLogFiles()
installOsgiBundle
void installOsgiBundle(java.lang.String url)
throws AgentServiceException
- Throws:
AgentServiceException
uninstallOsgiBundle
void uninstallOsgiBundle(long id)
throws AgentServiceException
- Throws:
AgentServiceException
startOsgiBundle
void startOsgiBundle(long id)
throws AgentServiceException
- Throws:
AgentServiceException
stopOsgiBundle
void stopOsgiBundle(long id)
throws AgentServiceException
- Throws:
AgentServiceException
listOsgiBundle
OsgiBundle[] listOsgiBundle()
throws AgentServiceException
- Throws:
AgentServiceException
sendMessage
java.lang.String sendMessage(java.lang.String destinationName,
DestinationMessage message)
throws java.lang.Exception
- Sends a text message to the given destination MBean name with the given headers and body
- Throws:
java.lang.Exception
deleteMessages
void deleteMessages(java.lang.String objectName,
java.util.List<java.lang.String> messageIDList)
throws java.lang.Exception
- Throws:
java.lang.Exception
copyMessages
void copyMessages(java.lang.String objectName,
java.util.List<java.lang.String> messageIDList,
java.lang.String destinationQueueName)
throws java.lang.Exception
- Throws:
java.lang.Exception
moveMessages
void moveMessages(java.lang.String objectName,
java.util.List<java.lang.String> messageIDList,
java.lang.String destinationQueueName)
throws java.lang.Exception
- Throws:
java.lang.Exception
retryMessages
int retryMessages(java.lang.String objectName,
java.util.List<java.lang.String> messageIDList)
throws java.lang.Exception
- Throws:
java.lang.Exception
getLogEvents
LogResults getLogEvents(LogFilter filter)
Copyright © 2009 FuseSource. All Rights Reserved.