类 DocumentDefaultsDefinition

    • 方法详细资料

      • setLazyInit

        public void setLazyInit​(@Nullable
                                String lazyInit)
        Set the default lazy-init flag for the document that's currently parsed.
      • setMerge

        public void setMerge​(@Nullable
                             String merge)
        Set the default merge setting for the document that's currently parsed.
      • getMerge

        @Nullable
        public String getMerge()
        Return the default merge setting for the document that's currently parsed.
      • setAutowire

        public void setAutowire​(@Nullable
                                String autowire)
        Set the default autowire setting for the document that's currently parsed.
      • setAutowireCandidates

        public void setAutowireCandidates​(@Nullable
                                          String autowireCandidates)
        Set the default autowire-candidate pattern for the document that's currently parsed. Also accepts a comma-separated list of patterns.
      • getAutowireCandidates

        @Nullable
        public String getAutowireCandidates()
        Return the default autowire-candidate pattern for the document that's currently parsed. May also return a comma-separated list of patterns.
      • setInitMethod

        public void setInitMethod​(@Nullable
                                  String initMethod)
        Set the default init-method setting for the document that's currently parsed.
      • setDestroyMethod

        public void setDestroyMethod​(@Nullable
                                     String destroyMethod)
        Set the default destroy-method setting for the document that's currently parsed.
      • setSource

        public void setSource​(@Nullable
                              Object source)
        Set the configuration source Object for this metadata element.

        The exact type of the object will depend on the configuration mechanism used.