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 java.lang.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
 java.lang.Object getValue(java.lang.String prefix, java.lang.String key, java.lang.reflect.Field field, org.apache.commons.configuration.Configuration configuration)
           
 boolean isSupported(java.lang.reflect.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 java.lang.Object getValue(java.lang.String prefix,
                                 java.lang.String key,
                                 java.lang.reflect.Field field,
                                 org.apache.commons.configuration.Configuration configuration)
                          throws java.lang.Exception
Specified by:
getValue in interface ConfigurationValueExtractor
Throws:
java.lang.Exception

isSupported

public boolean isSupported(java.lang.reflect.Field field)
Specified by:
isSupported in interface ConfigurationValueExtractor


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