@Dependent public class GlobalExperimentalFeaturesStorageImpl extends AbstractScopedExperimentalFeaturesStorage
Modifier and Type | Field and Description |
---|---|
static String |
GLOBAL_STORAGE_PATH |
defRegistry, fileSystem, ioService, sessionInfo
Constructor and Description |
---|
GlobalExperimentalFeaturesStorageImpl(SessionInfo sessionInfo,
IOService ioService,
ExperimentalFeatureDefRegistry defRegistry,
javax.enterprise.event.Event<PortableExperimentalFeatureModifiedEvent> event) |
Modifier and Type | Method and Description |
---|---|
Collection<ExperimentalFeatureImpl> |
getFeatures() |
ExperimentalStorageScope |
getScope() |
String |
getStoragePath() |
protected Collection<ExperimentalFeatureDefinition> |
getSupportedDefinitions() |
void |
init(FileSystem fileSystem) |
protected void |
loadGlobalFeatures() |
protected org.slf4j.Logger |
log() |
protected void |
maybeNotifyFeatureUpdate(ExperimentalFeatureImpl feature) |
doStoreFeatures, readFeatures, store, storeFeatures
public static final String GLOBAL_STORAGE_PATH
@Inject public GlobalExperimentalFeaturesStorageImpl(SessionInfo sessionInfo, @Named(value="configIO") IOService ioService, ExperimentalFeatureDefRegistry defRegistry, javax.enterprise.event.Event<PortableExperimentalFeatureModifiedEvent> event)
public void init(FileSystem fileSystem)
init
in interface ScopedExperimentalFeaturesStorage
init
in class AbstractScopedExperimentalFeaturesStorage
protected void loadGlobalFeatures()
protected Collection<ExperimentalFeatureDefinition> getSupportedDefinitions()
getSupportedDefinitions
in class AbstractScopedExperimentalFeaturesStorage
public Collection<ExperimentalFeatureImpl> getFeatures()
public String getStoragePath()
getStoragePath
in class AbstractScopedExperimentalFeaturesStorage
protected org.slf4j.Logger log()
log
in class AbstractScopedExperimentalFeaturesStorage
protected void maybeNotifyFeatureUpdate(ExperimentalFeatureImpl feature)
maybeNotifyFeatureUpdate
in class AbstractScopedExperimentalFeaturesStorage
public ExperimentalStorageScope getScope()
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.