/** * Both constructors use this init method, as it is impossible to pass * a "this" reference from one constructor to another. * @param delegate the delegate object */ private void init(Object delegate) { Assert.notNull(delegate, "Delegate must not be null"); this.delegate = delegate; implementInterfacesOnObject(delegate); // We don't want to expose the control interface suppressInterface(IntroductionInterceptor.class); suppressInterface(DynamicIntroductionAdvice.class); }
/** * Both constructors use this init method, as it is impossible to pass * a "this" reference from one constructor to another. * @param delegate the delegate object */ private void init(Object delegate) { Assert.notNull(delegate, "Delegate must not be null"); this.delegate = delegate; implementInterfacesOnObject(delegate); // We don't want to expose the control interface suppressInterface(IntroductionInterceptor.class); suppressInterface(DynamicIntroductionAdvice.class); }
/** * Both constructors use this, as it's impossible to pass * "this" from one constructor to another. */ private void init(Object delegate) { Assert.notNull(delegate, "delegate is required"); this.delegate = delegate; implementInterfacesOnObject(delegate); // We don't want to expose the control interface suppressInterface(IntroductionInterceptor.class); suppressInterface(DynamicIntroductionAdvice.class); }
/** * Both constructors use this init method, as it is impossible to pass * a "this" reference from one constructor to another. * @param delegate the delegate object */ private void init(Object delegate) { Assert.notNull(delegate, "Delegate must not be null"); this.delegate = delegate; implementInterfacesOnObject(delegate); // We don't want to expose the control interface suppressInterface(IntroductionInterceptor.class); suppressInterface(DynamicIntroductionAdvice.class); }