|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Interceptor | |
|---|---|
| net.sourceforge.stripes.config | This package provides Configuration services for Stripes, including interfaces for locating configured components and configuration parameters. |
| net.sourceforge.stripes.controller | This package contains classes which form the core internals of Stripes. |
| net.sourceforge.stripes.integration.spring | Provides classes for integrating a Stripes application with Spring, primarily by injecting Spring beans into ActionBeans. |
| Uses of Interceptor in net.sourceforge.stripes.config |
|---|
| Methods in net.sourceforge.stripes.config that return types with arguments of type Interceptor | |
|---|---|
Collection<Interceptor> |
Configuration.getInterceptors(LifecycleStage stage)
Fetches the interceptors that should be executed around the lifecycle stage applied. |
Collection<Interceptor> |
DefaultConfiguration.getInterceptors(LifecycleStage stage)
Returns a list of interceptors that should be executed around the lifecycle stage indicated. |
protected Map<LifecycleStage,Collection<Interceptor>> |
DefaultConfiguration.initCoreInterceptors()
Instantiates the core interceptors, allowing subclasses to override the default behavior |
protected Map<LifecycleStage,Collection<Interceptor>> |
RuntimeConfiguration.initCoreInterceptors()
Looks for a list of class names separated by commas under the configuration key RuntimeConfiguration.CORE_INTERCEPTOR_LIST. |
protected Map<LifecycleStage,Collection<Interceptor>> |
DefaultConfiguration.initInterceptors()
Allows subclasses to initialize a non-default Map of Interceptor instances. |
protected Map<LifecycleStage,Collection<Interceptor>> |
RuntimeConfiguration.initInterceptors()
Looks for a list of class names separated by commas under the configuration key RuntimeConfiguration.INTERCEPTOR_LIST. |
protected Map<LifecycleStage,Collection<Interceptor>> |
RuntimeConfiguration.initInterceptors(List classes)
Splits a comma-separated list of class names and maps each LifecycleStage to the
interceptors in the list that intercept it. |
| Methods in net.sourceforge.stripes.config with parameters of type Interceptor | |
|---|---|
protected void |
DefaultConfiguration.addInterceptor(Map<LifecycleStage,Collection<Interceptor>> map,
Interceptor interceptor)
Adds the interceptor to the map, associating it with the LifecycleStages indicated
by the Intercepts annotation. |
| Method parameters in net.sourceforge.stripes.config with type arguments of type Interceptor | |
|---|---|
protected void |
DefaultConfiguration.addInterceptor(Map<LifecycleStage,Collection<Interceptor>> map,
Interceptor interceptor)
Adds the interceptor to the map, associating it with the LifecycleStages indicated
by the Intercepts annotation. |
protected void |
DefaultConfiguration.mergeInterceptorMaps(Map<LifecycleStage,Collection<Interceptor>> dst,
Map<LifecycleStage,Collection<Interceptor>> src)
Merges the two Maps of LifecycleStage to Collection of
Interceptor. |
protected void |
DefaultConfiguration.mergeInterceptorMaps(Map<LifecycleStage,Collection<Interceptor>> dst,
Map<LifecycleStage,Collection<Interceptor>> src)
Merges the two Maps of LifecycleStage to Collection of
Interceptor. |
| Uses of Interceptor in net.sourceforge.stripes.controller |
|---|
| Classes in net.sourceforge.stripes.controller that implement Interceptor | |
|---|---|
class |
BeforeAfterMethodInterceptor
Interceptor that inspects ActionBeans for Before and After annotations and
runs the annotated methods at the requested point in the request lifecycle. |
class |
HttpCacheInterceptor
Looks for an HttpCache annotation on the event handler method, the ActionBean
class or the ActionBean's superclasses. |
| Methods in net.sourceforge.stripes.controller with parameters of type Interceptor | |
|---|---|
Resolution |
ExecutionContext.wrap(Interceptor target)
Used by the DispatcherServlet to wrap a block of lifecycle code in
Interceptor calls. |
| Method parameters in net.sourceforge.stripes.controller with type arguments of type Interceptor | |
|---|---|
void |
ExecutionContext.setInterceptors(Collection<Interceptor> stack)
Used by the DispatcherServlet to initialize and/or swap out the list of
Interceptor instances which should wrap the current LifecycleStage. |
| Uses of Interceptor in net.sourceforge.stripes.integration.spring |
|---|
| Classes in net.sourceforge.stripes.integration.spring that implement Interceptor | |
|---|---|
class |
SpringInterceptor
An Interceptor that uses a Spring context to inject Spring beans into newly created
ActionBeans immediately following ActionBeanResolution. |
class |
SpringInterceptorSupport
Base class for developing Interceptors with dependencies on Spring managed beans. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||