Class ConfigurationProviderImpl
- java.lang.Object
-
- org.craftercms.deployer.utils.config.profiles.ConfigurationProviderImpl
-
- All Implemented Interfaces:
org.craftercms.commons.config.ConfigurationProvider
public class ConfigurationProviderImpl extends Object implements org.craftercms.commons.config.ConfigurationProvider
Implementation ofConfigurationProvider
- Since:
- 3.1.6
- Author:
- joseross
-
-
Field Summary
Fields Modifier and Type Field Description protected org.craftercms.core.service.ContentStoreService
contentStoreService
protected org.springframework.beans.factory.ObjectFactory<org.craftercms.core.service.Context>
contextFactory
-
Constructor Summary
Constructors Constructor Description ConfigurationProviderImpl(org.springframework.beans.factory.ObjectFactory<org.craftercms.core.service.Context> contextFactory, org.craftercms.core.service.ContentStoreService contentStoreService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
configExists(String path)
InputStream
getConfig(String path)
-
-
-
Constructor Detail
-
ConfigurationProviderImpl
@ConstructorProperties({"contextFactory","contentStoreService"}) public ConfigurationProviderImpl(org.springframework.beans.factory.ObjectFactory<org.craftercms.core.service.Context> contextFactory, org.craftercms.core.service.ContentStoreService contentStoreService)
-
-
Method Detail
-
configExists
public boolean configExists(String path)
- Specified by:
configExists
in interfaceorg.craftercms.commons.config.ConfigurationProvider
-
getConfig
public InputStream getConfig(String path) throws IOException
- Specified by:
getConfig
in interfaceorg.craftercms.commons.config.ConfigurationProvider
- Throws:
IOException
-
-