java.beans.beancontext

Interface BeanContextProxy

public interface BeanContextProxy

Beans that wish to have a BeanContextChild or BeanContext associated with them but do not wish to implement those interfaces directly, can implement this interface.

Don't shoot yourself in the foot: if you already implement BeanContextChild, directly or indirectly, the whole workings of this package will be unpredictable because it is indeterminate as to whether the BeanContextChild is used in preference to its proxy or vice versa.

Since: JDK1.2

Method Summary
BeanContextChildgetBeanContextProxy()
Return the BeanContextChild associated with this Object.

Method Detail

getBeanContextProxy

public BeanContextChild getBeanContextProxy()
Return the BeanContextChild associated with this Object.

Returns: the BeanContextChild associated with this Object.