Class FirstRepositoryInitializer

  • All Implemented Interfaces:
    org.apache.sling.jcr.api.SlingRepositoryInitializer

    public class FirstRepositoryInitializer
    extends Object
    implements org.apache.sling.jcr.api.SlingRepositoryInitializer
    SlingRepositoryInitializer that creates a node to which SecondRepositoryInitializer can add a property, to verify that they are executed in order of their service ranking.
    • Field Detail

      • SIGNAL_NODE_PATH

        public static final String SIGNAL_NODE_PATH
    • Constructor Detail

      • FirstRepositoryInitializer

        public FirstRepositoryInitializer()
    • Method Detail

      • processRepository

        public void processRepository​(org.apache.sling.jcr.api.SlingRepository repo)
                               throws Exception
        Specified by:
        processRepository in interface org.apache.sling.jcr.api.SlingRepositoryInitializer
        Throws:
        Exception