}
};
}
private static PhaseListener createBeforePhaseListener(PhaseId phaseId, final Callback.WithArgument<PhaseEvent> callback) {
return new DefaultPhaseListener(phaseId) {
private static final long serialVersionUID = 1L;
@Override
public void beforePhase(PhaseEvent event) {