Service service = serviceFactory.create(NameIndexServiceImpl.class,
props);

service.setInvoker(new BeanInvoker(new NameIndexServiceImpl(rlpRoot,
configPath)));
service.addFaultHandler(this);

And then I allowed the current class to implement the required
interface, and I let all the functions be empty, except that I added
some logging to handleFault and invoke, and set breakpoints there which
are never hit.



-----Original Message-----
From: Tomek Sztelak [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 08, 2007 8:24 AM
To: [email protected]
Subject: Re: [xfire-user] faults

Hi
Can you show us how did you add this handler ?

On 1/8/07, Benson Margulies <[EMAIL PROTECTED]> wrote:
>
>
>
>
> I tried adding a fault handler as per the web page, but it doesn't
seem to
> get called.
>
>
>
> Do I have to implement some of getAfter, getBefore, getPhase, etc to
get
> called through 'invoke'?
>
>


-- 
-----
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


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

    http://xircles.codehaus.org/manage_email

Reply via email to