org.silverpeas.process.annotation
Class AbstractSimulationActionProcessAnnotationInterceptor<C>

java.lang.Object
  extended by org.silverpeas.process.annotation.AbstractSimulationActionProcessAnnotationInterceptor<C>
Direct Known Subclasses:
SimulationActionProcessAnnotationAspectInterceptor, SimulationActionProcessAnnotationEJBInterceptor

public abstract class AbstractSimulationActionProcessAnnotationInterceptor<C>
extends Object

Abstracttion of interceptors that handle a simulation of actions performed by a caller. More precisely, the simulation focuses on file manipulations. In the future this kind of interceptor will be transformed in a CDI one. That is why, callers have to specify it with a second one : SimulationActionProcess After CDI transformation, all Interceptors(Class) annotation will be removed.


Field Summary
protected static String SIMULATION_PROCESS_PERFORMED
           
 
Constructor Summary
AbstractSimulationActionProcessAnnotationInterceptor()
           
 
Method Summary
protected  Object perform(C context, Map<Class<Annotation>,Annotation> methodAnnotations, Map<Class<Annotation>,List<Object>> annotedParametersValues)
           
protected abstract  Object proceed(C context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIMULATION_PROCESS_PERFORMED

protected static final String SIMULATION_PROCESS_PERFORMED
See Also:
Constant Field Values
Constructor Detail

AbstractSimulationActionProcessAnnotationInterceptor

public AbstractSimulationActionProcessAnnotationInterceptor()
Method Detail

perform

protected Object perform(C context,
                         Map<Class<Annotation>,Annotation> methodAnnotations,
                         Map<Class<Annotation>,List<Object>> annotedParametersValues)
                  throws Exception
Throws:
Exception

proceed

protected abstract Object proceed(C context)
                           throws Exception
Throws:
Exception


Copyright © 2016 Silverpeas. All Rights Reserved.