com.opensymphony.xwork2.factory

## Interface UnknownHandlerFactory

- All Known Implementing Classes:
    DefaultUnknownHandlerFactory

      public interface UnknownHandlerFactory

  Dedicated interface used by `ObjectFactory` to build `UnknownHandler`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `UnknownHandler` | `buildUnknownHandler(String unknownHandlerName, Map<String,Object> extraContext)` Builds unknown handler of given name

- - ### Method Detail

    - #### buildUnknownHandler

          UnknownHandler buildUnknownHandler(String unknownHandlerName,
                                             Map<String,Object> extraContext)
                                      throws Exception

      Builds unknown handler of given name
      Parameters:
        `unknownHandlerName` - name of unknown handler defined in struts.xml
        `extraContext` - extra params
      Returns:
        instance of `UnknownHandler` with injected dependencies
      Throws:
        `Exception` - in case of any errors

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