org.modeshape.jboss.service
Class BinaryStorageService
java.lang.Object
org.modeshape.jboss.service.BinaryStorageService
- All Implemented Interfaces:
- org.jboss.msc.service.Service<BinaryStorage>, org.jboss.msc.value.Value<BinaryStorage>
public class BinaryStorageService
- extends Object
- implements org.jboss.msc.service.Service<BinaryStorage>
Fields inherited from interface org.jboss.msc.service.Service |
NULL, NULL_VALUE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
binaryStorage
protected final BinaryStorage binaryStorage
BinaryStorageService
public BinaryStorageService(String repositoryName,
EditableDocument binaryConfig)
getRepositoryName
public String getRepositoryName()
- Get the repository name.
- Returns:
- repositoryName
getBinaryStorageBasePathInjector
public org.jboss.msc.value.InjectedValue<String> getBinaryStorageBasePathInjector()
- Returns:
- the injector used to set the path where the binary files are to be stored
getBinaryCacheManagerInjector
public org.jboss.msc.inject.Injector<org.infinispan.manager.CacheContainer> getBinaryCacheManagerInjector()
- Returns:
- the injector used to set the CacheManager reference used for binary storage
getValue
public BinaryStorage getValue()
throws IllegalStateException,
IllegalArgumentException
- Specified by:
getValue
in interface org.jboss.msc.value.Value<BinaryStorage>
- Throws:
IllegalStateException
IllegalArgumentException
start
public void start(org.jboss.msc.service.StartContext arg0)
- Specified by:
start
in interface org.jboss.msc.service.Service<BinaryStorage>
stop
public void stop(org.jboss.msc.service.StopContext arg0)
- Specified by:
stop
in interface org.jboss.msc.service.Service<BinaryStorage>
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.