public class DeploymentScannerService extends Object implements org.jboss.msc.service.Service<DeploymentScanner>
DeploymentScanner| Modifier and Type | Method and Description |
|---|---|
static org.jboss.msc.service.ServiceController<DeploymentScanner> |
addService(org.jboss.msc.service.ServiceTarget serviceTarget,
org.jboss.as.controller.PathAddress resourceAddress,
String relativeTo,
String path,
int scanInterval,
TimeUnit unit,
boolean autoDeployZip,
boolean autoDeployExploded,
boolean autoDeployXml,
boolean scanEnabled,
long deploymentTimeout,
boolean rollbackOnRuntimeFailure,
org.jboss.as.server.deployment.scanner.FileSystemDeploymentService bootTimeService,
ScheduledExecutorService scheduledExecutorService)
Add the deployment scanner service to a batch.
|
static org.jboss.msc.service.ServiceName |
getServiceName(String repositoryName) |
DeploymentScanner |
getValue() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public static org.jboss.msc.service.ServiceName getServiceName(String repositoryName)
public static org.jboss.msc.service.ServiceController<DeploymentScanner> addService(org.jboss.msc.service.ServiceTarget serviceTarget, org.jboss.as.controller.PathAddress resourceAddress, String relativeTo, String path, int scanInterval, TimeUnit unit, boolean autoDeployZip, boolean autoDeployExploded, boolean autoDeployXml, boolean scanEnabled, long deploymentTimeout, boolean rollbackOnRuntimeFailure, org.jboss.as.server.deployment.scanner.FileSystemDeploymentService bootTimeService, ScheduledExecutorService scheduledExecutorService)
serviceTarget - the service targetresourceAddress - the address of the resource that manages the servicerelativeTo - the relative topath - the pathscanInterval - the scan intervalunit - the unit of scanIntervalautoDeployZip - whether zipped content should be auto-deployedautoDeployExploded - whether exploded content should be auto-deployedautoDeployXml - whether xml content should be auto-deployedscanEnabled - scan enableddeploymentTimeout - the deployment timeoutrollbackOnRuntimeFailure - rollback on runtime failuresbootTimeService - the deployment scanner used in the boot time scanscheduledExecutorService - executor to use for asynchronous taskspublic void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.service.Service<DeploymentScanner>org.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.service.Service<DeploymentScanner>public DeploymentScanner getValue() throws IllegalStateException
getValue in interface org.jboss.msc.value.Value<DeploymentScanner>IllegalStateExceptionCopyright © 2016 JBoss by Red Hat. All rights reserved.