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