|
RSE Release 3.3 |
|||||||||
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.shells.core.subsystems.RemoteCmdSubSystemConfiguration
org.eclipse.rse.subsystems.shells.core.subsystems.servicesubsystem.ShellServiceSubSystemConfiguration
org.eclipse.rse.subsystems.shells.dstore.DStoreShellSubSystemConfiguration
public class DStoreShellSubSystemConfiguration
Provides a factory for generating instances of the class ShellServiceSubSystem.
Field Summary | |
---|---|
protected boolean |
_isWindows
|
Fields inherited from class org.eclipse.rse.subsystems.shells.core.subsystems.RemoteCmdSubSystemConfiguration |
---|
translatedType |
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 | |
---|---|
DStoreShellSubSystemConfiguration()
|
Method Summary | |
---|---|
boolean |
canRunCommand()
|
IServiceCommandShell |
createRemoteCommandShell(IRemoteCmdSubSystem cmdSS,
IHostShell hostShell)
|
IShellService |
createShellService(IHost host)
|
ISubSystem |
createSubSystemInternal(IHost host)
Instantiate and return an instance of OUR subystem. |
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. |
boolean |
supportsCommands()
We return true. |
boolean |
supportsFilters()
Test if filters are supported. |
Methods inherited from class org.eclipse.rse.subsystems.shells.core.subsystems.servicesubsystem.ShellServiceSubSystemConfiguration |
---|
getService, getServiceType, getShellService, supportsServerLaunchProperties |
Methods inherited from class org.eclipse.rse.subsystems.shells.core.subsystems.RemoteCmdSubSystemConfiguration |
---|
createDefaultFilterPool, getCommandSeparator, getTranslatedFilterTypeProperty, isCaseSensitive, supportsDuplicateFilterStrings, supportsEnvironmentVariablesPropertyPage, supportsFilterStringExport, supportsMultiStringFilters, supportsNestedFilters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.rse.subsystems.shells.core.subsystems.IRemoteCmdSubSystemConfiguration |
---|
getCommandSeparator, supportsEnvironmentVariablesPropertyPage |
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 |
Field Detail |
---|
protected boolean _isWindows
Constructor Detail |
---|
public DStoreShellSubSystemConfiguration()
Method Detail |
---|
public boolean isFactoryFor(Class subSystemType)
SubSystemConfiguration
isFactoryFor
in interface ISubSystemConfiguration
isFactoryFor
in class SubSystemConfiguration
subSystemType
- type of subsystem
public ISubSystem createSubSystemInternal(IHost host)
createSubSystemInternal
in interface ISubSystemConfiguration
createSubSystemInternal
in class SubSystemConfiguration
SubSystemConfiguration.createSubSystemInternal(IHost)
public boolean supportsFilters()
RemoteCmdSubSystemConfiguration
false
.
supportsFilters
in interface ISubSystemConfiguration
supportsFilters
in class RemoteCmdSubSystemConfiguration
true
to indicate that Filters are supported by default.SubSystemConfiguration.supportsFilters()
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 IShellService createShellService(IHost host)
public boolean supportsCommands()
RemoteCmdSubSystemConfiguration
supportsCommands
in interface ISubSystemConfiguration
supportsCommands
in class RemoteCmdSubSystemConfiguration
SubSystemConfiguration.supportsCommands()
public boolean canRunCommand()
public IServiceCommandShell createRemoteCommandShell(IRemoteCmdSubSystem cmdSS, IHostShell hostShell)
createRemoteCommandShell
in interface IShellServiceSubSystemConfiguration
createRemoteCommandShell
in class ShellServiceSubSystemConfiguration
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.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |