it.eng.spagobi.engines.birt
Class BirtReportServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by it.eng.spagobi.engines.birt.BirtReportServletODA
              extended by it.eng.spagobi.engines.birt.BirtReportServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class BirtReportServlet
extends BirtReportServletODA

See Also:
Serialized Form

Field Summary
 
Fields inherited from class it.eng.spagobi.engines.birt.BirtReportServletODA
logger, publicKeyDSASbi, securityAble
 
Constructor Summary
BirtReportServlet()
           
 
Method Summary
 java.sql.Connection getConnection(java.lang.String connectionName)
          This methos see in spagbi.xml config file ( in section if a connection is configured if null is pass to this method a default datasource is returned if exist
private  java.sql.Connection getConnectionFromJndiDS(org.dom4j.Node conDesc)
          Get the connection from JNDI
private  java.sql.Connection getDirectConnection(org.dom4j.Node conDesc)
          Get the connection using jdbc (connection string direct to database)
 void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class it.eng.spagobi.engines.birt.BirtReportServletODA
authenticate, init
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BirtReportServlet

public BirtReportServlet()
Method Detail

service

public void service(javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response)
             throws java.io.IOException,
                    javax.servlet.ServletException
Overrides:
service in class BirtReportServletODA
Throws:
java.io.IOException
javax.servlet.ServletException

getConnection

public java.sql.Connection getConnection(java.lang.String connectionName)
This methos see in spagbi.xml config file ( in section if a connection is configured if null is pass to this method a default datasource is returned if exist

Parameters:
connectionName -
Returns:

getConnectionFromJndiDS

private java.sql.Connection getConnectionFromJndiDS(org.dom4j.Node conDesc)
Get the connection from JNDI

Parameters:
conDesc - Xml node describing data connection
Returns:
Connection to database

getDirectConnection

private java.sql.Connection getDirectConnection(org.dom4j.Node conDesc)
Get the connection using jdbc (connection string direct to database)

Parameters:
conDesc - Xml node describing data connection
Returns:
Connection to database