org.apache.metamodel.spring
Class AbstractDataContextFactoryBeanDelegate

java.lang.Object
  extended by org.apache.metamodel.spring.AbstractDataContextFactoryBeanDelegate
All Implemented Interfaces:
DataContextFactoryBeanDelegate
Direct Known Subclasses:
CouchDbDataContextFactoryBeanDelegate, CsvDataContextFactoryBeanDelegate, ExcelDataContextFactoryBeanDelegate, JdbcDataContextFactoryBeanDelegate, MongoDbDataContextFactoryBeanDelegate, PojoDataContextFactoryBeanDelegate

public abstract class AbstractDataContextFactoryBeanDelegate
extends Object
implements DataContextFactoryBeanDelegate

Useful common superclass of DataContextFactoryBeanDelegate implementations.


Field Summary
protected  org.slf4j.Logger logger
           
 
Constructor Summary
AbstractDataContextFactoryBeanDelegate()
           
 
Method Summary
protected  boolean getBoolean(String value, boolean ifNull)
           
protected  char getChar(String value, char ifNull)
           
protected  int getInt(String value, int ifNull)
           
protected  Resource getResource(DataContextFactoryParameters params)
           
protected  String getString(String value, String ifNull)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.metamodel.spring.DataContextFactoryBeanDelegate
createDataContext
 

Field Detail

logger

protected final org.slf4j.Logger logger
Constructor Detail

AbstractDataContextFactoryBeanDelegate

public AbstractDataContextFactoryBeanDelegate()
Method Detail

getResource

protected Resource getResource(DataContextFactoryParameters params)

getInt

protected int getInt(String value,
                     int ifNull)

getString

protected String getString(String value,
                           String ifNull)

getChar

protected char getChar(String value,
                       char ifNull)

getBoolean

protected boolean getBoolean(String value,
                             boolean ifNull)


Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.