org.scf4j.props
Class PropertyConfigurator

java.lang.Object
  extended by org.scf4j.props.PropertyConfigurator
All Implemented Interfaces:
org.scf4j.Configurator

public class PropertyConfigurator
extends java.lang.Object
implements org.scf4j.Configurator


Constructor Summary
PropertyConfigurator()
           
 
Method Summary
 void checkConstruction()
           
<T> T
getConfiguration(java.lang.Class<T> clazz)
           
 boolean isAvailable(java.lang.Class<?> clazz)
           
 void setConfigurationRoot(java.io.File configurationRoot)
           
 void setTypeCoercer(org.scf4j.util.TypeCoercer coercer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyConfigurator

public PropertyConfigurator()
Method Detail

isAvailable

public boolean isAvailable(java.lang.Class<?> clazz)
Specified by:
isAvailable in interface org.scf4j.Configurator

getConfiguration

public <T> T getConfiguration(java.lang.Class<T> clazz)
                   throws org.scf4j.ConfigurationException
Specified by:
getConfiguration in interface org.scf4j.Configurator
Throws:
org.scf4j.ConfigurationException

checkConstruction

@PostConstruct
public void checkConstruction()

setTypeCoercer

public void setTypeCoercer(org.scf4j.util.TypeCoercer coercer)

setConfigurationRoot

public void setConfigurationRoot(java.io.File configurationRoot)