operation.setRemainingPhasesInFlow(phases);
ArrayList phase = operation.getRemainingPhasesInFlow();
for (int i = 0; i < phase.size(); i++) {
Phase phase1 = (Phase)phase.get(i);
if (PhaseMetadata.PHASE_POLICY_DETERMINATION.equals(phase1.getPhaseName())) {
phase1.addHandler(inboundHandler);
}
}
phases = new ArrayList();
phases.add(new Phase(PhaseMetadata.PHASE_POLICY_DETERMINATION));