@Dependent @Named(value="user") public class UserExperimentalFeaturesStorageImpl extends AbstractExperimentalFeaturesStorage
| Modifier and Type | Field and Description |
|---|---|
static String |
USER_FOLDER |
COMMENTS, defRegistry, EXPERIMENTAL_FILE_NAME, EXPERIMENTAL_STORAGE_FOLDER, fileSystem, ioService, SEPARATOR, sessionInfo, spaces| Constructor and Description |
|---|
UserExperimentalFeaturesStorageImpl(SessionInfo sessionInfo,
SpacesAPI spaces,
IOService ioService,
ExperimentalFeatureDefRegistry defRegistry) |
| Modifier and Type | Method and Description |
|---|---|
Collection<ExperimentalFeatureImpl> |
getFeatures() |
String |
getStoragePath() |
protected Collection<ExperimentalFeatureDefinition> |
getSupportedDefinitions() |
void |
init() |
protected org.slf4j.Logger |
log() |
doStoreFeatures, initializeFileSystem, maybeNotifyFeatureUpdate, readFeatures, store, storeFeaturespublic static final String USER_FOLDER
@Inject public UserExperimentalFeaturesStorageImpl(SessionInfo sessionInfo, SpacesAPI spaces, @Named(value="configIO") IOService ioService, ExperimentalFeatureDefRegistry defRegistry)
@PostConstruct public void init()
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 AbstractExperimentalFeaturesStorageCopyright © 2012–2019 JBoss by Red Hat. All rights reserved.