/**
* Create an instance of a class that implements {@code ModelMBean}.
* <p>This method is called to obtain a {@code ModelMBean} instance to
* use when registering a bean. This method is called once per bean during the
* registration phase and must return a new instance of {@code ModelMBean}
* @return a new instance of a class that implements {@code ModelMBean}
* @throws javax.management.MBeanException if creation of the ModelMBean failed
*/
protected ModelMBean createModelMBean() throws MBeanException {
return (this.exposeManagedResourceClassLoader ? new SpringModelMBean() : new RequiredModelMBean());
}
MBeanExporter.java 文件源码
java
阅读 21
收藏 0
点赞 0
评论 0
项目:my-spring-cache-redis
作者:
评论列表
文章目录