org.nanocontainer.nanowar
Class ActionsContainerFactory
java.lang.Object
org.nanocontainer.nanowar.ActionsContainerFactory
public class ActionsContainerFactory
- extends Object
Factory for the actions container used by MVC action-based frameworks.
This factory looks for the PicoContainer in the webapp scopes, via
the ServletContainerFinder
,
and uses it to inject the depedencies into the actions.
- Author:
- Mauro Talevi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionsContainerFactory
public ActionsContainerFactory()
getActionsContainer
public org.picocontainer.MutablePicoContainer getActionsContainer(javax.servlet.http.HttpServletRequest request)
getActionClass
public Class getActionClass(String className)
throws org.picocontainer.PicoIntrospectionException
- Throws:
org.picocontainer.PicoIntrospectionException
loadClass
protected Class loadClass(String className)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
Copyright © 2003-2009 Codehaus. All Rights Reserved.