|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.rse.core.model.PropertySetContainer
org.eclipse.rse.core.model.RSEModelObject
org.eclipse.rse.core.subsystems.AbstractConnectorService
org.eclipse.rse.connectorservice.local.LocalConnectorService
System class required by the remote systems framework. This represents the live connection at tool runtime. Since we don't really have such a thing for local files, this is pretty well empty.
| Nested Class Summary |
|---|
| Nested classes inherited from class org.eclipse.rse.core.subsystems.AbstractConnectorService |
|---|
AbstractConnectorService.NewPasswordInfo |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.rse.core.subsystems.AbstractConnectorService |
|---|
_remoteServerLauncherProperties, connectResult, launchResult, shell |
| Fields inherited from class org.eclipse.rse.core.model.RSEModelObject |
|---|
_isDirty, _wasRestored |
| Fields inherited from interface org.eclipse.rse.core.ISystemUserIdConstants |
|---|
USERID_LOCATION_CONNECTION, USERID_LOCATION_DEFAULT_OVERALL, USERID_LOCATION_DEFAULT_SYSTEMTYPE, USERID_LOCATION_NOTSET, USERID_LOCATION_SUBSYSTEM |
| Constructor Summary | |
|---|---|
LocalConnectorService(IHost host)
Constructor when we don't have a subsystem yet. |
|
| Method Summary | |
|---|---|
String |
getHomeDirectory()
Return the home directory of the operating system for the current user, if available. |
String |
getTempDirectory()
Return the temp directory of the operating system for the current user, if available. |
String |
getVersionReleaseModification()
Return the version, release, modification of the operating system. |
boolean |
hasRemoteServerLauncherProperties()
|
protected void |
internalConnect(IProgressMonitor monitor)
You must override unless subsystem.getParentSubSystemConfiguration().supportsServerLaunchProperties returns true. |
void |
internalDisconnect(IProgressMonitor monitor)
|
boolean |
isConnected()
Return true if currently connected. |
boolean |
supportsPassword()
Can be used to determine if a password field is present on a login dialog for this connector service. |
boolean |
supportsRemoteServerLaunching()
|
boolean |
supportsServerLaunchProperties()
Tell us if this subsystem factory supports server launch properties, which allow the user to configure how the server-side code for these subsystems are started. |
boolean |
supportsUserId()
Report if this connector service can use a user identifier. |
| Methods inherited from class org.eclipse.rse.core.model.RSEModelObject |
|---|
compareStrings, isDirty, setDirty, setWasRestored, wasRestored |
| Methods inherited from class org.eclipse.rse.core.model.PropertySetContainer |
|---|
addPropertySet, addPropertySets, createPropertySet, createPropertySet, getPropertySet, getPropertySets, removePropertySet |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.rse.core.model.IPropertySetContainer |
|---|
addPropertySet, addPropertySets, createPropertySet, createPropertySet, getPropertySet, getPropertySets, removePropertySet |
| Methods inherited from interface org.eclipse.rse.core.persistance.IRSEPersistableContainer |
|---|
isDirty, setDirty, setWasRestored, wasRestored |
| Constructor Detail |
public LocalConnectorService(IHost host)
| Method Detail |
public void internalDisconnect(IProgressMonitor monitor)
throws Exception
internalDisconnect in class AbstractConnectorServiceExceptionAbstractConnectorService.disconnect(IProgressMonitor)
protected void internalConnect(IProgressMonitor monitor)
throws Exception
AbstractConnectorService
Attempt to connect to the remote system.
If the subsystem supports server launch,
the default behavior is to get the remote server launcher by
AbstractConnectorService.getRemoteServerLauncher(), and if IServerLauncher.isLaunched()
returns false, to call IServerLauncher.launch(IProgressMonitor).
This is called, by default, from the connect(...) methods of the subsystem.
internalConnect in class AbstractConnectorServiceExceptionIConnectorService.connect(IProgressMonitor)public boolean isConnected()
IConnectorService
IConnectorService.isConnected()public String getVersionReleaseModification()
Returns System.getProperty("os.version")
getVersionReleaseModification in interface IConnectorServicegetVersionReleaseModification in class AbstractConnectorServicepublic String getHomeDirectory()
Returns System.getProperty("user.home")
getHomeDirectory in interface IConnectorServicegetHomeDirectory in class AbstractConnectorServicepublic String getTempDirectory()
Returns System.getProperty("java.io.tmpdir")
getTempDirectory in interface IConnectorServicegetTempDirectory in class AbstractConnectorServicepublic boolean hasRemoteServerLauncherProperties()
hasRemoteServerLauncherProperties in interface IConnectorServicehasRemoteServerLauncherProperties in class AbstractConnectorServicepublic boolean supportsRemoteServerLaunching()
supportsRemoteServerLaunching in interface IConnectorServicesupportsRemoteServerLaunching in class AbstractConnectorServicepublic boolean supportsServerLaunchProperties()
IConnectorService
supportsServerLaunchProperties in interface IConnectorServicesupportsServerLaunchProperties in class AbstractConnectorServicepublic boolean supportsPassword()
IConnectorService
supportsPassword in interface IConnectorServicesupportsPassword in class AbstractConnectorServiceAbstractConnectorService.supportsPassword()public boolean supportsUserId()
IConnectorService
supportsUserId in interface IConnectorServicesupportsUserId in class AbstractConnectorServiceAbstractConnectorService.supportsUserId()
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||