public void disconnectFromBeanContext() throws PropertyVetoException {
  BeanContext bc=getBeanContext();
  if (bc != null) {
    bc.removeBeanContextMembershipListener(this);
    beanContextChildSupport.setBeanContext(null);
  }
}

public void disconnectFromBeanContext ( ) throws PropertyVetoException { BeanContext bc = getBeanContext ( ) ; if ( bc != null ) { bc . removeBeanContextMembershipListener ( this ) ; beanContextChildSupport . setBeanContext ( null ) ; } }
layer method to just disconnect from the beancontext , without grabbing the iterator as in setbeancontext ( ) . good for protected sub - layers where you want to optimize the calling of the findandundo ( ) method over them .
