[seam-dev] Retrieving the Bean object for an interceptor

Gavin King gavin.king at gmail.com
Thu Apr 22 00:12:18 EDT 2010


On Wed, Apr 21, 2010 at 10:36 PM, Stuart Douglas
<stuart at baileyroberts.com.au> wrote:

> - Is InvocationContext.getTarget() guaranteed to return the instance of the bean or can it return
> a proxy? If it can return a proxy this technique is not going to work.

It is guaranteed to return the bean instance that is the target of the
invocation.

-- 
Gavin King
gavin.king at gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org


More information about the seam-dev mailing list