org.apache.turbine.modules.actions
Class InitContextsAction

java.lang.Object
  extended by org.apache.turbine.modules.Assembler
      extended by org.apache.turbine.modules.Action
          extended by org.apache.turbine.modules.actions.InitContextsAction

public class InitContextsAction
extends Action

Used to initialize JNDI contexts.

Version:
$Id: InitContextsAction.java 534527 2007-05-02 16:10:59Z tv $
Author:
Greg Ritter, Henning P. Schmiedehausen

Constructor Summary
InitContextsAction()
           
 
Method Summary
 void doPerform(RunData data)
          This action will place the contexts defined in the TurbineResources instance (if any) into the data.contexts Hashtable.
 
Methods inherited from class org.apache.turbine.modules.Action
perform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InitContextsAction

public InitContextsAction()
Method Detail

doPerform

public void doPerform(RunData data)
               throws javax.naming.NamingException
This action will place the contexts defined in the TurbineResources instance (if any) into the data.contexts Hashtable.

Specified by:
doPerform in class Action
Parameters:
data - The RunData object for the current request.
Throws:
javax.naming.NamingException - could not create InitialContext


Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.