diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2019-05-24 08:20:01 +0200 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2019-05-24 08:20:01 +0200 |
commit | f4bcfe76944585321bd239b48d6df25abe337cbb (patch) | |
tree | 3c7e5a8e9f56a59b1ab20ff1f651382dc3a38c50 /eaaf_core_api/src/main | |
parent | 6bd515d02b5d2c8bb81cf59a61962c6a8fbb84ef (diff) | |
download | EAAF-Components-f4bcfe76944585321bd239b48d6df25abe337cbb.tar.gz EAAF-Components-f4bcfe76944585321bd239b48d6df25abe337cbb.tar.bz2 EAAF-Components-f4bcfe76944585321bd239b48d6df25abe337cbb.zip |
update IConfiguration interfaces to support SpringBoot resources as configuration source
Diffstat (limited to 'eaaf_core_api/src/main')
-rw-r--r-- | eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/IConfiguration.java | 19 | ||||
-rw-r--r-- | eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/IExtendedConfiguration.java | 24 |
2 files changed, 25 insertions, 18 deletions
diff --git a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/IConfiguration.java b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/IConfiguration.java index 7615f2d5..eceec2a6 100644 --- a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/IConfiguration.java +++ b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/IConfiguration.java @@ -29,7 +29,6 @@ package at.gv.egiz.eaaf.core.api.idp; import java.net.URI; import java.net.URL; import java.util.Map; -import java.util.Properties; import javax.annotation.Nullable; @@ -100,14 +99,7 @@ public interface IConfiguration { */ @Nullable public <T> T getServiceProviderConfiguration(String spIdentifier, final Class<T> decorator) throws EAAFConfigurationException; - - /** - * Get the full configuration properties object - * - * @return - */ - public Properties getFullConfigurationProperties(); - + /** * Get the root directory of the configuration folder * @@ -115,15 +107,6 @@ public interface IConfiguration { */ public URI getConfigurationRootDirectory(); - - /** - * Get the path to EAAFCore configuration that is internally used - * - * @return - */ - public URI getConfigurationFilePath(); - - /** * Validate a URL if it it is allowed by configuration. * diff --git a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/IExtendedConfiguration.java b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/IExtendedConfiguration.java new file mode 100644 index 00000000..368155db --- /dev/null +++ b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/IExtendedConfiguration.java @@ -0,0 +1,24 @@ +package at.gv.egiz.eaaf.core.api.idp; + +import java.net.URI; +import java.util.Properties; + +public interface IExtendedConfiguration extends IConfiguration { + + /** + * Get the full configuration properties object + * + * @return + */ + @Deprecated + public Properties getFullConfigurationProperties(); + + /** + * Get the path to EAAFCore configuration that is internally used + * + * @return + */ + @Deprecated + public URI getConfigurationFilePath(); + +} |