|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.connect.ConnectorManager
public class ConnectorManager
Marshals provision of Connector
objects.
By default, if the requisite classes are available in this JVM, the following connectors are known:
uk.ac.starlink.srb.SRBConnector
(SRB)
uk.ac.starlink.astrogrid.AcrConnector
(MySpace)
Field Summary | |
---|---|
static java.lang.String |
CONNECTORS_PROPERTY
Name of property containing colon-separated list of additional Connector implementations to be made
available from this manager. |
Constructor Summary | |
---|---|
ConnectorManager()
|
Method Summary | |
---|---|
static ConnectorAction[] |
getConnectorActions()
Returns a list of all the currently available ConnectorAction objects. |
static Connector[] |
getConnectors()
Returns a list of all the known Connector objects. |
static Connection |
showConnectionDialog(java.awt.Component parent,
Connector connector)
Pops up a modal dialogue which invites the user to log into a connection using a given connector. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CONNECTORS_PROPERTY
Connector
implementations to be made
available from this manager.
Constructor Detail |
---|
public ConnectorManager()
Method Detail |
---|
public static Connector[] getConnectors()
CONNECTORS_PROPERTY
system property.
public static ConnectorAction[] getConnectorActions()
Connector
s
returned by getConnectors()
. Since a ConnectorAction
holds open a single connection at a time, this is a sensible method
to use if you want to get a list of the current connections to
various places. If you want to be able to open guaranteed new
connections, use getConnectors itself instead.
public static Connection showConnectionDialog(java.awt.Component parent, Connector connector)
parent
- component for the dialogue
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |