Annotation Type RefreshScope
-
@Target({TYPE,METHOD}) @Retention(RUNTIME) @Scope("refresh") @Documented public @interface RefreshScope
Convenience annotation to put a@Beandefinition inrefresh scope. Beans annotated this way can be refreshed at runtime and any components that are using them will get a new instance on the next method call, fully initialized and injected with all dependencies.- Author:
- Dave Syer
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description org.springframework.context.annotation.ScopedProxyModeproxyMode
-