|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.services.server.GenericService
Interface for a service, including lifecycle.
Field Summary | |
protected javax.servlet.ServletConfig |
config
|
Constructor Summary | |
GenericService()
|
Method Summary | |
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. |
javax.servlet.ServletRequest |
getRequest()
Returns the servlet request object for the request. |
java.lang.String |
getServiceId()
Deprecated. |
java.lang.String |
getServiceName()
Returns the service identifier for the request. |
javax.servlet.ServletConfig |
getServletConfig()
Returns the servlet context. |
javax.servlet.ServletContext |
getServletContext()
Returns the servlet context. |
void |
init()
Initialize the service instance. |
void |
init(javax.servlet.ServletConfig config)
Initialize the service instance. |
void |
log(java.lang.String message)
Logs a message to the error stream. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected javax.servlet.ServletConfig config
Constructor Detail |
public GenericService()
Method Detail |
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface Service
config
- the configuration for the service.
javax.servlet.ServletException
public void init() throws javax.servlet.ServletException
javax.servlet.ServletException
public java.lang.String getInitParameter(java.lang.String name)
public javax.servlet.ServletConfig getServletConfig()
public javax.servlet.ServletContext getServletContext()
public void log(java.lang.String message)
public javax.servlet.ServletRequest getRequest()
public java.lang.String getServiceName()
public java.lang.String getServiceId()
public java.lang.String getObjectId()
public void destroy()
destroy
in interface Service
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |