Class JobContextSetupListener
- java.lang.Object
-
- javax.batch.api.listener.AbstractJobListener
-
- org.hibernate.search.batch.jsr352.core.massindexing.spi.JobContextSetupListener
-
- All Implemented Interfaces:
JobListener
@Named("org.hibernate.search.jsr352.massindexing.impl.JobContextSetupListener") @HibernateSearchJobScoped public class JobContextSetupListener extends AbstractJobListener
Listener before the start of the job. It aims to validate all the job parameters and setup the job context data, shared by all the steps.- Author:
- Mincong Huang
-
-
Constructor Summary
Constructors Constructor Description JobContextSetupListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beforeJob()
-
Methods inherited from class javax.batch.api.listener.AbstractJobListener
afterJob
-
-
-
-
Method Detail
-
beforeJob
public void beforeJob() throws Exception
- Specified by:
beforeJob
in interfaceJobListener
- Overrides:
beforeJob
in classAbstractJobListener
- Throws:
Exception
-
-