public void clear() {
		for (Bean bean : beans.values()) {
			if (null != bean.destructionCallback) {
				bean.destructionCallback.run();
			}
		}
		beans.clear();
	}
public void clear ( ) { for ( Bean bean : beans . values ( ) ) { if ( null != bean . destructionCallback ) { bean . destructionCallback . run ( ) ; } } beans . clear ( ) ; }
Clear all beans and call the destruction callback.