Hi,
I am running some simple XML-RPC examples using Apache
and have a question related to property handlers. From
my examples, I noticed that a new handler is created
for every request invocation.
For example if I have class Handler with two methods
foo and bar
Handler {
bool foo ();
bool bar ();
}
and install the handler as follows:
phm.addHandler ("test", Handler.class);
When the client invokes foo multiple times, a new
instance of Handler is created each time.
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?
Thanks,
Arvind
__________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html