Class SchemaRegistryStateAware

java.lang.Object
com.evolveum.midpoint.prism.AbstractFreezable
com.evolveum.midpoint.prism.impl.schema.SchemaRegistryStateAware
All Implemented Interfaces:
Freezable
Direct Known Subclasses:
DefinitionImpl, PrismSchemaImpl

public abstract class SchemaRegistryStateAware extends AbstractFreezable
Class allow before freeze setting of SchemaRegistryStateImpl and use it for resolving of definitions during initializing of schema.
  • Constructor Details

    • SchemaRegistryStateAware

      public SchemaRegistryStateAware()
  • Method Details

    • performFreeze

      protected void performFreeze()
      Overrides:
      performFreeze in class AbstractFreezable
    • setSchemaRegistryState

      public void setSchemaRegistryState(SchemaRegistryStateImpl schemaRegistryState)
      Using during initialization of schemas when schemaRegistryState non exist in SchemaRegistry. Can be call only if class is mutable.
    • getSchemaRegistryState

      @Nullable protected final @Nullable SchemaRegistryStateImpl getSchemaRegistryState()
      Return schemaRegistryState that will be used for resolving of schema. This method is used to move the variable to another class. For resolving of definition use getSchemaLookup().
    • getSchemaLookup

      protected final SchemaRegistryState getSchemaLookup()
      Returns:
      SchemaRegistryState that can be used for resolving of schema