/** * Return operation info as map */ private Map<String, Object> getOperInfoAsMap(GOperationInfo operInfo) { Map<String, Object> map = new TreeMap<String, Object>(); map.put("methodName", operInfo.getMethodName()); map.put("name", operInfo.getName()); map.put("parameterList", operInfo.getParameterList()); return map; }
public void addOperation(GOperationInfo operationInfo) { operations.put(new GOperationSignature(operationInfo.getName(), operationInfo.getParameterList()), operationInfo); }
for (Iterator iterator = operationInfos.iterator(); iterator.hasNext();) { GOperationInfo operationInfo = (GOperationInfo) iterator.next(); operationSignatures.add(new GOperationSignature(operationInfo.getName(), operationInfo.getParameterList()));
public GBeanOperation(GBeanInstance gbeanInstance, GOperationInfo operationInfo) throws InvalidConfigurationException { framework = false; this.gbeanInstance = gbeanInstance; this.name = operationInfo.getName(); this.operationInfo = operationInfo; } catch (ClassNotFoundException e) { throw new InvalidConfigurationException("Could not load operation parameter class:" + " name=" + operationInfo.getName() + " class=" + type, e); " name=" + operationInfo.getName() + " methodName=" + operationInfo.getMethodName() + " returnType=" + operationInfo.getReturnType() +
operations.put(new GOperationSignature(operationInfo.getName(), operationInfo.getParameterList()), operationInfo);
for (Iterator iterator = gbeanInfo.getOperations().iterator(); iterator.hasNext();) { GOperationInfo operationInfo = (GOperationInfo) iterator.next(); GOperationSignature signature = new GOperationSignature(operationInfo.getName(), operationInfo.getParameterList());