@Dependent @Named(value="global") public class GlobalExperimentalFeaturesStorageImpl extends AbstractExperimentalFeaturesStorage
| Modifier and Type | Field and Description |
|---|---|
static String |
GLOBAL_FOLDER |
COMMENTS, defRegistry, EXPERIMENTAL_FILE_NAME, EXPERIMENTAL_STORAGE_FOLDER, fileSystem, ioService, SEPARATOR, sessionInfo, spaces| Constructor and Description |
|---|
GlobalExperimentalFeaturesStorageImpl(SessionInfo sessionInfo,
SpacesAPI spaces,
IOService ioService,
ExperimentalFeatureDefRegistry defRegistry,
javax.enterprise.event.Event<PortableExperimentalFeatureModifiedEvent> event) |
| Modifier and Type | Method and Description |
|---|---|
Collection<ExperimentalFeatureImpl> |
getFeatures() |
String |
getStoragePath() |
protected Collection<ExperimentalFeatureDefinition> |
getSupportedDefinitions() |
void |
init() |
protected void |
loadGlobalFeatures() |
protected org.slf4j.Logger |
log() |
protected void |
maybeNotifyFeatureUpdate(ExperimentalFeatureImpl feature) |
doStoreFeatures, initializeFileSystem, readFeatures, store, storeFeaturespublic static final String GLOBAL_FOLDER
@Inject public GlobalExperimentalFeaturesStorageImpl(SessionInfo sessionInfo, SpacesAPI spaces, @Named(value="configIO") IOService ioService, ExperimentalFeatureDefRegistry defRegistry, javax.enterprise.event.Event<PortableExperimentalFeatureModifiedEvent> event)
@PostConstruct public void init()
protected void loadGlobalFeatures()
protected Collection<ExperimentalFeatureDefinition> getSupportedDefinitions()
getSupportedDefinitions in class AbstractExperimentalFeaturesStoragepublic Collection<ExperimentalFeatureImpl> getFeatures()
public String getStoragePath()
getStoragePath in class AbstractExperimentalFeaturesStorageprotected org.slf4j.Logger log()
log in class AbstractExperimentalFeaturesStorageprotected void maybeNotifyFeatureUpdate(ExperimentalFeatureImpl feature)
maybeNotifyFeatureUpdate in class AbstractExperimentalFeaturesStorageCopyright © 2012–2019 JBoss by Red Hat. All rights reserved.