Class BaseServletConfigSource
- java.lang.Object
 - 
- org.jboss.resteasy.microprofile.config.BaseServletConfigSource
 
 
- 
- All Implemented Interfaces:
 org.eclipse.microprofile.config.spi.ConfigSource
- Direct Known Subclasses:
 FilterConfigSource,ServletConfigSource,ServletContextConfigSource
public class BaseServletConfigSource extends Object implements org.eclipse.microprofile.config.spi.ConfigSource
I know this implementation is weird, but we do this for two reasons 1. So that resteasy doesn't require servlet 2. Because Graal VM will barf with an unhandled reference if we reference servlet classes directly 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected booleanavailableprotected intdefaultOrdinalprotected org.eclipse.microprofile.config.spi.ConfigSourcesource 
- 
Constructor Summary
Constructors Constructor Description BaseServletConfigSource(Class<?> sourceClass, int defaultOrdinal) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()intgetOrdinal()Map<String,String>getProperties()Set<String>getPropertyNames()StringgetValue(String propertyName) 
 - 
 
- 
- 
Constructor Detail
- 
BaseServletConfigSource
public BaseServletConfigSource(Class<?> sourceClass, int defaultOrdinal)
 
 - 
 
- 
Method Detail
- 
getProperties
public Map<String,String> getProperties()
- Specified by:
 getPropertiesin interfaceorg.eclipse.microprofile.config.spi.ConfigSource
 
- 
getPropertyNames
public Set<String> getPropertyNames()
- Specified by:
 getPropertyNamesin interfaceorg.eclipse.microprofile.config.spi.ConfigSource
 
- 
getOrdinal
public int getOrdinal()
- Specified by:
 getOrdinalin interfaceorg.eclipse.microprofile.config.spi.ConfigSource
 
- 
getValue
public String getValue(String propertyName)
- Specified by:
 getValuein interfaceorg.eclipse.microprofile.config.spi.ConfigSource
 
- 
getName
public String getName()
- Specified by:
 getNamein interfaceorg.eclipse.microprofile.config.spi.ConfigSource
 
 - 
 
 -