You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-auto@ws.apache.org by "Eugene Prokopiev (JIRA)" <xm...@ws.apache.org> on 2006/11/05 22:11:17 UTC

[jira] Commented: (XMLRPC-121) Additional ways to create request handlers

    [ http://issues.apache.org/jira/browse/XMLRPC-121?page=comments#action_12447323 ] 
            
Eugene Prokopiev commented on XMLRPC-121:
-----------------------------------------

This issue must be reopened. What is the right way to do it with JIRA?

I know about StatelessProcessorFactoryFactory but with it instance will be created by XML-RPC. I have already created instance, so without ObjectHandlerMapping class I need to pass class of my existing instance to PropertiesHandlerMapping and write another RequestProcessorFactoryFactory implementation which will only return my instance. I need to do something like this in case of creating instance by external factory (IoC, for example).

This way not looks like good

> Additional ways to create request handlers
> ------------------------------------------
>
>                 Key: XMLRPC-121
>                 URL: http://issues.apache.org/jira/browse/XMLRPC-121
>             Project: XML-RPC
>          Issue Type: Improvement
>          Components: Source
>    Affects Versions: 3.0
>            Reporter: Eugene Prokopiev
>         Attachments: ObjectHandlerMapping.java
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira