RSE
Release 3.4

org.eclipse.rse.subsystems.processes.servicesubsystem
Class ProcessServiceSubSystemConfiguration

java.lang.Object
  extended by org.eclipse.rse.core.subsystems.SubSystemConfiguration
      extended by org.eclipse.rse.subsystems.processes.core.subsystem.impl.RemoteProcessSubSystemConfiguration
          extended by org.eclipse.rse.subsystems.processes.servicesubsystem.ProcessServiceSubSystemConfiguration
All Implemented Interfaces:
IAdaptable, ISystemFilterPoolManagerProvider, IRSEPersistableContainer, ISubSystemConfiguration, IRemoteProcessSubSystemConfiguration, IProcessServiceSubSystemConfiguration
Direct Known Subclasses:
DStoreProcessSubSystemConfiguration, LocalProcessSubSystemConfiguration, ShellProcessSubSystemConfiguration

public abstract class ProcessServiceSubSystemConfiguration
extends RemoteProcessSubSystemConfiguration
implements IProcessServiceSubSystemConfiguration

Factory for creating the ProcessServiceSubSystem and for getting the associated service and adapter.


Field Summary
protected  Map _services
           
 
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
protected ProcessServiceSubSystemConfiguration()
           
 
Method Summary
 IProcessService getProcessService(IHost host)
           
 IService getService(IHost host)
          Get the actual service associated with a particular host. This default implementation returns null.
 Class getServiceType()
          Get the service type associated with this subsystem configuration. This default implementation returns null.
 boolean supportsServerLaunchProperties(IHost host)
          Tell us if this subsystem configuration supports server launch properties, which allow the user to configure how the server-side code for these subsystems are started.
 
Methods inherited from class org.eclipse.rse.subsystems.processes.core.subsystem.impl.RemoteProcessSubSystemConfiguration
createDefaultFilterPool, getPortValidator, supportsNestedFilters, supportsServerLaunchProperties
 
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, createSubSystemInternal, 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, getConnectorService, getDefaultFilterPool, getDefaultFilterPoolName, getDefaultSystemFilterPool, getDefaultSystemFilterPool, getDescription, getDisconnectingMessage, getFilterPool, getFilterPoolManager, getFilterPoolManager, getFilterPoolManager, getFilterPoolManager, getFilterPoolManager, getFilterPoolManager, getFilterPoolManagerList, getFilterPoolManagerName, getFilterPoolManagers, getFilterPools, getId, getName, getNewFilterWizardPoolWrapperInformation, getPersistableChildren, getPersistableParent, getReferencableSystemFilterPoolManagers, getServiceImplType, getSubSystemConfigurationProxy, getSubSystemList, getSubSystems, getSubSystems, getSubSystems, getSubSystems, getSystemFilterPoolForBrokenReference, getSystemFilterPoolManager, getSystemFilterPoolManagers, getSystemProfile, getSystemProfile, getSystemProfile, getSystemProfile, getSystemProfileName, getSystemTypes, getTranslatedFilterTypeProperty, getVendor, handleException, initializeSubSystem, internalGetSubSystemName, internalGetSubSystems, invalidateFilterCache, invalidateSubSystemCache, isCaseSensitive, isDirty, isFactoryFor, isPortEditable, isSubSystemsDeletable, isTainted, isUserPrivateProfile, needsUpdate, preTestRenameSubSystemProfile, providesCustomDropInFilters, removeSubSystem, renameFilterPoolManager, renameSubSystem, renameSubSystemProfile, renameSubSystemProfile, renameSubSystemsByConnection, reset, saveFilterPools, saveFilterPools, saveSubSystem, saveSubSystems, saveSubSystems, setConnection, setConnectorService, setCurrentSelection, setDirty, setShowFilterPools, setSubSystemConfigurationProxy, setSubSystemPort, setSubSystemUserId, setTainted, setWasRestored, showChangeFilterStringsPropertyPage, showFilterPools, showGenericShowInTableOnFilter, showRefreshOnFilter, subSystemsHaveBeenRestored, supportsCommands, supportsDeferredQueries, supportsDropInFilters, supportsDuplicateFilterStrings, supportsEncoding, supportsFileTypes, supportsFilterCaching, supportsFilterChildren, supportsFilters, supportsFilterStringExport, supportsMultipleFilterStrings, supportsMultiStringFilters, supportsProperties, supportsQuickFilters, supportsServerLaunchType, supportsSubSystemConnect, 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.processes.servicesubsystem.IProcessServiceSubSystemConfiguration
createProcessService, getHostProcessAdapter
 
Methods inherited from interface org.eclipse.rse.core.subsystems.ISubSystemConfiguration
changingSystemProfileActiveStatus, cloneSubSystem, commit, copyFilterPoolManager, createServerLauncher, createSubSystem, createSubSystemAfterTheFact, createSubSystemInternal, deleteSubSystem, deleteSubSystemsByConnection, deletingSystemProfile, disconnectAllSubSystems, getAllSystemFilterPoolManagers, getCategory, getConnectorService, getDefaultFilterPool, getDefaultSystemFilterPool, getDescription, getFilterPoolManager, getFilterPoolManager, getFilterPoolManagerList, getId, getName, getServiceImplType, getSubSystemConfigurationProxy, getSubSystemList, getSubSystems, getSubSystems, getSystemProfile, getSystemProfile, getSystemTypes, getTranslatedFilterTypeProperty, getVendor, isCaseSensitive, isFactoryFor, isPortEditable, isSubSystemsDeletable, preTestRenameSubSystemProfile, providesCustomDropInFilters, renameFilterPoolManager, renameSubSystem, renameSubSystemProfile, renameSubSystemProfile, renameSubSystemsByConnection, reset, saveSubSystem, setConnection, setConnectorService, setCurrentSelection, setShowFilterPools, setSubSystemConfigurationProxy, setSubSystemPort, setSubSystemUserId, showChangeFilterStringsPropertyPage, showFilterPools, showGenericShowInTableOnFilter, showRefreshOnFilter, supportsCommands, supportsDeferredQueries, supportsDropInFilters, supportsEncoding, supportsFileTypes, supportsFilterCaching, supportsFilterChildren, supportsFilters, supportsFilterStringExport, supportsMultipleFilterStrings, supportsMultiStringFilters, supportsNestedFilters, supportsProperties, supportsQuickFilters, supportsServerLaunchType, supportsSubSystemConnect, 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
 

Field Detail

_services

protected Map _services
Constructor Detail

ProcessServiceSubSystemConfiguration

protected ProcessServiceSubSystemConfiguration()
Method Detail

getProcessService

public IProcessService getProcessService(IHost host)
Specified by:
getProcessService in interface IProcessServiceSubSystemConfiguration
Parameters:
host - The object representing the remote machine to which the process service is associated
Returns:
The process service associated with the host.

getServiceType

public final Class getServiceType()
Description copied from class: SubSystemConfiguration
Get the service type associated with this subsystem configuration. If the configuration is not a service subsystem configuration it must return null, otherwise it must return the interface class that the underlying service layer implements.

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

Specified by:
getServiceType in interface ISubSystemConfiguration
Overrides:
getServiceType in class SubSystemConfiguration
Returns:
an interface class that is implemented by the service layer used by subsystems that have this configuration, or null if this is not a service subsystem configuration.
See Also:
ISubSystemConfiguration.getServiceType()

supportsServerLaunchProperties

public boolean supportsServerLaunchProperties(IHost host)
Description copied from class: SubSystemConfiguration
Tell us if this subsystem configuration supports server launch properties, which allow the user to configure how the server-side code for these subsystems are started. There is a Server Launch Setting property page, with a pluggable composite, where users can configure these properties.

If you return true here, you may also want to override SubSystemConfiguration.supportsServerLaunchType(ServerLaunchType).
By default we return false here. This is overridden in UniversalFileSubSystemConfiguration though.

Specified by:
supportsServerLaunchProperties in interface ISubSystemConfiguration
Overrides:
supportsServerLaunchProperties in class SubSystemConfiguration

getService

public IService getService(IHost host)
Description copied from class: SubSystemConfiguration
Get the actual service associated with a particular host. If the configuration is not a service subsystem this must return null. Otherwise this must return the particular instance of the class returned by ISubSystemConfiguration.getServiceImplType() that is associated with this host instance.

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

Specified by:
getService in interface ISubSystemConfiguration
Overrides:
getService in class SubSystemConfiguration
Parameters:
host - The host for which to retrieve the service.
Returns:
The instance of IService which is associated with this host, or null if this is not a service subsystem configuration.
See Also:
ISubSystemConfiguration.getService(IHost)

RSE
Release 3.4

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