protected void addBeanToScratchMap(final Object beanId, final Object bean) {
		Map<Object, Object> scratchMap = getBeanScratchMap();
		if (scratchMap != null) {
			scratchMap.put(SCRATCHMAP_BEAN_ID_KEY, beanId);
			scratchMap.put(SCRATCHMAP_BEAN_OBJECT_KEY, bean);
		}
	}
protected void addBeanToScratchMap ( final Object beanId , final Object bean ) { Map < Object , Object > scratchMap = getBeanScratchMap ( ) ; if ( scratchMap != null ) { scratchMap . put ( SCRATCHMAP_BEAN_ID_KEY , beanId ) ; scratchMap . put ( SCRATCHMAP_BEAN_OBJECT_KEY , bean ) ; } }
@param beanId the bean id to put in the scratch map
@param bean the bean to put in the scratch map