org.eclipse.jpt.jpa.db
Class ConnectionAdapter
java.lang.Object
org.eclipse.jpt.jpa.db.ConnectionAdapter
- All Implemented Interfaces:
- EventListener, ConnectionListener
public class ConnectionAdapter
- extends Object
- implements ConnectionListener
An empty implementation of ConnectionListener.
Provisional API: This class is part of an interim API that is still
under development and expected to change significantly before reaching
stability. It is available at this early stage to solicit feedback from
pioneering adopters on the understanding that any code that uses this API
will almost certainly be broken (repeatedly) as the API evolves.
ConnectionAdapter
public ConnectionAdapter()
aboutToClose
public void aboutToClose(ConnectionProfile profile)
- Specified by:
aboutToClose in interface ConnectionListener
closed
public void closed(ConnectionProfile profile)
- Specified by:
closed in interface ConnectionListener
databaseChanged
public void databaseChanged(ConnectionProfile profile,
Database database)
- Specified by:
databaseChanged in interface ConnectionListener
modified
public void modified(ConnectionProfile profile)
- Specified by:
modified in interface ConnectionListener
okToClose
public boolean okToClose(ConnectionProfile profile)
- Specified by:
okToClose in interface ConnectionListener
opened
public void opened(ConnectionProfile profile)
- Specified by:
opened in interface ConnectionListener
catalogChanged
public void catalogChanged(ConnectionProfile profile,
Catalog catalog)
- Specified by:
catalogChanged in interface ConnectionListener
schemaChanged
public void schemaChanged(ConnectionProfile profile,
Schema schema)
- Specified by:
schemaChanged in interface ConnectionListener
sequenceChanged
public void sequenceChanged(ConnectionProfile profile,
Sequence sequence)
- Specified by:
sequenceChanged in interface ConnectionListener
tableChanged
public void tableChanged(ConnectionProfile profile,
Table table)
- Specified by:
tableChanged in interface ConnectionListener
columnChanged
public void columnChanged(ConnectionProfile profile,
Column column)
- Specified by:
columnChanged in interface ConnectionListener
foreignKeyChanged
public void foreignKeyChanged(ConnectionProfile profile,
ForeignKey foreignKey)
- Specified by:
foreignKeyChanged in interface ConnectionListener
toString
public String toString()
- Overrides:
toString in class Object
Copyright (c) 2012 Oracle. All rights reserved.