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

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.services.dstore
Class AbstractDStoreService

java.lang.Object
  extended by 

org.eclipse.core.runtime.PlatformObject
      extended by 

org.eclipse.rse.services.AbstractService
          extended by 
org.eclipse.rse.services.dstore.AbstractDStoreService
All Implemented Interfaces:
IAdaptable, IDStoreService, IService

public abstract class AbstractDStoreService
extends AbstractService
implements IDStoreService


Field Summary
protected   Map _cmdDescriptorMap
           
protected  org.eclipse.dstore.core.model.IDataStoreProvider _dataStoreProvider
           
protected  org.eclipse.dstore.core.model.DataElement _initializeStatus
           
protected  org.eclipse.dstore.core.model.DataElement _minerElement
           
protected   DStoreStatusMonitor _statusMonitor
           
 
Constructor Summary
AbstractDStoreService (org.eclipse.dstore.core.model.IDataStoreProvider dataStoreProvider)
           
 
Method Summary
protected  void checkHostJVM ()
           
protected  org.eclipse.dstore.core.model.DataElement[] dsQueryCommand (org.eclipse.dstore.core.model.DataElement subject, ArrayList args, String command, IProgressMonitor monitor)
          query the the remote system
protected  org.eclipse.dstore.core.model.DataElement[] dsQueryCommand (org.eclipse.dstore.core.model.DataElement subject, String command, IProgressMonitor monitor)
           
protected   List dsQueryCommandMulti (org.eclipse.dstore.core.model.DataElement[] subjects, ArrayList[] argses, String[] commands, IProgressMonitor monitor)
          Query multiple subjects in one shot
protected   List dsQueryCommandMulti (org.eclipse.dstore.core.model.DataElement[] subjects, String[] commands, IProgressMonitor monitor)
           
protected  org.eclipse.dstore.core.model.DataElement dsStatusCommand (org.eclipse.dstore.core.model.DataElement subject, ArrayList args, String command, IProgressMonitor monitor)
           
protected  org.eclipse.dstore.core.model.DataElement dsStatusCommand (org.eclipse.dstore.core.model.DataElement subject, String command, IProgressMonitor monitor)
           
protected  org.eclipse.dstore.core.model.DataElement getCommandDescriptor (org.eclipse.dstore.core.model.DataElement subject, String command)
           
 org.eclipse.dstore.core.model.DataStore getDataStore ()
           
protected  org.eclipse.dstore.core.model.DataElement getMinerElement ()
           
protected  org.eclipse.dstore.core.model.DataElement getMinerElement ( String id)
           
protected abstract   String getMinerId ()
           
 int getServerMinor ()
           
 int getServerVersion ()
           
  DStoreStatusMonitor getStatusMonitor (org.eclipse.dstore.core.model.DataStore dataStore)
           
protected  void initMiner ( IProgressMonitor monitor)
           
 void initService ( IProgressMonitor monitor)
          Default implementation of initService.
 boolean isInitialized ()
           
 void uninitService ( IProgressMonitor monitor)
          Default implementation of uninitService.
protected  void waitForInitialize ( IProgressMonitor monitor)
           
 
Methods inherited from class org.eclipse.rse.services. AbstractService
getDescription, getName
 
Methods inherited from class org.eclipse.core.runtime. PlatformObject
getAdapter
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.core.runtime. IAdaptable
getAdapter
 

Field Detail

_dataStoreProvider

protected org.eclipse.dstore.core.model.IDataStoreProvider _dataStoreProvider

_minerElement

protected org.eclipse.dstore.core.model.DataElement _minerElement

_statusMonitor

protected 
DStoreStatusMonitor _statusMonitor

_cmdDescriptorMap

protected 
Map _cmdDescriptorMap

_initializeStatus

protected org.eclipse.dstore.core.model.DataElement _initializeStatus
Constructor Detail

AbstractDStoreService

public AbstractDStoreService(org.eclipse.dstore.core.model.IDataStoreProvider dataStoreProvider)
Parameters:
dataStoreProvider -
Since:
3.0 got rid of ISystemMessageProvider argument
Method Detail

getStatusMonitor

public 
DStoreStatusMonitor getStatusMonitor(org.eclipse.dstore.core.model.DataStore dataStore)

getDataStore

public org.eclipse.dstore.core.model.DataStore getDataStore()

getMinerElement

protected org.eclipse.dstore.core.model.DataElement getMinerElement()

getMinerElement

protected org.eclipse.dstore.core.model.DataElement getMinerElement(
String id)

dsQueryCommand

protected org.eclipse.dstore.core.model.DataElement[] dsQueryCommand(org.eclipse.dstore.core.model.DataElement subject,
                                                                     
String command,
                                                                     
IProgressMonitor monitor)

dsQueryCommand

protected org.eclipse.dstore.core.model.DataElement[] dsQueryCommand(org.eclipse.dstore.core.model.DataElement subject,
                                                                     
ArrayList args,
                                                                     
String command,
                                                                     
IProgressMonitor monitor)
query the the remote system

Parameters:
subject - the subject of the query
args - the arguments for the query
command - the query command
monitor -
Returns:
the array of results

dsQueryCommandMulti

protected 
List dsQueryCommandMulti(org.eclipse.dstore.core.model.DataElement[] subjects,
                                   
String[] commands,
                                   
IProgressMonitor monitor)
Since:
3.0

dsQueryCommandMulti

protected 
List dsQueryCommandMulti(org.eclipse.dstore.core.model.DataElement[] subjects,
                                   
ArrayList[] argses,
                                   
String[] commands,
                                   
IProgressMonitor monitor)
Query multiple subjects in one shot

Parameters:
subjects - the subjects to query
commands - the query commands
argses - arguments for the command - may be null
monitor - the progress monitor
Returns:
a list of DataElement[]s containing the results of each query
Since:
3.0

dsStatusCommand

protected org.eclipse.dstore.core.model.DataElement dsStatusCommand(org.eclipse.dstore.core.model.DataElement subject,
                                                                    
ArrayList args,
                                                                    
String command,
                                                                    
IProgressMonitor monitor)

dsStatusCommand

protected org.eclipse.dstore.core.model.DataElement dsStatusCommand(org.eclipse.dstore.core.model.DataElement subject,
                                                                    
String command,
                                                                    
IProgressMonitor monitor)

getCommandDescriptor

protected org.eclipse.dstore.core.model.DataElement getCommandDescriptor(org.eclipse.dstore.core.model.DataElement subject,
                                                                         
String command)

getServerVersion

public int getServerVersion()

getServerMinor

public int getServerMinor()

checkHostJVM

protected void checkHostJVM()

isInitialized

public boolean isInitialized()

waitForInitialize

protected void waitForInitialize(
IProgressMonitor monitor)

initService

public void initService(
IProgressMonitor monitor)
                 throws 
SystemMessageException
Description copied from class: AbstractService
Default implementation of initService. Extenders who override this method must call super.initService(monitor) as the first call in their implementation.

Specified by:
initService in interface IService
Overrides:
initService in class AbstractService
Parameters:
monitor - A progress monitor to provide progress of long-running operation. There is no guarantee that cancellation is actually supported by a Service since it would leave the service in a potentially inconsistent, partially initialized state.
Throws:
SystemMessageException - if an error occurs during initialization.

uninitService

public void uninitService(
IProgressMonitor monitor)
Description copied from class: AbstractService
Default implementation of uninitService. Extenders who override this method must call super.uninitService(monitor) as the last call in their implementation.

Specified by:
uninitService in interface IService
Overrides:
uninitService in class AbstractService
Parameters:
monitor - A progress monitor to provide progress of long-running operation. There is no guarantee that cancellation is actually supported by a Service since it would leave the service in a potentially inconsistent, partially initialized state.

initMiner

protected void initMiner(
IProgressMonitor monitor)

getMinerId

protected abstract 
String getMinerId()

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