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.
|
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
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.
|
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 | Method and Description |
---|---|
LifecycleStage |
ExecutionContext.getLifecycleStage()
Gets the current LifecycleStage being processed.
|
static LifecycleStage |
LifecycleStage.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LifecycleStage[] |
LifecycleStage.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
BeforeAfterMethodInterceptor.FilterMethods.addAfterMethod(LifecycleStage[] stages,
java.lang.reflect.Method method)
Adds a method to be executed after the supplied LifecycleStages.
|
void |
BeforeAfterMethodInterceptor.FilterMethods.addBeforeMethod(LifecycleStage[] stages,
java.lang.reflect.Method method)
Adds a method to be executed before the supplied LifecycleStages.
|
java.util.List<java.lang.reflect.Method> |
BeforeAfterMethodInterceptor.FilterMethods.getAfterMethods(LifecycleStage stage)
Gets the Before methods for the given LifecycleStage.
|
java.util.List<java.lang.reflect.Method> |
BeforeAfterMethodInterceptor.FilterMethods.getBeforeMethods(LifecycleStage stage)
Gets the Before methods for the given LifecycleStage.
|
protected Resolution |
BeforeAfterMethodInterceptor.invoke(ActionBean bean,
java.lang.reflect.Method m,
LifecycleStage stage,
java.lang.Class<? extends java.lang.annotation.Annotation> when)
Helper method that will invoke the supplied method and manage any exceptions and
returns from the object.
|
void |
ExecutionContext.setLifecycleStage(LifecycleStage lifecycleStage)
Sets the current stage in the request processing lifecycle.
|
? Copyright 2005-2006, Stripes Development Team.