You can also specify your service bean instance directly ( in spring way ).

On 12/18/06, Mathias Scharl <[EMAIL PROTECTED]> wrote:
Hi,

i am pretty new to XFire and have come along a big question.

I want to export several webservices from my application framework.
when I define a services.xml file and provide the implementing service class
XFire creates a new instance of this class.
e.g.
  <service>
    <name>UserService</name>

<namespace>http://localhost:8080/content/services/UserService</namespace>
    <serviceClass>some.package.api.UserService</serviceClass>

<implementationClass>some.package.impl.UserServiceImpl</implementationClass>
 </service>

What I want is to specify my personal "factory" which takes the services
name as a parameter,
does the lookup in my framework and returns the instance of the already
initalized service.

How do I integrate this "factory" in the services.xml file? Do I need to
specify an Invoker,
and how can I pass him a serviceName as a paramter?

Thanks!
-mathias



---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email




--
-----
When one of our products stops working, we'll blame another vendor
within 24 hours.

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to