|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface IConnectionManager
A service that provides a repository for all ConnectionProfiles defined to the connections
framework. Enquires all registered IConnectionProviders and uses the association data provided
by an IConnectionCredentialsManager to convert sets of ConnectionParameters into
ConnectionProfile objects, containing all of the information required to establish a connection.
| Field Summary | |
|---|---|
static java.lang.String |
COPYRIGHT
|
| Method Summary | |
|---|---|
void |
addListener(ConnectionManagerListener listener)
Adds a ConnectionManagerListener to this connection manager. |
ConnectionProfile |
getConnectionProfile(java.lang.String id)
Returns a ConnectionProfile identified by the supplied id |
java.util.List<ConnectionProfile> |
getConnectionProfiles()
Returns a List of all ConnectionProfiles known to the connections framework. |
java.util.List<ConnectionProfile> |
getConnectionProfiles(java.lang.String connectionTypeId)
Returns a List of all ConnectionProfiles for a given connection type id known
to the connections framework. |
java.util.Map<IConnectionDescriptor,java.util.List<ConnectionProfile>> |
getConnectionProfilesByDescriptor()
Returns a Map of all ConnectionProfiles, indexed by IConnectionDescriptor. |
ICredentialsManager |
getCredentialsManager()
Deprecated. replaced by ConnectionsPlugin.getCredentialsManager() |
| Field Detail |
|---|
static final java.lang.String COPYRIGHT
| Method Detail |
|---|
@Deprecated ICredentialsManager getCredentialsManager()
ConnectionsPlugin.getCredentialsManager()
ICredentialsManagerjava.util.List<ConnectionProfile> getConnectionProfiles()
List of all ConnectionProfiles known to the connections framework.
List of all known ConnectionProfiles, or an empty list if no
connections are defined.java.util.List<ConnectionProfile> getConnectionProfiles(java.lang.String connectionTypeId)
List of all ConnectionProfiles for a given connection type id known
to the connections framework.
connectionTypeId - the connection type ID to retrieve connection profiles for.
List of all applicable ConnectionProfiles or an empty list if
no connections are defined.IConnectionDescriptorjava.util.Map<IConnectionDescriptor,java.util.List<ConnectionProfile>> getConnectionProfilesByDescriptor()
Map of all ConnectionProfiles, indexed by IConnectionDescriptor.
Map of all ConnectionProfiles, indexed by IConnectionDescriptor
or an empty map if no connections are defined.ConnectionProfile getConnectionProfile(java.lang.String id)
ConnectionProfile identified by the supplied id
id - the ID to retrieve a connection configuration for.
ConnectionProfile or null if no such
ConnectionProfile exists.void addListener(ConnectionManagerListener listener)
ConnectionManagerListener to this connection manager. The listener will be
notified about changes to any ConnectionProfile managed by this service.
listener - the listener to add.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||