Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

RSE
Release 3.0

org.eclipse.rse.subsystems.shells.local
Class LocalShellSubSystemConfiguration


java.lang.Object
  extended by 

org.eclipse.rse.core.subsystems.SubSystemConfiguration
      extended by 

org.eclipse.rse.subsystems.shells.core.subsystems.RemoteCmdSubSystemConfiguration
          extended by 

org.eclipse.rse.subsystems.shells.core.subsystems.servicesubsystem.ShellServiceSubSystemConfiguration
              extended by 
org.eclipse.rse.subsystems.shells.local.LocalShellSubSystemConfiguration
All Implemented Interfaces:
IAdaptable, ISystemFilterPoolManagerProvider, IRSEPersistableContainer, ISubSystemConfiguration, IRemoteCmdSubSystemConfiguration, IShellServiceSubSystemConfiguration

public class LocalShellSubSystemConfiguration
extends ShellServiceSubSystemConfiguration


Field Summary
 
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
LocalShellSubSystemConfiguration ()
           
 
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.
  String getCommandSeparator ()
          Return in string format the character used to separate commands.
  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.
 boolean supportsSubSystemConnect ()
          Returns false
 
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, getTranslatedFilterTypeProperty, isCaseSensitive, supportsDuplicateFilterStrings, supportsEnvironmentVariablesPropertyPage, supportsFilterStringExport, supportsMultiStringFilters, supportsNestedFilters
 
Methods inherited from class org.eclipse.rse.core.subsystems. SubSystemConfiguration
addFilterPoolManager, addSubSystem, beginRestore, changingSystemProfileActiveStatus, cloneEvent, cloneSubSystem, commit, copyFilterPoolManager, copySubSystemData, createEvent, createEvent, createEvent, createServerLauncher, createSubSystem, createSubSystemAfterTheFact, deleteFilterPoolManager, deleteSubSystem, deleteSubSystemsByConnection, deletingSystemProfile, disconnectAllSubSystems, doPostRestoreProcessing, endRestore, 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, getAllSystemFilterPoolManagers, getCategory, getConnectingMessage, getDefaultFilterPool, getDefaultFilterPoolName, getDefaultSystemFilterPool, getDefaultSystemFilterPool, getDescription, getDisconnectingMessage, getFilterPool, getFilterPoolManager, getFilterPoolManager, getFilterPoolManager, getFilterPoolManager, getFilterPoolManager, getFilterPoolManager, getFilterPoolManagerList, getFilterPoolManagerName, getFilterPoolManagers, getFilterPools, getId, getName, getNewFilterWizardPoolWrapperInformation, getPersistableChildren, getPersistableParent, getReferencableSystemFilterPoolManagers, getSubSystemConfigurationProxy, getSubSystemList, getSubSystems, getSubSystems, getSubSystems, getSubSystems, getSystemFilterPoolForBrokenReference, getSystemFilterPoolManager, getSystemFilterPoolManagers, getSystemProfile, getSystemProfile, getSystemProfile, getSystemProfile, getSystemProfileName, getSystemTypes, getVendor, handleException, initializeSubSystem, internalGetSubSystemName, internalGetSubSystems, invalidateFilterCache, invalidateSubSystemCache, isDirty, isPortEditable, isSubSystemsDeletable, isTainted, isUserPrivateProfile, needsUpdate, preTestRenameSubSystemProfile, providesCustomDropInFilters, removeSubSystem, renameFilterPoolManager, renameSubSystem, renameSubSystemProfile, renameSubSystemProfile, renameSubSystemsByConnection, reset, saveFilterPools, saveFilterPools, saveSubSystem, saveSubSystems, saveSubSystems, setConnection, setCurrentSelection, setDirty, setShowFilterPools, setSubSystemConfigurationProxy, setSubSystemPort, setSubSystemUserId, setTainted, setWasRestored, showChangeFilterStringsPropertyPage, showFilterPools, showGenericShowInTableOnFilter, showRefreshOnFilter, subSystemsHaveBeenRestored, supportsDeferredQueries, supportsDropInFilters, supportsEncoding, supportsFileTypes, supportsFilterCaching, supportsFilterChildren, supportsMultipleFilterStrings, supportsProperties, supportsQuickFilters, supportsServerLaunchType, supportsTargets, 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
supportsEnvironmentVariablesPropertyPage
 
Methods inherited from interface org.eclipse.rse.core.subsystems. ISubSystemConfiguration
changingSystemProfileActiveStatus, cloneSubSystem, commit, copyFilterPoolManager, createServerLauncher, createSubSystem, createSubSystemAfterTheFact, deleteSubSystem, deleteSubSystemsByConnection, deletingSystemProfile, disconnectAllSubSystems, getAllSystemFilterPoolManagers, getCategory, getDefaultFilterPool, getDefaultSystemFilterPool, getDescription, getFilterPoolManager, getFilterPoolManager, getFilterPoolManagerList, getId, getName, getSubSystemConfigurationProxy, getSubSystemList, getSubSystems, getSubSystems, getSystemProfile, getSystemProfile, getSystemTypes, getTranslatedFilterTypeProperty, getVendor, isCaseSensitive, isPortEditable, isSubSystemsDeletable, preTestRenameSubSystemProfile, providesCustomDropInFilters, renameFilterPoolManager, renameSubSystem, renameSubSystemProfile, renameSubSystemProfile, renameSubSystemsByConnection, reset, saveSubSystem, setConnection, setCurrentSelection, setShowFilterPools, setSubSystemConfigurationProxy, setSubSystemPort, setSubSystemUserId, showChangeFilterStringsPropertyPage, showFilterPools, showGenericShowInTableOnFilter, showRefreshOnFilter, supportsDeferredQueries, supportsDropInFilters, supportsEncoding, supportsFileTypes, supportsFilterCaching, supportsFilterChildren, supportsFilterStringExport, supportsMultipleFilterStrings, supportsMultiStringFilters, supportsNestedFilters, supportsProperties, supportsQuickFilters, supportsServerLaunchType, supportsTargets, 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.model. IRSEPersistableContainer
getPersistableChildren, getPersistableParent, isDirty, isTainted, setDirty, setTainted, setWasRestored, wasRestored
 

Constructor Detail

LocalShellSubSystemConfiguration

public LocalShellSubSystemConfiguration()
Method Detail

getCommandSeparator

public 
String getCommandSeparator()
Description copied from interface: IRemoteCmdSubSystemConfiguration
Return in string format the character used to separate commands. Eg, ";" or "&"

Specified by:
getCommandSeparator in interface IRemoteCmdSubSystemConfiguration
Overrides:
getCommandSeparator in class RemoteCmdSubSystemConfiguration
Returns:
command separator String

isFactoryFor

public boolean isFactoryFor(
Class subSystemType)
Description copied from class: SubSystemConfiguration
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.

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

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

supportsFilters

public boolean supportsFilters()
Description copied from class: RemoteCmdSubSystemConfiguration
Test if filters are supported. We return false.

Specified by:
supportsFilters in interface ISubSystemConfiguration
Overrides:
supportsFilters in class RemoteCmdSubSystemConfiguration
Returns:
true to indicate that Filters are supported by default.
See Also:
SubSystemConfiguration.supportsFilters()

supportsSubSystemConnect

public boolean supportsSubSystemConnect()
Returns false

Specified by:
supportsSubSystemConnect in interface ISubSystemConfiguration
Overrides:
supportsSubSystemConnect in class SubSystemConfiguration
See Also:
SubSystemConfiguration.supportsSubSystemConnect()

getConnectorService

public 
IConnectorService getConnectorService(
IHost host)
Description copied from class: SubSystemConfiguration
Get the connector service for a particular host. This may create the connector service if necessary. If the configuration is a service subsystem configuration, this should return the connector service specified in ISubSystemConfiguration.setConnectorService(IHost, IConnectorService).

This default implementation returns null. Service subsystem configurations must override as defined in the interface.

Specified by:
getConnectorService in interface ISubSystemConfiguration
Overrides:
getConnectorService in class SubSystemConfiguration
Parameters:
host - the host for which to create or retrieve the connector service
Returns:
the connector service associated with this host. This can return null if there is no connector service associated with this configuration. It is recommended that there be a connector service if ISubSystemConfiguration.supportsSubSystemConnect() is true.
See Also:
ISubSystemConfiguration.getConnectorService(IHost)

createShellService

public 
IShellService createShellService(
IHost host)

supportsCommands

public boolean supportsCommands()
Description copied from class: RemoteCmdSubSystemConfiguration
We return true.

Specified by:
supportsCommands in interface ISubSystemConfiguration
Overrides:
supportsCommands in class RemoteCmdSubSystemConfiguration
See Also:
SubSystemConfiguration.supportsCommands()

canRunCommand

public boolean canRunCommand()

setConnectorService

public void setConnectorService(
IHost host,
                                
IConnectorService connectorService)
Description copied from class: SubSystemConfiguration
Set the connector service for a particular host. This is usually managed by a connector service manager known to this configuration. This must be implemented by service subsystem configurations. Service subsystems allow a connector service to be changed.

This default implementation does nothing. Service subsystems must override as defined in the interface.

Specified by:
setConnectorService in interface ISubSystemConfiguration
Overrides:
setConnectorService in class SubSystemConfiguration
Parameters:
host - the host for which to set this connector service.
connectorService - the connector service associated with this host.
See Also:
ISubSystemConfiguration.setConnectorService(IHost, IConnectorService)

getServiceImplType

public 
Class getServiceImplType()
Description copied from class: SubSystemConfiguration
Get the implementation type of the service associated with this subsystem configuration. If the configuration is not a service subsystem configuration then this must return 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.

Specified by:
getServiceImplType in interface ISubSystemConfiguration
Overrides:
getServiceImplType in class SubSystemConfiguration
Returns:
an implementation class that implements the interface specified in ISubSystemConfiguration.getServiceType(), or null if this is not a service subsystem configuration.
See Also:
ISubSystemConfiguration.getServiceImplType()

createRemoteCommandShell

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

RSE
Release 3.0

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

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire