|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectcom.caucho.services.server.GenericService
public class GenericService
Interface for a service, including lifecycle.
构造方法摘要 | |
---|---|
GenericService()
|
方法摘要 | |
---|---|
void |
destroy()
Cleanup the service instance. |
java.lang.String |
getInitParameter(java.lang.String name)
Returns the named initialization parameter. |
java.lang.String |
getObjectId()
Returns the object identifier for the request. |
ServletRequest |
getRequest()
Returns the servlet request object for the request. |
java.lang.String |
getServiceId()
已过时。 |
java.lang.String |
getServiceName()
Returns the service identifier for the request. |
ServletConfig |
getServletConfig()
Returns the servlet context. |
ServletContext |
getServletContext()
Returns the servlet context. |
void |
init()
Initialize the service instance. |
void |
init(ServletConfig config)
Initialize the service instance. |
void |
log(java.lang.String message)
Logs a message to the error stream. |
从类 java.lang.Object 继承的方法 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
构造方法详细信息 |
---|
public GenericService()
方法详细信息 |
---|
public void init(ServletConfig config) throws ServletException
Service
中的 init
config
- the configuration for the service.
ServletException
public void init() throws ServletException
ServletException
public java.lang.String getInitParameter(java.lang.String name)
public ServletConfig getServletConfig()
public ServletContext getServletContext()
public void log(java.lang.String message)
public ServletRequest getRequest()
public java.lang.String getServiceName()
public java.lang.String getServiceId()
public java.lang.String getObjectId()
public void destroy()
Service
中的 destroy
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |