br.gov.frameworkdemoiselle.internal.configuration
Class JDBCConfigValueExtractor

java.lang.Object
  extended by br.gov.frameworkdemoiselle.internal.configuration.JDBCConfigValueExtractor
All Implemented Interfaces:
ConfigurationValueExtractor

public class JDBCConfigValueExtractor
extends Object
implements ConfigurationValueExtractor

TODO Adicionar verificação da existência de duas ou mais configurações JDBC com mesmo nome. Lançar INFO ou Exceção.


Constructor Summary
JDBCConfigValueExtractor()
           
 
Method Summary
 Object getValue(String prefix, String key, Field field, org.apache.commons.configuration.Configuration configuration)
           
 boolean isSupported(Field field)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCConfigValueExtractor

public JDBCConfigValueExtractor()
Method Detail

getValue

public Object getValue(String prefix,
                       String key,
                       Field field,
                       org.apache.commons.configuration.Configuration configuration)
                throws Exception
Specified by:
getValue in interface ConfigurationValueExtractor
Throws:
Exception

isSupported

public boolean isSupported(Field field)
Specified by:
isSupported in interface ConfigurationValueExtractor


Copyright © 2015 SERPRO - Serviço Federal de Processamento de Dados. All Rights Reserved.