Package org.jboss.resteasy.spi.config
Interface Configuration
- All Known Implementing Classes:
DefaultConfiguration
public interface Configuration
- Author:
- James R. Perkins
-
Method Summary
-
Method Details
-
getOptionalValue
Returns the resolved value for the specified type of the named property.- Type Parameters:
T
- the property type- Parameters:
name
- the name of the parametertype
- the type to convert the value to- Returns:
- the resolved optional value
- Throws:
IllegalArgumentException
- if the type is not supportedSecurityException
- if the security manager is present and theConfigPropertyPermission
for the property is not allowed
-
getValue
Returns the resolved value for the specified type of the named property.- Type Parameters:
T
- the property type- Parameters:
name
- the name of the parametertype
- the type to convert the value to- Returns:
- the resolved value
- Throws:
IllegalArgumentException
- if the type is not supportedNoSuchElementException
- if there is no property associated with the nameSecurityException
- if the security manager is present and theConfigPropertyPermission
for the property is not allowed
-