Package com.caucho.services.server
Class GenericService
- java.lang.Object
-
- com.caucho.services.server.GenericService
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.servlet.ServletConfigconfig
-
Constructor Summary
Constructors Constructor Description GenericService()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voiddestroy()Cleanup the service instance.StringgetInitParameter(String name)Returns the named initialization parameter.StringgetObjectId()Returns the object identifier for the request.javax.servlet.ServletRequestgetRequest()Returns the servlet request object for the request.StringgetServiceId()Deprecated.StringgetServiceName()Returns the service identifier for the request.javax.servlet.ServletConfiggetServletConfig()Returns the servlet context.javax.servlet.ServletContextgetServletContext()Returns the servlet context.voidinit()Initialize the service instance.voidinit(javax.servlet.ServletConfig config)Initialize the service instance.voidlog(String message)Logs a message to the error stream.
-
-
-
Method Detail
-
init
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletExceptionInitialize the service instance.
-
init
public void init() throws javax.servlet.ServletExceptionInitialize the service instance.- Throws:
javax.servlet.ServletException
-
getInitParameter
public String getInitParameter(String name)
Returns the named initialization parameter.
-
getServletConfig
public javax.servlet.ServletConfig getServletConfig()
Returns the servlet context.
-
getServletContext
public javax.servlet.ServletContext getServletContext()
Returns the servlet context.
-
log
public void log(String message)
Logs a message to the error stream.
-
getRequest
public javax.servlet.ServletRequest getRequest()
Returns the servlet request object for the request.
-
getServiceName
public String getServiceName()
Returns the service identifier for the request.
-
getServiceId
public String getServiceId()
Deprecated.Returns the service identifier for the request.
-
getObjectId
public String getObjectId()
Returns the object identifier for the request.
-
-