Class DevelopmentComponentRegistry

  • All Implemented Interfaces:
    ComponentRegistry<DefaultComponentRegistry>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

    public class DevelopmentComponentRegistry
    extends DefaultComponentRegistry
    implements org.springframework.context.ApplicationContextAware
    Component registry that can be used during development. Calling the re-register components method will rebuild metadata. This relies on JDK class hot swapping.

    To enable, add the property 'broadleaf.metadata.development-mode=true'

    • Field Detail

      • applicationContext

        protected org.springframework.context.ApplicationContext applicationContext
    • Method Detail

      • setApplicationContext

        @Autowired
        public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware