Component old = SeamInterceptor.COMPONENT.get();
SeamInterceptor.COMPONENT.set(this);
try
{
Object bean = Naming.getInitialContext().lookup(jndiName);
return wrap( bean, new ClientSideInterceptor(bean, this) );
}
finally
{
SeamInterceptor.COMPONENT.set(old);
}