org.apache.axis.management

Class ServiceAdmin

public class ServiceAdmin extends Object

The ServiceControl Object is responsible for starting and stopping specific services

Version: 1.0

Author: bdillon

Method Summary
static voiddeployHandler(WSDDHandler handler)
static voiddeployService(WSDDService service)
static voiddeployTransport(WSDDTransport transport)
static AxisServergetEngine()
Get the singleton engine for this management object
static WSDDGlobalConfigurationgetGlobalConfig()
static WSDDHandlergetHandler(QName qname)
static WSDDHandler[]getHandlers()
static WSDDServicegetService(QName qname)
static WSDDService[]getServices()
static WSDDTransportgetTransport(QName qname)
static WSDDTransport[]getTransports()
static String[]listServices()
List all registered services
static voidrestart()
static voidsaveConfiguration()
static voidsetEngine(AxisServer axisSrv, String name)
Set the singleton engine
static voidsetGlobalConfig(WSDDGlobalConfiguration globalConfig)
static voidstart()
static voidstartService(String serviceName)
Start the Service
static voidstop()
static voidstopService(String serviceName)
Stop the Service
static voidundeployHandler(QName qname)
static voidundeployService(QName qname)
static voidundeployTransport(QName qname)

Method Detail

deployHandler

public static void deployHandler(WSDDHandler handler)

deployService

public static void deployService(WSDDService service)

deployTransport

public static void deployTransport(WSDDTransport transport)

getEngine

public static AxisServer getEngine()
Get the singleton engine for this management object

Returns:

Throws: AxisFault

getGlobalConfig

public static WSDDGlobalConfiguration getGlobalConfig()

getHandler

public static WSDDHandler getHandler(QName qname)

getHandlers

public static WSDDHandler[] getHandlers()

getService

public static WSDDService getService(QName qname)

getServices

public static WSDDService[] getServices()

getTransport

public static WSDDTransport getTransport(QName qname)

getTransports

public static WSDDTransport[] getTransports()

listServices

public static String[] listServices()
List all registered services

Returns: Map of Services (SOAPService objects, Key is the ServiceName)

Throws: AxisFault ConfigurationException

restart

public static void restart()

saveConfiguration

public static void saveConfiguration()

setEngine

public static void setEngine(AxisServer axisSrv, String name)
Set the singleton engine

Parameters: axisSrv

setGlobalConfig

public static void setGlobalConfig(WSDDGlobalConfiguration globalConfig)

start

public static void start()

startService

public static void startService(String serviceName)
Start the Service

Parameters: serviceName

Throws: AxisFault ConfigurationException

stop

public static void stop()

stopService

public static void stopService(String serviceName)
Stop the Service

Parameters: serviceName

Throws: AxisFault ConfigurationException

undeployHandler

public static void undeployHandler(QName qname)

undeployService

public static void undeployService(QName qname)

undeployTransport

public static void undeployTransport(QName qname)
Copyright B) 2005 Apache Web Services Project. All Rights Reserved.