[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlrpc-user
Subject:    Re: Newbie: Question regarding Property Handler mapping
From:       Daniel Noll <daniel () nuix ! com>
Date:       2008-05-13 23:22:06
Message-ID: 200805140922.07252.daniel () nuix ! com
[Download RAW message or body]

On Wednesday 14 May 2008 03:27:09 arvind krishna wrote:
> My questions: (1) is there a way to avoid this
> behavior? i.e, not create a new handler each time (2)
> is there a way to pre-create the handler and add it to
> the property handler?

There was a really easy way to do this before version 2.0 as I remember it.

Now I suspect you have no choice but to override 
XmlRpcServlet.newXmlRpcHandlerMapping, and return a custom mapping which 
returns your fixed objects.

The other approach is to create some handlers which delegate to the real ones 
such that creating a new one each time doesn't affect the way it works.

Daniel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic