public class RemoteFileRepositoryService extends Object implements org.jboss.msc.service.Service<org.jboss.as.server.mgmt.domain.CompositeContentRepository>
ContentRepository.FactorySERVICE_NAME| Modifier and Type | Method and Description |
|---|---|
byte[] |
addContent(InputStream stream) |
void |
addContentReference(byte[] hash,
Object reference) |
static void |
addService(org.jboss.msc.service.ServiceTarget target,
File localDeploymentContentsFolder) |
void |
deleteDeployment(byte[] deploymentHash) |
org.jboss.vfs.VirtualFile |
getContent(byte[] hash) |
File[] |
getDeploymentFiles(byte[] deploymentHash) |
File |
getDeploymentRoot(byte[] deploymentHash) |
org.jboss.as.server.mgmt.domain.CompositeContentRepository |
getValue() |
boolean |
hasContent(byte[] hash) |
void |
removeContent(byte[] hash,
Object reference) |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
boolean |
syncContent(byte[] hash) |
public static void addService(org.jboss.msc.service.ServiceTarget target,
File localDeploymentContentsFolder)
public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.service.Service<org.jboss.as.server.mgmt.domain.CompositeContentRepository>org.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.service.Service<org.jboss.as.server.mgmt.domain.CompositeContentRepository>public org.jboss.as.server.mgmt.domain.CompositeContentRepository getValue()
throws IllegalStateException,
IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<org.jboss.as.server.mgmt.domain.CompositeContentRepository>IllegalStateExceptionIllegalArgumentExceptionpublic byte[] addContent(InputStream stream) throws IOException
IOExceptionpublic org.jboss.vfs.VirtualFile getContent(byte[] hash)
public boolean syncContent(byte[] hash)
public boolean hasContent(byte[] hash)
public void removeContent(byte[] hash,
Object reference)
public final File[] getDeploymentFiles(byte[] deploymentHash)
public File getDeploymentRoot(byte[] deploymentHash)
public void deleteDeployment(byte[] deploymentHash)
public void addContentReference(byte[] hash,
Object reference)
Copyright © 2014 JBoss by Red Hat. All rights reserved.