}
public OperationResult invokeOperation(String name, Configuration parameters) throws InterruptedException,
Exception {
OperationResult result = null;
try {
EmsBean detailComponent = getEmsConnection().getBean(beanName);
EmsOperation operation = detailComponent.getOperation(name);
Object obj = operation.invoke(new Object[] {});
if (obj != null) {
result = new OperationResult();
result.getComplexResults().put(
new PropertySimple(OperationResult.SIMPLE_OPERATION_RESULT_NAME, String.valueOf(obj)));
}
} catch (Exception e) {
log.error("Failure to invoke operation " + name + " on bean " + beanName, e);
}