Uploaded image for project: 'XML-RPC'
  1. XML-RPC
  2. XMLRPC-121

Additional ways to create request handlers

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.0
    • Fix Version/s: None
    • Component/s: Source
    • Labels:
      None

      Description

      Now it's possible to create handlers only by class name (different instances on every request or one instance for all request). It can be very useful to create handlers based on already created instances (as in XML-RPC 1.2) or by some external factory which can return instance (new or already created or from pool) by some string name. Any IoC (Spring, HiveMind, ...) container can be an example of such factory. This can be done by RequestProcessorFactoryFactory implementation analog with String parameter instead of Class.

        Attachments

        1. XmlRpcServerBean.java
          2 kB
          Eugene Prokopiev
        2. ObjectHandlerMapping.java
          5 kB
          Eugene Prokopiev

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                enp Eugene Prokopiev
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: