|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
com.caucho.burlap.server.BurlapServlet
nl.knowledgeplaza.dh.service.ServiceImpl
public class ServiceImpl
| Field Summary | |
|---|---|
static java.lang.String |
SOURCECODE_VERSION
Standard variable for determining version of a class file. |
| Constructor Summary | |
|---|---|
ServiceImpl()
|
|
| Method Summary | |
|---|---|
boolean |
checkUserActive()
|
protected nl.knowledgeplaza.util.pool.ObjectPool |
getConnectionPool()
Get the database connection pool |
static nl.knowledgeplaza.util.pool.ObjectPool |
getConnectionPool(javax.servlet.http.HttpServletRequest request)
Get the database connection pool |
javax.servlet.http.HttpServletRequest |
getRequest()
Get the current request Unfortunately Hessian & Burlap are not based on HttpServlets but regular Servlets, so we need to force the issue a bit here. |
javax.servlet.http.HttpSession |
getSession()
Get the current session Unfortunately Hessian & Burlap are not based on HttpServlets but regular Servlets, so we need to force the issue a bit here. |
java.lang.String |
getUsername()
|
java.lang.String |
ping()
The other side of the ping |
void |
service(javax.servlet.ServletRequest r,
javax.servlet.ServletResponse r2)
Hook in to get the session Unfortunately Hessian & Burlap are not based on HttpServlets but regular Servlets, so we need to force the issue a bit here. |
boolean |
useMockHessian()
The service also can run in MOCK mode (skipping the Hessian communication layer). |
boolean |
useMockJdbc()
The service also can run in MOCK mode (that is not using running agains the oracle database but against HSQLDB using CSV tables). |
| Methods inherited from class com.caucho.burlap.server.BurlapServlet |
|---|
getServletInfo, init, setAPIClass, setService |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SOURCECODE_VERSION
| Constructor Detail |
|---|
public ServiceImpl()
| Method Detail |
|---|
public boolean useMockHessian()
public boolean useMockJdbc()
public java.lang.String ping()
ping in interface nl.knowledgeplaza.dh.service.Servicepublic javax.servlet.http.HttpSession getSession()
public javax.servlet.http.HttpServletRequest getRequest()
public void service(javax.servlet.ServletRequest r,
javax.servlet.ServletResponse r2)
throws java.io.IOException,
javax.servlet.ServletException
service in interface javax.servlet.Servletservice in class com.caucho.burlap.server.BurlapServletjava.io.IOException
javax.servlet.ServletExceptionpublic java.lang.String getUsername()
getUsername in interface nl.knowledgeplaza.dh.service.Servicepublic boolean checkUserActive()
checkUserActive in interface nl.knowledgeplaza.dh.service.Serviceprotected nl.knowledgeplaza.util.pool.ObjectPool getConnectionPool()
public static nl.knowledgeplaza.util.pool.ObjectPool getConnectionPool(javax.servlet.http.HttpServletRequest request)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||