@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, storeFeaturespublic 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 ScopedExperimentalFeaturesStorageinit in class AbstractScopedExperimentalFeaturesStorageprotected void loadGlobalFeatures()
protected Collection<ExperimentalFeatureDefinition> getSupportedDefinitions()
getSupportedDefinitions in class AbstractScopedExperimentalFeaturesStoragepublic Collection<ExperimentalFeatureImpl> getFeatures()
public String getStoragePath()
getStoragePath in class AbstractScopedExperimentalFeaturesStorageprotected org.slf4j.Logger log()
log in class AbstractScopedExperimentalFeaturesStorageprotected void maybeNotifyFeatureUpdate(ExperimentalFeatureImpl feature)
maybeNotifyFeatureUpdate in class AbstractScopedExperimentalFeaturesStoragepublic ExperimentalStorageScope getScope()
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.