public void setBean ( String name , Object object ) { Bean bean = beans . get ( name ) ; if ( null == bean ) { bean = new Bean ( ) ; beans . put ( name , bean ) ; } bean . object = object ; }
Set a bean in the context .