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.ServletContextListenerListener 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 voidcontextDestroyed(javax.servlet.ServletContextEvent sce)voidcontextInitialized(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:
contextInitializedin interfacejavax.servlet.ServletContextListener
-
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent sce)
- Specified by:
contextDestroyedin interfacejavax.servlet.ServletContextListener
-
-