File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
spring-context/src/main/java/org/springframework/context/support
spring-web/src/main/java/org/springframework/web/context/support Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 35
35
36
36
/**
37
37
* Adapter for live beans view exposure, building a snapshot of current beans
38
- * and their dependencies from either a local ApplicationContext (with a
39
- * local LiveBeansView bean definition) or all registered ApplicationContexts
40
- * (driven by the "spring.liveBeansView.mbean" environment property).
38
+ * and their dependencies from either a local {@code ApplicationContext} (with a
39
+ * local {@code LiveBeansView} bean definition) or all registered ApplicationContexts
40
+ * (driven by the {@value #MBEAN_DOMAIN_PROPERTY_NAME} environment property).
41
41
*
42
42
* <p>Note: This feature is still in beta and primarily designed for use with
43
- * SpringSource Tool Suite 3.1.
43
+ * Spring Tool Suite 3.1.
44
44
*
45
45
* @author Juergen Hoeller
46
46
* @since 3.2
@@ -152,7 +152,7 @@ protected String generateJson(Set<ConfigurableApplicationContext> contexts) {
152
152
scope = BeanDefinition .SCOPE_SINGLETON ;
153
153
}
154
154
result .append ("\" scope\" : \" " ).append (scope ).append ("\" ,\n " );
155
- Class beanType = bf .getType (beanName );
155
+ Class <?> beanType = bf .getType (beanName );
156
156
if (beanType != null ) {
157
157
result .append ("\" type\" : \" " ).append (beanType .getName ()).append ("\" ,\n " );
158
158
}
Original file line number Diff line number Diff line change 34
34
* @since 3.2
35
35
* @see org.springframework.context.support.LiveBeansView#getSnapshotAsJson()
36
36
*/
37
+ @ SuppressWarnings ("serial" )
37
38
public class LiveBeansViewServlet extends HttpServlet {
38
39
39
40
private LiveBeansView liveBeansView ;
You can’t perform that action at this time.
0 commit comments