public BeanDefinition removeBean(final String name) {
		BeanDefinition bd = beans.remove(name);
		if (bd == null) {
			return null;
		}
		bd.scopeRemove();
		return bd;
	}
public BeanDefinition removeBean(final String name) {
		BeanDefinition bd = beans.remove(name);
		if (bd == null) {
			return null;
		}
		bd.scopeRemove();
		return bd;
	}
public BeanDefinition removeBean ( final String name ) { BeanDefinition bd = beans . remove ( name ) ; if ( bd == null ) { return null ; } bd . scopeRemove ( ) ; return bd ; }
Removes bean and returns definition of removed bean.
All resolvers references are deleted, too.
Returns bean definition of removed bean or <code>null</code>.
Removes bean and returns definition of removed bean . All resolvers references are deleted too . Returns bean definition of removed bean or <code > null< / code > .