I'm not sure how. Even with application scope RPCProvider will still
instantiate the object using "class.newInstance()". That's not the behavior
I desire. I'd like to get the object instance from a pool and not create a
new instance each time.
_________________________________
Sumant Padbidri
408-256-9784
[EMAIL PROTECTED]
_________________________________
|---------+--------------------------------->
| | "Manchaiah, Girish |
| | (LNG-DAY)" |
| | <[EMAIL PROTECTED]|
| | snexis.com> |
| | |
| | 09/10/2003 11:51 AM |
| | Please respond to |
| | axis-user |
|---------+--------------------------------->
>--------------------------------------------------------------------------------------------------------------|
|
|
| To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
|
| cc:
|
| Subject: RE: Customizing RPC provider
|
>--------------------------------------------------------------------------------------------------------------|
I believe scope="application" for your service in WSDD will suffice.
-----Original Message-----
From: Sumant Padbidri [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 10, 2003 12:57 PM
To: [EMAIL PROTECTED]
Subject: Customizing RPC provider
Are there any hooks available to customize how the RPC provider gets the
target service object? Instead of simply instantiating an instance of the
classname I'd like to retrieve an instance from an object pool or factory.
Do I have to write a new provider for that? If so, how can I specify a
custom provider in my WSDD?
Thanks,
Sumant