portal.plugin.jdbc
Class PortalTransactionalJdbcPlugin

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

public class PortalTransactionalJdbcPlugin
extends A_PortalJdbcPlugin

A JDBC plugin to access SQL database with transaction support.

Version:
$Revision: 1.1 $
Author:
Thomas Weckert

Constructor Summary
PortalTransactionalJdbcPlugin()
           
 
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

PortalTransactionalJdbcPlugin

public PortalTransactionalJdbcPlugin()
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)

getConnection

public java.sql.Connection getConnection()
                                  throws java.lang.Exception
Throws:
java.lang.Exception
See Also:
portal.plugin.A_PortalPlugin#getConnection()

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()