RSE
Release 1.0

org.eclipse.rse.subsystems.shells.dstore
Class DStoreShellSubSystemConfiguration

java.lang.Object
  extended byorg.eclipse.rse.core.subsystems.SubSystemConfiguration
      extended byorg.eclipse.rse.internal.subsystems.shells.subsystems.RemoteCmdSubSystemConfiguration
          extended byorg.eclipse.rse.subsystems.shells.core.subsystems.servicesubsystem.ShellServiceSubSystemConfiguration
              extended byorg.eclipse.rse.subsystems.shells.dstore.DStoreShellSubSystemConfiguration
All Implemented Interfaces:
IAdaptable, IRemoteCmdSubSystemConfiguration, org.eclipse.rse.core.persistance.IRSEPersistableContainer, IServiceSubSystemConfiguration, IShellServiceSubSystemConfiguration, ISubSystemConfiguration, ISystemFilterPoolManagerProvider

public class DStoreShellSubSystemConfiguration
extends ShellServiceSubSystemConfiguration

Provides a factory for generating instances of the class ShellServiceSubSystem.


Field Summary
protected  boolean _isWindows
           
 
Fields inherited from class org.eclipse.rse.internal.subsystems.shells.subsystems.RemoteCmdSubSystemConfiguration
translatedType
 
Fields inherited from class org.eclipse.rse.core.subsystems.SubSystemConfiguration
_isDirty, currentlyProcessingConnection, currentlyProcessingSubSystemConfiguration, currentlySelected, currentlySelectedConnection, filterNamingPolicy, filterPoolManagerList, filterPoolManagers, filterPoolManagersPerProfile, imageTable, subSystemList
 
Fields inherited from interface org.eclipse.rse.core.subsystems.ISubSystemConfiguration
FORCE_INTO_MEMORY, LAZILY
 
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)
          Find or create a connector service for this host
 Class getServiceImplType()
           
 boolean isFactoryFor(Class subSystemType)
          Determines whether this factory is responsible for the creation of subsytems of the specified type Subsystem factories should override this to indicate which subsystems they support.
 void setConnectorService(IHost host, IConnectorService connectorService)
           
 boolean supportsCommands()
          Return true if subsystem instances from this factory support remote command execution Returns false in default implementation, and is usually only true for command subsystems.
 boolean supportsFilters()
          Required method for subsystem factory child classes.
 
Methods inherited from class org.eclipse.rse.subsystems.shells.core.subsystems.servicesubsystem.ShellServiceSubSystemConfiguration
getService, getServiceType, getShellService, supportsServerLaunchProperties
 
Methods inherited from class org.eclipse.rse.internal.subsystems.shells.subsystems.RemoteCmdSubSystemConfiguration
createDefaultFilterPool, getCommandSeparator, getTranslatedFilterTypeProperty, isCaseSensitive, isPortEditable, supportsDuplicateFilterStrings, supportsEnvironmentVariablesPropertyPage, supportsFilterStringExport, supportsMultiStringFilters, supportsNestedFilters, supportsProperties, supportsSubSystemConnect
 
Methods inherited from class org.eclipse.rse.core.subsystems.SubSystemConfiguration
addFilterPoolManager, addSubSystem, changingSystemProfileActiveStatus, cloneEvent, cloneSubSystem, commit, configureNewFilterAction, copyFilterPoolManager, copySubSystemData, createEvent, createEvent, createEvent, createServerLauncher, createSubSystem, createSubSystemAfterTheFact, deleteFilterPoolManager, deleteSubSystem, deleteSubSystemsByConnection, deletingSystemProfile, disconnectAllSubSystems, doPostRestoreProcessing, filterEventFilterCreated, filterEventFilterDeleted, filterEventFilterPoolCreated, filterEventFilterPoolDeleted, filterEventFilterPoolRenamed, filterEventFilterPoolsRePositioned, filterEventFilterRenamed, filterEventFiltersRePositioned, filterEventFilterStringCreated, filterEventFilterStringDeleted, filterEventFilterStringsRePositioned, filterEventFilterStringUpdated, filterEventFilterUpdated, fireEvent, fireEvent, fireEvent, fireSubSystemEvent, fireSubSystemEvent, fireSubSystemEvent, fireSubSystemFilterEvent, fireSubSystemFilterEvent, fireSubSystemFilterEvent, fireSubSystemFilterEvent, fireSubSystemFilterEvent, fireSubSystemFilterEvent, getActiveFilterPoolManagers, getAdapter, getCategory, getConnectingMessage, getDefaultFilterPool, getDefaultFilterPoolName, getDefaultSystemFilterPool, getDefaultSystemFilterPool, getDescription, getDisconnectingMessage, getFilterPool, getFilterPoolManager, getFilterPoolManager, getFilterPoolManager, getFilterPoolManager, getFilterPoolManager, getFilterPoolManagerList, getFilterPoolManagerName, getFilterPoolManagers, getFilterPools, getGraphicsImage, getGraphicsLiveImage, getId, getImage, getLiveImage, getName, getNewFilterWizardPoolWrapperInformation, getReferencableSystemFilterPoolManagers, getServerLauncherForm, getSubSystemConfigurationProxy, getSubSystemList, getSubSystemPropertyPageCoreFrom, getSubSystemPropertyPages, getSubSystems, getSubSystems, getSubSystems, getSubSystems, getSystemFilterPoolForBrokenReference, getSystemFilterPoolManager, getSystemFilterPoolManagers, getSystemProfile, getSystemProfile, getSystemProfile, getSystemProfile, getSystemProfileName, getSystemTypes, getUserIdValidator, getVendor, handleException, initializeSubSystem, internalGetSubSystemName, internalGetSubSystems, invalidateFilterCache, invalidateSubSystemCache, isDirty, isSubSystemsDeletable, isUserPrivateProfile, needsUpdate, preTestRenameSubSystemProfile, providesCustomDropInFilters, removeSubSystem, renameFilterPoolManager, renameSubSystem, renameSubSystemProfile, renameSubSystemsByConnection, reset, restoreAllFilterPoolManagersForAllProfiles, saveFilterPools, saveFilterPools, saveSubSystem, saveSubSystems, saveSubSystems, setConnection, setCurrentSelection, setDirty, setShowFilterPools, setSubSystemConfigurationProxy, setSubSystemPort, setSubSystemUserId, setWasRestored, showChangeFilterStringsPropertyPage, showFilterPools, showGenericShowInTableOnFilter, showRefreshOnFilter, subSystemsHaveBeenRestored, supportsCompileActions, supportsDropInFilters, supportsFileTypes, supportsFilterCaching, supportsFilterChildren, supportsMultipleFilterStrings, supportsQuickFilters, supportsServerLaunchType, supportsTargets, supportsUserDefinedActions, supportsUserDefinedActions, testForActiveReferences, toString, updateSubSystem, wasRestored
 
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.rse.core.subsystems.ISubSystemConfiguration
changingSystemProfileActiveStatus, cloneSubSystem, commit, copyFilterPoolManager, createServerLauncher, createSubSystem, createSubSystemAfterTheFact, deleteSubSystem, deleteSubSystemsByConnection, deletingSystemProfile, disconnectAllSubSystems, getCategory, getDefaultFilterPool, getDefaultSystemFilterPool, getDescription, getFilterPoolManager, getFilterPoolManagerList, getId, getName, getSubSystemConfigurationProxy, getSubSystemList, getSubSystems, getSubSystems, getSystemProfile, getSystemProfile, getSystemTypes, getTranslatedFilterTypeProperty, getVendor, isCaseSensitive, isPortEditable, isSubSystemsDeletable, preTestRenameSubSystemProfile, providesCustomDropInFilters, renameFilterPoolManager, renameSubSystem, renameSubSystemProfile, renameSubSystemsByConnection, reset, saveSubSystem, setConnection, setCurrentSelection, setShowFilterPools, setSubSystemConfigurationProxy, setSubSystemPort, setSubSystemUserId, showChangeFilterStringsPropertyPage, showFilterPools, showGenericShowInTableOnFilter, showRefreshOnFilter, supportsCompileActions, supportsDropInFilters, supportsFileTypes, supportsFilterCaching, supportsFilterChildren, supportsFilterStringExport, supportsMultipleFilterStrings, supportsMultiStringFilters, supportsNestedFilters, supportsProperties, supportsQuickFilters, supportsServerLaunchType, supportsSubSystemConnect, supportsTargets, supportsUserDefinedActions, testForActiveReferences, updateSubSystem
 
Methods inherited from interface org.eclipse.rse.core.filters.ISystemFilterPoolManagerProvider
filterEventFilterCreated, filterEventFilterDeleted, filterEventFilterPoolCreated, filterEventFilterPoolDeleted, filterEventFilterPoolRenamed, filterEventFilterPoolsRePositioned, filterEventFilterRenamed, filterEventFiltersRePositioned, filterEventFilterStringCreated, filterEventFilterStringDeleted, filterEventFilterStringsRePositioned, filterEventFilterStringUpdated, filterEventFilterUpdated, getReferencableSystemFilterPoolManagers, getSystemFilterPoolForBrokenReference, getSystemFilterPoolManager, getSystemFilterPoolManagers
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.rse.core.persistance.IRSEPersistableContainer
isDirty, setDirty, setWasRestored, wasRestored
 

Field Detail

_isWindows

protected boolean _isWindows
Constructor Detail

DStoreShellSubSystemConfiguration

public DStoreShellSubSystemConfiguration()
Method Detail

isFactoryFor

public boolean isFactoryFor(Class subSystemType)
Description copied from interface: ISubSystemConfiguration
Determines whether this factory is responsible for the creation of subsytems of the specified type Subsystem factories should override this to indicate which subsystems they support.

Specified by:
isFactoryFor in interface ISubSystemConfiguration
Overrides:
isFactoryFor in class SubSystemConfiguration
Parameters:
subSystemType - type of subsystem
Returns:
whether this factory is for the specified subsystemtype

createSubSystemInternal

public ISubSystem createSubSystemInternal(IHost host)
Instantiate and return an instance of OUR subystem. Do not populate it yet though!

Specified by:
createSubSystemInternal in interface ISubSystemConfiguration
Specified by:
createSubSystemInternal in class SubSystemConfiguration
See Also:
SubSystemConfiguration.createSubSystemInternal(IHost)

supportsFilters

public boolean supportsFilters()
Description copied from interface: ISubSystemConfiguration
Required method for subsystem factory child classes. Return true if you support filters, false otherwise. If you support filters, then some housekeeping will be done for you automatically. Specifically, they will be saved and restored for you automatically.

Returns true in default implementation.

See Also:
SubSystemConfiguration.supportsFilters()

getConnectorService

public IConnectorService getConnectorService(IHost host)
Description copied from interface: ISubSystemConfiguration
Find or create a connector service for this host


setConnectorService

public void setConnectorService(IHost host,
                                IConnectorService connectorService)

createShellService

public IShellService createShellService(IHost host)

supportsCommands

public boolean supportsCommands()
Description copied from interface: ISubSystemConfiguration
Return true if subsystem instances from this factory support remote command execution

Returns false in default implementation, and is usually only true for command subsystems.

See Also:
SubSystemConfiguration.supportsCommands()

canRunCommand

public boolean canRunCommand()

createRemoteCommandShell

public IServiceCommandShell createRemoteCommandShell(IRemoteCmdSubSystem cmdSS,
                                                     IHostShell hostShell)
Specified by:
createRemoteCommandShell in interface IShellServiceSubSystemConfiguration
Overrides:
createRemoteCommandShell in class ShellServiceSubSystemConfiguration

getServiceImplType

public Class getServiceImplType()

RSE
Release 1.0

Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.