Class WorkerRegistrationListener
java.lang.Object
fr.gouv.vitam.worker.server.registration.WorkerRegistrationListener
- All Implemented Interfaces:
EventListener
,javax.servlet.ServletContextListener
public class WorkerRegistrationListener
extends Object
implements javax.servlet.ServletContextListener
Listener used for registration between the current worker and the processing server
-
Constructor Summary
ConstructorsConstructorDescriptionWorkerRegistrationListener
(WorkerConfiguration configuration) WorkerRegistrationListener
(WorkerConfiguration configuration, ProcessingManagementClientFactory processingManagementClientFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
contextDestroyed
(javax.servlet.ServletContextEvent sce) void
contextInitialized
(javax.servlet.ServletContextEvent sce)
-
Constructor Details
-
WorkerRegistrationListener
-
WorkerRegistrationListener
public WorkerRegistrationListener(WorkerConfiguration configuration, ProcessingManagementClientFactory processingManagementClientFactory)
-
-
Method Details
-
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
-