/** * Typesafe access to parent service * * @return the AxisService which contains this AxisOperation */ public AxisService getAxisService() { return (AxisService)getParent(); }
/** * Typesafe access to parent service * * @return the AxisService which contains this AxisOperation */ public AxisService getAxisService() { return (AxisService)getParent(); }
public boolean isParameterLocked(String parameterName) { // checking the locked value of parent boolean locked = false; if (getParent() != null) { locked = getParent().isParameterLocked(parameterName); } if (locked) { return true; } else { Parameter parameter = getParameter(parameterName); return (parameter != null) && parameter.isLocked(); } }
public boolean isParameterLocked(String parameterName) { // checking the locked value of parent boolean locked = false; if (getParent() != null) { locked = getParent().isParameterLocked(parameterName); } if (locked) { return true; } else { Parameter parameter = getParameter(parameterName); return (parameter != null) && parameter.isLocked(); } }
private void setSoapAction(String soapAction, AxisOperation op) { AxisService service = (AxisService) op.getParent(); // Commenting out the following section to avoid a NPE from // AxisService#mapActionToOperation. Action mapping can't be removed by passing null for // AxisOperation. // String oldSoapAction = op.getInputAction(); // if (oldSoapAction != null) { // effectively removing the old mapping // service.mapActionToOperation(oldSoapAction, null); // } op.setSoapAction(soapAction); service.mapActionToOperation(soapAction, op); } }
QName opName = axisOperation.getName(); if (opName != null) { AxisService service = (AxisService) axisOperation.getParent(); if (service != null) { String currentServiceName = service.getName();
op.getParent().addParameter(p);
checkRampartDisengagingForService((AxisService) axisOp.getParent(), moduleId); axisOp.disengageModule(module);
AxisServiceGroup axisServiceGroup = (AxisServiceGroup) axisOp.getParent().getParent(); if (axisServiceGroup.isEngaged(axisModule)) { return Utils.getModuleName(moduleId, moduleVersion) + AxisService axisService = (AxisService) axisOp.getParent(); if (axisService.isEngaged(axisModule)) { return Utils.getModuleName(moduleId, moduleVersion) +
AxisService axisService = (AxisService) currentOperation.getParent(); if (axisService != null) { currentServiceName = axisService.getName();