Only for m1, unless you inject an IA object into your service
implementation...
private IA self;
public void setSelf( IA self )
{
this.self = self;
}
public m1()
{
self.m2();
}
public m2()
{
self.m3();
}
-----Original Message-----
From: Johan Lindquist [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 28, 2006 4:39 AM
To: [email protected]
Subject: Re: question about proxies and interceptors
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The call should [someone correct me here if I am wrong] go to to your
core implementation - it is only if you deal with services obtained from
the Registry that the interceptors are applied.
Cheers,
Johan
Aleksej wrote:
> I have some service and interceptor for each method of that service.
> Some methods of that service implementation calls other that service
> methods
> ( included in implementation interface ). In this case, interceptor is
> called for each
> method or only for methods called first?
> Example:
> interface IA has methods m1, m2, m3.
> class AImpl implements IA and there is interceptor configured for each
> IA method ( m1, m2, m3 ).
> In class AImpl method m1 calls m2 and m2 calls m3.
> In this situation when I will call m1, interceptor will be called for
> nested m2 and m3 too or only for m1?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
- --
you too?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEBBog1Tv8wj7aQ34RAukcAJsGcvfvWSD64ktk1MCT8ATRVTaG+gCeMFEX
aIovBqeYFjV3XpYjx263yKU=
=iu6Z
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]