Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Interceptor> |
Configuration.getInterceptors(LifecycleStage stage)
Fetches the interceptors that should be executed around the lifecycle stage applied.
|
java.util.Collection<Interceptor> |
DefaultConfiguration.getInterceptors(LifecycleStage stage)
Returns a list of interceptors that should be executed around the lifecycle stage
indicated.
|
protected java.util.Map<LifecycleStage,java.util.Collection<Interceptor>> |
DefaultConfiguration.initCoreInterceptors()
Instantiates the core interceptors, allowing subclasses to override the default behavior
|
protected java.util.Map<LifecycleStage,java.util.Collection<Interceptor>> |
RuntimeConfiguration.initCoreInterceptors()
Looks for a list of class names separated by commas under the configuration key
RuntimeConfiguration.CORE_INTERCEPTOR_LIST . |
protected java.util.Map<LifecycleStage,java.util.Collection<Interceptor>> |
DefaultConfiguration.initInterceptors()
Allows subclasses to initialize a non-default Map of Interceptor instances.
|
protected java.util.Map<LifecycleStage,java.util.Collection<Interceptor>> |
RuntimeConfiguration.initInterceptors()
Looks for a list of class names separated by commas under the configuration key
RuntimeConfiguration.INTERCEPTOR_LIST . |
protected java.util.Map<LifecycleStage,java.util.Collection<Interceptor>> |
RuntimeConfiguration.initInterceptors(java.util.List classes)
Splits a comma-separated list of class names and maps each
LifecycleStage to the
interceptors in the list that intercept it. |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultConfiguration.addInterceptor(java.util.Map<LifecycleStage,java.util.Collection<Interceptor>> map,
Interceptor interceptor)
Adds the interceptor to the map, associating it with the
LifecycleStage s indicated
by the Intercepts annotation. |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultConfiguration.addInterceptor(java.util.Map<LifecycleStage,java.util.Collection<Interceptor>> map,
Interceptor interceptor)
Adds the interceptor to the map, associating it with the
LifecycleStage s indicated
by the Intercepts annotation. |
protected void |
DefaultConfiguration.mergeInterceptorMaps(java.util.Map<LifecycleStage,java.util.Collection<Interceptor>> dst,
java.util.Map<LifecycleStage,java.util.Collection<Interceptor>> src)
|
protected void |
DefaultConfiguration.mergeInterceptorMaps(java.util.Map<LifecycleStage,java.util.Collection<Interceptor>> dst,
java.util.Map<LifecycleStage,java.util.Collection<Interceptor>> src)
|
Modifier and Type | Class and Description |
---|---|
class |
BeforeAfterMethodInterceptor
|
class |
HttpCacheInterceptor
Looks for an
HttpCache annotation on the event handler method, the ActionBean
class or the ActionBean 's superclasses. |
Modifier and Type | Method and Description |
---|---|
Resolution |
ExecutionContext.wrap(Interceptor target)
Used by the
DispatcherServlet to wrap a block of lifecycle code in
Interceptor calls. |
Modifier and Type | Method and Description |
---|---|
void |
ExecutionContext.setInterceptors(java.util.Collection<Interceptor> stack)
Used by the
DispatcherServlet to initialize and/or swap out the list of
Interceptor instances which should wrap the current LifecycleStage . |
Modifier and Type | Class and Description |
---|---|
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.
|
? Copyright 2005-2006, Stripes Development Team.