/** * Resolves single interceptor. Creates new interceptor instance if not already registered. * Does not expand the interceptors. */ public ActionInterceptor resolve(Class<? extends ActionInterceptor> interceptorClass) { ActionInterceptor interceptor = lookup(interceptorClass); if (interceptor == null) { interceptor = createInterceptor(interceptorClass); interceptors.put(interceptorClass, interceptor); } return interceptor; }