repast.simphony.freezedry.datasource
Class JDBCContextBuilder
java.lang.Object
repast.simphony.dataLoader.engine.FreezeDryedContextBuilder
repast.simphony.freezedry.datasource.JDBCContextBuilder
- All Implemented Interfaces:
- ContextBuilder
public class JDBCContextBuilder
- extends FreezeDryedContextBuilder
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SETTINGS_INFO
public static final String SETTINGS_INFO
- See Also:
- Constant Field Values
JDBCContextBuilder
public JDBCContextBuilder(String dbURL,
String driverName,
String userName,
String password,
boolean storeLogin,
boolean createContextFromData,
Iterable<Class<?>> classesToLoad,
Object contextId)
validateConnectionSettings
protected boolean validateConnectionSettings()
registerWriters
protected void registerWriters(FreezeDryedRegistry registry)
throws FreezeDryingException
- Specified by:
registerWriters in class FreezeDryedContextBuilder
- Throws:
FreezeDryingException
getDbURL
public final String getDbURL()
getDriverName
public final String getDriverName()
getPassword
public final String getPassword()
getUserName
public final String getUserName()
getStoreLogin
public boolean getStoreLogin()
setStoreLogin
public void setStoreLogin(boolean storeLogin)
main
public static void main(String[] args)
throws ClassNotFoundException,
InstantiationException,
IllegalAccessException,
UnsupportedLookAndFeelException
- Throws:
ClassNotFoundException
InstantiationException
IllegalAccessException
UnsupportedLookAndFeelException