public class RemoteFileRepositoryService extends Object implements org.jboss.msc.service.Service<org.jboss.as.server.mgmt.domain.CompositeContentRepository>
ContentRepository.FactoryDELETED_CONTENT, MARKED_CONTENT, OBSOLETE_CONTENT_TIMEOUT, SERVICE_NAME| Modifier and Type | Method and Description |
|---|---|
byte[] |
addContent(InputStream stream) |
void |
addContentReference(ContentReference reference) |
static void |
addService(org.jboss.msc.service.ServiceTarget target,
File localDeploymentContentsFolder) |
Map<String,Set<String>> |
cleanObsoleteContent() |
void |
deleteDeployment(ContentReference reference) |
org.jboss.vfs.VirtualFile |
getContent(byte[] hash) |
File[] |
getDeploymentFiles(ContentReference reference) |
File |
getDeploymentRoot(ContentReference reference) |
org.jboss.as.server.mgmt.domain.CompositeContentRepository |
getValue() |
boolean |
hasContent(byte[] hash) |
void |
removeContent(ContentReference reference) |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
boolean |
syncContent(ContentReference reference) |
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(ContentReference reference)
public boolean hasContent(byte[] hash)
public void removeContent(ContentReference reference)
public final File[] getDeploymentFiles(ContentReference reference)
public File getDeploymentRoot(ContentReference reference)
public void deleteDeployment(ContentReference reference)
public void addContentReference(ContentReference reference)
Copyright © 2016 JBoss by Red Hat. All rights reserved.