Class CompositeInitializer

java.lang.Object
org.apache.jackrabbit.oak.spi.lifecycle.CompositeInitializer
All Implemented Interfaces:
RepositoryInitializer

public class CompositeInitializer extends Object implements RepositoryInitializer
Composite repository initializer that delegates the initialize(NodeBuilder) call in sequence to all the component initializers.
  • Constructor Details

  • Method Details

    • initialize

      public void initialize(@NotNull @NotNull NodeBuilder builder)
      Description copied from interface: RepositoryInitializer
      Initializes repository content. This method is called as soon as a repository becomes available. Note that the repository may already have been initialized, so the implementation of this method should check for that before blindly adding new content.
      Specified by:
      initialize in interface RepositoryInitializer
      Parameters:
      builder - builder for accessing and modifying repository content