Class CrossMountReferenceValidatorProvider

  • All Implemented Interfaces:
    org.apache.jackrabbit.oak.spi.commit.EditorProvider

    @Property(name="type",
              value="crossMountRefValidator",
              propertyPrivate=true)
    @Service({org.apache.jackrabbit.oak.spi.commit.ValidatorProvider.class,org.apache.jackrabbit.oak.spi.commit.EditorProvider.class})
    public class CrossMountReferenceValidatorProvider
    extends org.apache.jackrabbit.oak.spi.commit.ValidatorProvider
    Validator which detects references crossing the mount boundaries
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.apache.jackrabbit.oak.spi.commit.Validator getRootValidator​(org.apache.jackrabbit.oak.spi.state.NodeState before, org.apache.jackrabbit.oak.spi.state.NodeState after, org.apache.jackrabbit.oak.spi.commit.CommitInfo info)  
      • Methods inherited from class org.apache.jackrabbit.oak.spi.commit.ValidatorProvider

        getRootEditor
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CrossMountReferenceValidatorProvider

        public CrossMountReferenceValidatorProvider()
      • CrossMountReferenceValidatorProvider

        public CrossMountReferenceValidatorProvider​(org.apache.jackrabbit.oak.spi.mount.MountInfoProvider mountInfoProvider,
                                                    boolean failOnDetection)
    • Method Detail

      • getRootValidator

        protected org.apache.jackrabbit.oak.spi.commit.Validator getRootValidator​(org.apache.jackrabbit.oak.spi.state.NodeState before,
                                                                                  org.apache.jackrabbit.oak.spi.state.NodeState after,
                                                                                  org.apache.jackrabbit.oak.spi.commit.CommitInfo info)
        Specified by:
        getRootValidator in class org.apache.jackrabbit.oak.spi.commit.ValidatorProvider