org.gcube.common.ghn.service
Class ServiceManager

java.lang.Object
  extended by org.gcube.common.ghn.service.ServiceManager

public class ServiceManager
extends Object

Starts and stops management functions for a given service.

Author:
Fabio Simeoni

Constructor Summary
ServiceManager()
           
 
Method Summary
 void start(javax.servlet.ServletContext ctx)
          Starts service management functions.
 void stop(javax.servlet.ServletContext ctx)
          Stops management functions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceManager

public ServiceManager()
Method Detail

start

public void start(javax.servlet.ServletContext ctx)
           throws RuntimeException
Starts service management functions.

Parameters:
ctx - the context of the service
Throws:
RuntimeException - if the management cannot be started

stop

public void stop(javax.servlet.ServletContext ctx)
Stops management functions.

Parameters:
ctx - the service context


Copyright © 2012. All Rights Reserved.