org.apache.axis.management

Class ServiceAdmin


public class ServiceAdmin
extends java.lang.Object

The ServiceControl Object is responsible for starting and stopping specific services
Version:
1.0
Author:
bdillon

Method Summary

static void
deployHandler(WSDDHandler handler)
static void
deployService(WSDDService service)
static void
deployTransport(WSDDTransport transport)
static AxisServer
getEngine()
Get the singleton engine for this management object
static WSDDGlobalConfiguration
getGlobalConfig()
static WSDDHandler
getHandler(QName qname)
static WSDDHandler[]
getHandlers()
static WSDDService
getService(QName qname)
static WSDDService[]
getServices()
static WSDDTransport
getTransport(QName qname)
static WSDDTransport[]
getTransports()
static String[]
listServices()
List all registered services
static void
restart()
static void
saveConfiguration()
static void
setEngine(AxisServer axisSrv, String name)
Set the singleton engine
static void
setGlobalConfig(WSDDGlobalConfiguration globalConfig)
static void
start()
static void
startService(String serviceName)
Start the Service
static void
stop()
static void
stopService(String serviceName)
Stop the Service
static void
undeployHandler(QName qname)
static void
undeployService(QName qname)
static void
undeployTransport(QName qname)

Method Details

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()
            throws AxisFault
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()
            throws AxisFault,
                   ConfigurationException
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)
            throws AxisFault,
                   ConfigurationException
Start the Service
Parameters:
serviceName -
Throws:
AxisFault - ConfigurationException

stop

public static void stop()

stopService

public static void stopService(String serviceName)
            throws AxisFault,
                   ConfigurationException
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 © 2005 Apache Web Services Project. All Rights Reserved.