public interface Service
The lifecycle for a service starts with the init method when the service starts. myService.init(config); ... myService.hello(); ... myService.hello(); ... myService.destroy();
init
myService.init(config); ... myService.hello(); ... myService.hello(); ... myService.destroy();
void
destroy()
init(javax.servlet.ServletConfig config)
void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
config
javax.servlet.ServletException
void destroy()