Package fr.becpg.repo.formulation
Class FormulationBaseHandler<T>
java.lang.Object
fr.becpg.repo.formulation.FormulationBaseHandler<T>
- All Implemented Interfaces:
FormulationHandler<T>
- Direct Known Subclasses:
EntityCatalogFormulationHandler,ScriptsFormulationHandler
Abstract FormulationBaseHandler class.
- Version:
- $Id: $Id
- Author:
- matthieu
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.apache.commons.logging.Logprivate FormulationHandler<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonError.voidsetNextHandler(FormulationHandler<T> next) Sets next handler for the current one; called in post-processingvoidstart.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface fr.becpg.repo.formulation.FormulationHandler
process
-
Field Details
-
logger
private static final org.apache.commons.logging.Log logger -
nextHandler
-
-
Constructor Details
-
FormulationBaseHandler
public FormulationBaseHandler()
-
-
Method Details
-
setNextHandler
Sets next handler for the current one; called in post-processing- Specified by:
setNextHandlerin interfaceFormulationHandler<T>- Parameters:
next- aFormulationHandlerobject.
-
start
start.
- Specified by:
startin interfaceFormulationHandler<T>- Parameters:
context- a T object.- Throws:
FormulateException- if any.
-
onError
onError.
- Specified by:
onErrorin interfaceFormulationHandler<T>- Parameters:
repositoryEntity- a T object
-