Package org.openiam.spring.property
Class OpeniamResourcePropertySource
- java.lang.Object
-
- org.springframework.core.env.PropertySource<T>
-
public class OpeniamResourcePropertySource extends org.springframework.core.io.support.ResourcePropertySource
Custom Resource Property Source As of V4.2.0, we attempt to fetch the property from vault.- Author:
- lbornov2
-
-
Constructor Summary
Constructors Constructor Description OpeniamResourcePropertySource(String location)
OpeniamResourcePropertySource(String location, ClassLoader classLoader)
OpeniamResourcePropertySource(String name, String location)
OpeniamResourcePropertySource(String name, String location, ClassLoader classLoader)
OpeniamResourcePropertySource(String name, org.springframework.core.io.Resource resource)
OpeniamResourcePropertySource(String name, org.springframework.core.io.support.EncodedResource resource)
OpeniamResourcePropertySource(org.springframework.core.io.Resource resource)
OpeniamResourcePropertySource(org.springframework.core.io.support.EncodedResource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getProperty(String name)
-
Methods inherited from class org.springframework.core.io.support.ResourcePropertySource
withName, withResourceName
-
-
-
-
Constructor Detail
-
OpeniamResourcePropertySource
public OpeniamResourcePropertySource(org.springframework.core.io.support.EncodedResource resource) throws IOException
- Throws:
IOException
-
OpeniamResourcePropertySource
public OpeniamResourcePropertySource(org.springframework.core.io.Resource resource) throws IOException
- Throws:
IOException
-
OpeniamResourcePropertySource
public OpeniamResourcePropertySource(String location, ClassLoader classLoader) throws IOException
- Throws:
IOException
-
OpeniamResourcePropertySource
public OpeniamResourcePropertySource(String name, org.springframework.core.io.support.EncodedResource resource) throws IOException
- Throws:
IOException
-
OpeniamResourcePropertySource
public OpeniamResourcePropertySource(String name, org.springframework.core.io.Resource resource) throws IOException
- Throws:
IOException
-
OpeniamResourcePropertySource
public OpeniamResourcePropertySource(String name, String location, ClassLoader classLoader) throws IOException
- Throws:
IOException
-
OpeniamResourcePropertySource
public OpeniamResourcePropertySource(String name, String location) throws IOException
- Throws:
IOException
-
OpeniamResourcePropertySource
public OpeniamResourcePropertySource(String location) throws IOException
- Throws:
IOException
-
-