Package org.apache.struts2.factory
Interface UnknownHandlerFactory
- All Known Implementing Classes:
DefaultUnknownHandlerFactory
public interface UnknownHandlerFactory
Dedicated interface used by
ObjectFactory
to build UnknownHandler
-
Method Summary
Modifier and TypeMethodDescriptionbuildUnknownHandler
(String unknownHandlerName, Map<String, Object> extraContext) Builds unknown handler of given name
-
Method Details
-
buildUnknownHandler
UnknownHandler buildUnknownHandler(String unknownHandlerName, Map<String, Object> extraContext) throws ExceptionBuilds unknown handler of given name- Parameters:
unknownHandlerName
- name of unknown handler defined in struts.xmlextraContext
- extra params- Returns:
- instance of
UnknownHandler
with injected dependencies - Throws:
Exception
- in case of any errors
-