State filterState = stateMachine.getState(filterMethod);
filterState.setPriority(filter.getPriority());
filterState.setDefaultPriority(filter.isDefaultPriority());
// link the WebMethod of the FilterGroup to the Filter
FilterTransition filterTransition = new FilterTransition();
webMethodState.addSuccessor(filterTransition);
filterTransition.setTarget(filterState);
}
}
}