类 ParentAwareNamingStrategy

  • 所有已实现的接口:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.jmx.export.naming.ObjectNamingStrategy

    public class ParentAwareNamingStrategy
    extends org.springframework.jmx.export.naming.MetadataNamingStrategy
    implements org.springframework.context.ApplicationContextAware
    Extension of MetadataNamingStrategy that supports a parent ApplicationContext.
    从以下版本开始:
    1.1.1
    • 构造器详细资料

      • ParentAwareNamingStrategy

        public ParentAwareNamingStrategy​(org.springframework.jmx.export.metadata.JmxAttributeSource attributeSource)
    • 方法详细资料

      • setEnsureUniqueRuntimeObjectNames

        public void setEnsureUniqueRuntimeObjectNames​(boolean ensureUniqueRuntimeObjectNames)
        Set if unique runtime object names should be ensured.
        参数:
        ensureUniqueRuntimeObjectNames - true if unique names should ensured.
      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
                                   throws org.springframework.beans.BeansException
        指定者:
        setApplicationContext 在接口中 org.springframework.context.ApplicationContextAware
        抛出:
        org.springframework.beans.BeansException