public ArrayList addModuleOperations(AxisModule module, AxisConfiguration axisConfig,
AxisService service)
throws AxisFault {
HashMap map = module.getOperations();
Collection col = map.values();
PhaseResolver phaseResolver = new PhaseResolver(axisConfig);
//this arry list is retun , to avoid concurrent modifications , in the deployment engine
ArrayList ops = new ArrayList();
for (Iterator iterator = col.iterator(); iterator.hasNext();) {
AxisOperation axisOperation = copyOperation((AxisOperation) iterator.next());
ArrayList wsamappings = axisOperation.getWsamappingList();
if (service.getOperation(axisOperation.getName()) == null) {
// this opration is a control operation.
axisOperation.setControlOperation(true);
Module moduleclazz = module.getModule();
if (moduleclazz != null) {
moduleclazz.engageNotify(axisOperation);
}
phaseResolver.engageModuleToOperation(axisOperation, module);
ops.add(axisOperation);
if (wsamappings != null) {
for (int j = 0; j < wsamappings.size(); j++) {
String mapping = (String) wsamappings.get(j);