|
RSE Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.rse.core.subsystems.SubSystemConfiguration
org.eclipse.rse.subsystems.terminals.core.TerminalServiceSubSystemConfiguration
org.eclipse.rse.subsystems.terminals.ssh.SshTerminalSubSystemConfiguration
public class SshTerminalSubSystemConfiguration
An SSH Terminal Subsystem Factory.
Field Summary |
---|
Fields inherited from class org.eclipse.rse.core.subsystems.SubSystemConfiguration |
---|
currentlyProcessingConnection, currentlyProcessingSubSystemConfiguration, currentlySelected, currentlySelectedConnection, filterPoolManagerList, filterPoolManagers, filterPoolManagersPerProfile, subSystemList |
Fields inherited from interface org.eclipse.rse.core.subsystems.ISubSystemConfiguration |
---|
FORCE_INTO_MEMORY, LAZILY |
Fields inherited from interface org.eclipse.rse.core.model.IRSEPersistableContainer |
---|
NO_CHILDREN |
Constructor Summary | |
---|---|
SshTerminalSubSystemConfiguration()
|
Method Summary | |
---|---|
ISubSystem |
createSubSystemInternal(IHost host)
Instantiate and return an instance of OUR subsystem. |
ITerminalService |
createTerminalService(IHost host)
Create the terminal service. |
IConnectorService |
getConnectorService(IHost host)
Get the connector service for a particular host. This default implementation returns null . |
Class |
getServiceImplType()
Get the implementation type of the service associated with this subsystem configuration. This default implementation returns null . |
boolean |
isFactoryFor(Class subSystemType)
Determines whether this subsystem configuration is responsible for the creation of subsystems of the specified type Subsystem factories should override this to indicate which subsystems they support. |
void |
setConnectorService(IHost host,
IConnectorService connectorService)
Set the connector service for a particular host. This default implementation does nothing. |
Methods inherited from class org.eclipse.rse.subsystems.terminals.core.TerminalServiceSubSystemConfiguration |
---|
getService, getServiceType, getTerminalService, supportsFilters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Methods inherited from interface org.eclipse.rse.core.model.IRSEPersistableContainer |
---|
getPersistableChildren, getPersistableParent, isDirty, isTainted, setDirty, setTainted, setWasRestored, wasRestored |
Constructor Detail |
---|
public SshTerminalSubSystemConfiguration()
Method Detail |
---|
public boolean isFactoryFor(Class subSystemType)
SubSystemConfiguration
isFactoryFor
in interface ISubSystemConfiguration
isFactoryFor
in class TerminalServiceSubSystemConfiguration
subSystemType
- type of subsystem
public ISubSystem createSubSystemInternal(IHost host)
createSubSystemInternal
in interface ISubSystemConfiguration
createSubSystemInternal
in class SubSystemConfiguration
SubSystemConfiguration.createSubSystemInternal(IHost)
public ITerminalService createTerminalService(IHost host)
ITerminalServiceSubSystemConfiguration
host
- connection
public IConnectorService getConnectorService(IHost host)
SubSystemConfiguration
ISubSystemConfiguration.setConnectorService(IHost, IConnectorService)
.
This default implementation returns null
. Service subsystem
configurations must override as defined in the interface.
getConnectorService
in interface ISubSystemConfiguration
getConnectorService
in class SubSystemConfiguration
host
- the host for which to create or retrieve the connector service
ISubSystemConfiguration.supportsSubSystemConnect()
is true.ISubSystemConfiguration.getConnectorService(IHost)
public void setConnectorService(IHost host, IConnectorService connectorService)
SubSystemConfiguration
This default implementation does nothing. Service subsystems must override as defined in the interface.
setConnectorService
in interface ISubSystemConfiguration
setConnectorService
in class SubSystemConfiguration
host
- the host for which to set this connector service.connectorService
- the connector service associated with this host.ISubSystemConfiguration.setConnectorService(IHost,
IConnectorService)
public Class getServiceImplType()
SubSystemConfiguration
null
, otherwise it
must return the class that implements the interface specified in
ISubSystemConfiguration.getServiceType()
.
This default implementation returns null
. Service subsystem
configurations must override as defined in the interface.
getServiceImplType
in interface ISubSystemConfiguration
getServiceImplType
in class SubSystemConfiguration
ISubSystemConfiguration.getServiceType()
, or null
if this is
not a service subsystem configuration.ISubSystemConfiguration.getServiceImplType()
|
RSE Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |