support bean scope