ArcGIS Server Geoportal extension
10

com.esri.gpt.catalog.arcims
Class StartStopWindowsService

java.lang.Object
  extended by com.esri.gpt.catalog.arcims.StartStopWindowsService

public class StartStopWindowsService
extends Object

Used to start / stop a windows service


Constructor Summary
StartStopWindowsService()
           
 
Method Summary
 boolean execute(String sCommand, String sServiceName)
          Executes command to start/stop windows service
static StartStopWindowsService getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StartStopWindowsService

public StartStopWindowsService()
Method Detail

getInstance

public static StartStopWindowsService getInstance()

execute

public boolean execute(String sCommand,
                       String sServiceName)
                throws ApplicationException
Executes command to start/stop windows service

Throws:
ApplicationException

ArcGIS Server Geoportal extension
10

Copyright 2010 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.