public class ConnectionWizard extends DataSourceWizard
| Modifier and Type | Field and Description |
|---|---|
protected DbAdapter |
adapter |
protected Connection |
connection |
altDataSource, altDataSourceKey, canceled, connectionInfo, dataSourceBinding, dataSourceKey, dataSources, viewapplication, parent, propertyChangeSupport| Constructor and Description |
|---|
ConnectionWizard(CayenneController parent,
String title,
String altDataSourceKey,
DBConnectionInfo altDataSource) |
| Modifier and Type | Method and Description |
|---|---|
DbAdapter |
getAdapter()
Returns configured DbAdapter.
|
Connection |
getConnection()
Returns configured DB connection.
|
void |
okAction()
Overrides superclass to keep an open connection around for the caller's use.
|
cancelAction, createView, dataSourceConfigAction, getConnectionInfo, getDataSourceKey, getView, initBindings, refreshDataSources, setDataSourceKey, startupActionaddPropertyChangeListener, bindingUpdated, centerView, firePropertyChange, getApplication, getFrame, getLastDirectory, getParent, getViewPreferences, getWindow, makeCloseableOnEscape, reportErrorprotected Connection connection
protected DbAdapter adapter
public ConnectionWizard(CayenneController parent, String title, String altDataSourceKey, DBConnectionInfo altDataSource)
public void okAction()
okAction in class DataSourceWizardpublic Connection getConnection()
public DbAdapter getAdapter()
Copyright © 2001–2015 Apache Cayenne. All rights reserved.