com.opensymphony.xwork2.factory
Class DefaultUnknownHandlerFactory

java.lang.Object
  extended by com.opensymphony.xwork2.factory.DefaultUnknownHandlerFactory
All Implemented Interfaces:
UnknownHandlerFactory

public class DefaultUnknownHandlerFactory
extends Object
implements UnknownHandlerFactory

Default implementation


Constructor Summary
DefaultUnknownHandlerFactory()
           
 
Method Summary
 UnknownHandler buildUnknownHandler(String unknownHandlerName, Map<String,Object> extraContext)
          Builds unknown handler of given name
 void setContainer(Container container)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultUnknownHandlerFactory

public DefaultUnknownHandlerFactory()
Method Detail

setContainer

public void setContainer(Container container)

buildUnknownHandler

public UnknownHandler buildUnknownHandler(String unknownHandlerName,
                                          Map<String,Object> extraContext)
                                   throws Exception
Description copied from interface: UnknownHandlerFactory
Builds unknown handler of given name

Specified by:
buildUnknownHandler in interface UnknownHandlerFactory
Parameters:
unknownHandlerName - name of unknown handler defined in struts.xml
extraContext - extra params
Returns:
instance of UnknownHandler with injected dependencies
Throws:
Exception


Copyright © 2000–2017 Apache Software Foundation. All rights reserved.