net.sourceforge.sqlunit.handlers
Class JndiHandler

java.lang.Object
  extended by net.sourceforge.sqlunit.handlers.ConstructorArgsHandler
      extended by net.sourceforge.sqlunit.handlers.JndiHandler
All Implemented Interfaces:
IHandler

public class JndiHandler
extends ConstructorArgsHandler

The JndiHandler parses the JDOM Element methodArgs and processes it to return an array of Arg objects.

Version:
$Revision: 1.4 $
Author:
Sujit Pal (spal@users.sourceforge.net)

Constructor Summary
JndiHandler()
           
 
Method Summary
 java.lang.Object process(org.jdom.Element elJndi)
          Processes the JDOM Element representing the constructorArgs tag and returns an array of Arg objects.
 
Methods inherited from class net.sourceforge.sqlunit.handlers.ConstructorArgsHandler
getArguments
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JndiHandler

public JndiHandler()
Method Detail

process

public final java.lang.Object process(org.jdom.Element elJndi)
                               throws java.lang.Exception
Processes the JDOM Element representing the constructorArgs tag and returns an array of Arg objects.

Specified by:
process in interface IHandler
Overrides:
process in class ConstructorArgsHandler
Parameters:
elJndi - the JDOM Element representing the jndi tag.
Returns:
an array of Arg objects. Client needs to cast appropriately.
Throws:
java.lang.Exception - if something went wrong processing the tag.