|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
public interface Service
Interface for a service lifecycle.
The lifecycle for a service starts with the init
method when the service starts.
myService.init(config);
...
myService.hello();
...
myService.hello();
...
myService.destroy();
方法摘要 | |
---|---|
void |
destroy()
Cleanup the service instance. |
void |
init(ServletConfig config)
Initialize the service instance. |
方法详细信息 |
---|
void init(ServletConfig config) throws ServletException
config
- the configuration for the service.
ServletException
void destroy()
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |