public class ConfigurationProviderImpl extends Object implements org.craftercms.commons.config.ConfigurationProvider
ConfigurationProvider| Modifier and Type | Field and Description |
|---|---|
protected org.craftercms.core.service.ContentStoreService |
contentStoreService |
protected org.springframework.beans.factory.ObjectFactory<org.craftercms.core.service.Context> |
contextFactory |
| Constructor and Description |
|---|
ConfigurationProviderImpl(org.springframework.beans.factory.ObjectFactory<org.craftercms.core.service.Context> contextFactory,
org.craftercms.core.service.ContentStoreService contentStoreService) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configExists(String path) |
InputStream |
getConfig(String path) |
protected org.springframework.beans.factory.ObjectFactory<org.craftercms.core.service.Context> contextFactory
protected org.craftercms.core.service.ContentStoreService contentStoreService
public ConfigurationProviderImpl(org.springframework.beans.factory.ObjectFactory<org.craftercms.core.service.Context> contextFactory,
org.craftercms.core.service.ContentStoreService contentStoreService)
public boolean configExists(String path)
configExists in interface org.craftercms.commons.config.ConfigurationProviderpublic InputStream getConfig(String path) throws IOException
getConfig in interface org.craftercms.commons.config.ConfigurationProviderIOExceptionCopyright © 2023. All rights reserved.