}
@Override
public void proceed() throws ServletException {
if (--i >= 0) {
final LifecycleInterceptor next = list.get(i);
if(filter != null) {
if(filterConfig == null) {
next.destroy(filterInfo, filter, this);
} else {
next.init(filterInfo, filter, this);
}
} else {
if(servletConfig == null) {
next.destroy(servletInfo, servlet, this);
} else {
next.init(servletInfo, servlet, this);
}
}
} else if (i == -1) {
if(filter != null) {
if(filterConfig == null) {