handlers = new String[phase.getHandlerCount()];
List hands = phase.getHandlers();
for (int j = 0; j < hands.size(); j++) {
Handler handler = (Handler) hands.get(j);
handlers[j] = handler.getName();
}
}
}
break;
}
case PhaseMetadata.OUT_FLOW: {
ArrayList inflow = op.getPhasesOutFlow();
for (Object anInflow : inflow) {
Phase phase = (Phase) anInflow;
if (phase.getPhaseName().equals(phaseName)) {
handlers = new String[phase.getHandlerCount()];
List hands = phase.getHandlers();
for (int j = 0; j < hands.size(); j++) {
Handler handler = (Handler) hands.get(j);
handlers[j] = handler.getName();
}
}
}
break;
}
case PhaseMetadata.FAULT_IN_FLOW: {
ArrayList inflow = op.getPhasesInFaultFlow();
for (Object anInflow : inflow) {
Phase phase = (Phase) anInflow;
if (phase.getPhaseName().equals(phaseName)) {
handlers = new String[phase.getHandlerCount()];
List hands = phase.getHandlers();
for (int j = 0; j < hands.size(); j++) {
Handler handler = (Handler) hands.get(j);
handlers[j] = handler.getName();
}
}
}
break;
}
case PhaseMetadata.FAULT_OUT_FLOW: {
ArrayList inflow = op.getPhasesOutFaultFlow();
for (Object anInflow : inflow) {
Phase phase = (Phase) anInflow;
if (phase.getPhaseName().equals(phaseName)) {
handlers = new String[phase.getHandlerCount()];
List hands = phase.getHandlers();
for (int j = 0; j < hands.size(); j++) {
Handler handler = (Handler) hands.get(j);
handlers[j] = handler.getName();
}
}
}
break;