},
null));
}
private void addManagedObjectOperations(Map operationsMap) {
operationsMap.put(new GOperationSignature("start", Collections.EMPTY_LIST),
new GBeanMBeanOperation(this,
"start",
Collections.EMPTY_LIST,
Void.TYPE,
new MethodInvoker() {
public Object invoke(Object target, Object[] arguments) throws Exception {
start();
return null;
}
}));
operationsMap.put(new GOperationSignature("startRecursive", Collections.EMPTY_LIST),
new GBeanMBeanOperation(this,
"startRecursive",
Collections.EMPTY_LIST,
Void.TYPE,
new MethodInvoker() {
public Object invoke(Object target, Object[] arguments) throws Exception {
startRecursive();
return null;
}
}));
operationsMap.put(new GOperationSignature("stop", Collections.EMPTY_LIST),
new GBeanMBeanOperation(this,
"stop",
Collections.EMPTY_LIST,
Void.TYPE,
new MethodInvoker() {