org.apache.turbine.modules.actions
Class InitContextsAction

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

public class InitContextsAction
extends Action

Used to initialize JNDI contexts.

Version:
$Id: InitContextsAction.java 264148 2005-08-29 14:21:04Z henning $
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-2005 Apache Software Foundation. All Rights Reserved.