public Object defineBean ( String name , Object bean ) { Object ret = getELContext ( ) . getBeans ( ) . get ( name ) ; getELContext ( ) . getBeans ( ) . put ( name , bean ) ; return ret ; }
Define a bean in the local bean repository