|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnu.zoom.ldap.eon.connection.AbstractConnectionFactory
nu.zoom.ldap.eon.connection.password.PasswordConnectionFactory
public class PasswordConnectionFactory
| Constructor Summary | |
|---|---|
PasswordConnectionFactory(Preferences preferences,
Workbench workbench,
org.ops4j.gaderian.Messages messages,
ComponentFactory componentFactory,
OperationManager operationManager)
|
|
| Method Summary | |
|---|---|
protected void |
delegateAddConnection(Connection connection)
Subclasses should add the connection to the list of connections. |
protected void |
delegateConnectionChanged(Connection connection)
Subclasses should rememeber the new connection data. |
protected void |
delegateRemoveConnection(Connection connection)
Subclasses should remove the connection from the connection list. |
String |
getDescription()
Get a description of the type of connections this factory handles. |
ConnectionEditor |
getEditor()
Subclasses should provide an editor for the type of connection it handles. |
ImageIcon |
getIcon()
The factory can provide an icon to represent the connection type it handles. |
String |
getName()
The connection factory should provide a short name for the type of connections the factory handles. |
Connection[] |
listConnections()
Get all connections this factory handles. |
| Methods inherited from class nu.zoom.ldap.eon.connection.AbstractConnectionFactory |
|---|
addConnection, addConnectionFactoryListener, connectionChanged, fireConnectionAdded, fireConnectionChanged, fireConnectionRemoved, removeConnection, removeConnectionFactoryListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PasswordConnectionFactory(Preferences preferences,
Workbench workbench,
org.ops4j.gaderian.Messages messages,
ComponentFactory componentFactory,
OperationManager operationManager)
| Method Detail |
|---|
public Connection[] listConnections()
throws BackendException
ConnectionFactory
BackendException
protected void delegateAddConnection(Connection connection)
throws BackendException
AbstractConnectionFactory
delegateAddConnection in class AbstractConnectionFactoryBackendException
protected void delegateRemoveConnection(Connection connection)
throws BackendException
AbstractConnectionFactory
delegateRemoveConnection in class AbstractConnectionFactoryconnection - The connection to remove. Never null.
BackendExceptionAbstractConnectionFactory.fireConnectionRemoved(ConnectionGUID)
protected void delegateConnectionChanged(Connection connection)
throws BackendException
AbstractConnectionFactory
delegateConnectionChanged in class AbstractConnectionFactoryconnection - The connection that changed.
BackendExceptionpublic String getDescription()
ConnectionFactory
getDescription in interface ConnectionFactorygetDescription in class AbstractConnectionFactorypublic String getName()
ConnectionFactory
getName in interface ConnectionFactorygetName in class AbstractConnectionFactorypublic ImageIcon getIcon()
ConnectionFactory
getIcon in interface ConnectionFactorygetIcon in class AbstractConnectionFactorypublic ConnectionEditor getEditor()
AbstractConnectionFactory
getEditor in interface ConnectionFactorygetEditor in class AbstractConnectionFactoryAbstractConnectionFactory.fireConnectionAdded(Connection),
AbstractConnectionFactory.fireConnectionChanged(Connection)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||