public class ContentService extends Object implements org.jboss.msc.service.Service<ContentService>
Modifier and Type | Field and Description |
---|---|
static org.jboss.msc.service.ServiceName |
SERVICE_NAME |
Constructor and Description |
---|
ContentService(String path,
byte[] contentHash) |
Modifier and Type | Method and Description |
---|---|
org.jboss.vfs.VirtualFile |
getContentHash() |
org.jboss.msc.value.InjectedValue<ContentRepository> |
getContentRepositoryInjectedValue() |
org.jboss.msc.value.InjectedValue<DeploymentOverlayService> |
getDeploymentOverlayServiceInjectedValue() |
String |
getPath() |
ContentService |
getValue() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public ContentService(String path, byte[] contentHash)
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
start
in interface org.jboss.msc.service.Service<ContentService>
org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.service.Service<ContentService>
public ContentService getValue() throws IllegalStateException, IllegalArgumentException
getValue
in interface org.jboss.msc.value.Value<ContentService>
IllegalStateException
IllegalArgumentException
public org.jboss.vfs.VirtualFile getContentHash()
public String getPath()
public org.jboss.msc.value.InjectedValue<ContentRepository> getContentRepositoryInjectedValue()
public org.jboss.msc.value.InjectedValue<DeploymentOverlayService> getDeploymentOverlayServiceInjectedValue()
Copyright © 2015 JBoss by Red Hat. All rights reserved.