Class AbstractViewerService.ViewerProcess<R extends Serializable>
- java.lang.Object
-
- org.silverpeas.core.viewer.service.AbstractViewerService.ViewerProcess<R>
-
- Type Parameters:
R
- the type of the value returned by the viewer treatment.
- Enclosing class:
- AbstractViewerService
protected static final class AbstractViewerService.ViewerProcess<R extends Serializable> extends Object
This class handles the execution of aAbstractViewerService.ViewerTreatment
. It provides the centralization of caching synchronization.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description R
execute(ViewerContext viewerContext)
This method calls the execute method of aAbstractViewerService.ViewerTreatment
instance.
-
-
-
Method Detail
-
execute
public R execute(ViewerContext viewerContext)
This method calls the execute method of aAbstractViewerService.ViewerTreatment
instance. One of the aim of this mechanism is to centralize tha management of caching.- Returns:
- the value computed by the specified viewer treatment.
-
-