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 app.

Author:
Fabio Simeoni

Constructor Summary
ServiceManager()
           
 
Method Summary
 void start(javax.servlet.ServletContext ctx)
          Starts app 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 app management functions.

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

stop

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

Parameters:
ctx - the app context


Copyright © 2013. All Rights Reserved.