Class WorkerRegistrationListener
- java.lang.Object
-
- fr.gouv.vitam.worker.server.registration.WorkerRegistrationListener
-
- All Implemented Interfaces:
java.util.EventListener
,javax.servlet.ServletContextListener
public class WorkerRegistrationListener extends java.lang.Object implements javax.servlet.ServletContextListener
Listener used for registration between the current worker and the processing server
-
-
Constructor Summary
Constructors Constructor Description WorkerRegistrationListener(WorkerConfiguration configuration)
WorkerRegistrationListener(WorkerConfiguration configuration, ProcessingManagementClientFactory processingManagementClientFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
contextDestroyed(javax.servlet.ServletContextEvent sce)
void
contextInitialized(javax.servlet.ServletContextEvent sce)
-
-
-
Constructor Detail
-
WorkerRegistrationListener
public WorkerRegistrationListener(WorkerConfiguration configuration)
-
WorkerRegistrationListener
public WorkerRegistrationListener(WorkerConfiguration configuration, ProcessingManagementClientFactory processingManagementClientFactory)
-
-
Method Detail
-
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent sce)
- Specified by:
contextInitialized
in interfacejavax.servlet.ServletContextListener
-
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent sce)
- Specified by:
contextDestroyed
in interfacejavax.servlet.ServletContextListener
-
-