portal.plugin.jdbc
Class PortalJdbcPlugin

java.lang.Object
  extended byportal.plugin.A_PortalPlugin
      extended byportal.plugin.jdbc.A_PortalJdbcPlugin
          extended byportal.plugin.jdbc.PortalJdbcPlugin
All Implemented Interfaces:
I_PortalPlugin

public class PortalJdbcPlugin
extends A_PortalJdbcPlugin

A JDBC plugin to access SQL database.

Version:
$Revision: 1.17 $
Author:
Thomas Weckert

Constructor Summary
PortalJdbcPlugin()
           
 
Method Summary
 void destroy()
           
 java.sql.Connection getConnection()
           
 void init(PortalShell portalShell, PortalProcessXPathEvaluator pocessXPathEvaluator, PortalMapping mapping)
           
 void init(PortalShell portalShell, PortalProcessXPathEvaluator processXPathEvaluator, PortalMapping mapping, I_PortalTransactionalResource transaction)
           
 
Methods inherited from class portal.plugin.jdbc.A_PortalJdbcPlugin
execute
 
Methods inherited from class portal.plugin.A_PortalPlugin
getPluginMapping, getPortalShell, getProcessXPathEvaluator, getTransaction
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalJdbcPlugin

public PortalJdbcPlugin()
Method Detail

init

public void init(PortalShell portalShell,
                 PortalProcessXPathEvaluator pocessXPathEvaluator,
                 PortalMapping mapping)
          throws PortalException
Specified by:
init in interface I_PortalPlugin
Overrides:
init in class A_PortalJdbcPlugin
Throws:
PortalException
See Also:
I_PortalPlugin.init(PortalShell, PortalProcessXPathEvaluator, portal.plugin.mapping.PortalMapping)

init

public void init(PortalShell portalShell,
                 PortalProcessXPathEvaluator processXPathEvaluator,
                 PortalMapping mapping,
                 I_PortalTransactionalResource transaction)
          throws PortalException
Specified by:
init in interface I_PortalPlugin
Overrides:
init in class A_PortalJdbcPlugin
Throws:
PortalException
See Also:
I_PortalPlugin.init(portal.main.PortalShell, PortalProcessXPathEvaluator, portal.plugin.mapping.PortalMapping, I_PortalTransactionalResource)

destroy

public void destroy()
             throws PortalException
Specified by:
destroy in interface I_PortalPlugin
Overrides:
destroy in class A_PortalPlugin
Throws:
PortalException
See Also:
I_PortalPlugin.destroy()

getConnection

public java.sql.Connection getConnection()
                                  throws java.lang.Exception
Throws:
java.lang.Exception