Enhydra 5.1 API

com.lutris.multiServer
Interface Service

All Known Implementing Classes:
ServletContainer

public interface Service

This interface is a temporary placeholder until we design a real service interface based on J2EE or XS or something else.

Author:
Shawn McMurdo

Method Summary
 void init(java.lang.String config)
          Initialize the service.
 void start()
          Starts the service.
 void stop()
          Stops the service.
 

Method Detail

init

public void init(java.lang.String config)
Initialize the service. Passes a configuration string to the service, which is used in a service dependent way. This could be a configuration file name or URL.

Parameters:
config - a configuration string which is service dependent.

start

public void start()
Starts the service.


stop

public void stop()
Stops the service.


Enhydra 5.1 API