Class CompositeInitializer
java.lang.Object
org.apache.jackrabbit.oak.spi.lifecycle.CompositeInitializer
- All Implemented Interfaces:
RepositoryInitializer
Composite repository initializer that delegates the
initialize(NodeBuilder) call in sequence to all the
component initializers.-
Field Summary
Fields inherited from interface org.apache.jackrabbit.oak.spi.lifecycle.RepositoryInitializer
DEFAULT -
Constructor Summary
ConstructorsConstructorDescriptionCompositeInitializer(Collection<RepositoryInitializer> trackers) CompositeInitializer(RepositoryInitializer... initializers) -
Method Summary
Modifier and TypeMethodDescriptionvoidinitialize(@NotNull NodeBuilder builder) Initializes repository content.
-
Constructor Details
-
CompositeInitializer
-
CompositeInitializer
-
-
Method Details
-
initialize
Description copied from interface:RepositoryInitializerInitializes 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:
initializein interfaceRepositoryInitializer- Parameters:
builder- builder for accessing and modifying repository content
-