Package org.jboss.as.server.deployment
Class ContentCleanerService
- java.lang.Object
-
- org.jboss.as.server.deployment.ContentCleanerService
-
- All Implemented Interfaces:
org.jboss.msc.Service
public class ContentCleanerService extends Object implements org.jboss.msc.Service
Service in charge with cleaning left over contents from the content repository.- Author:
- Emmanuel Hugonnet (c) 2014 Red Hat, inc., Richard Opalka
-
-
Field Summary
Fields Modifier and Type Field Description static longDEFAULT_INTERVALThe conten repository cleaner will test content for clean-up every 5 minutes.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidaddService(org.jboss.msc.service.ServiceTarget serviceTarget, org.jboss.msc.service.ServiceName clientFactoryService, org.jboss.msc.service.ServiceName scheduledExecutorServiceName)static voidaddServiceOnHostController(org.jboss.msc.service.ServiceTarget serviceTarget, org.jboss.msc.service.ServiceName hostControllerServiceName, org.jboss.msc.service.ServiceName clientFactoryServiceName, org.jboss.msc.service.ServiceName hostControllerExecutorServiceName, org.jboss.msc.service.ServiceName scheduledExecutorServiceName)voidstart(org.jboss.msc.service.StartContext context)voidstop(org.jboss.msc.service.StopContext context)
-
-
-
Method Detail
-
addService
public static void addService(org.jboss.msc.service.ServiceTarget serviceTarget, org.jboss.msc.service.ServiceName clientFactoryService, org.jboss.msc.service.ServiceName scheduledExecutorServiceName)
-
addServiceOnHostController
public static void addServiceOnHostController(org.jboss.msc.service.ServiceTarget serviceTarget, org.jboss.msc.service.ServiceName hostControllerServiceName, org.jboss.msc.service.ServiceName clientFactoryServiceName, org.jboss.msc.service.ServiceName hostControllerExecutorServiceName, org.jboss.msc.service.ServiceName scheduledExecutorServiceName)
-
start
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException- Specified by:
startin interfaceorg.jboss.msc.Service- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext context)
- Specified by:
stopin interfaceorg.jboss.msc.Service
-
-