Class SchemaRegistryStateAware

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

public abstract class SchemaRegistryStateAware extends AbstractFreezable implements SchemaLookup.Aware
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
    • setSchemaLookup

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

      public SchemaLookup schemaLookup()
      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 schemaLookup().
      Specified by:
      schemaLookup in interface SchemaLookup.Aware
      Returns:
      SchemaRegistryState that can be used for resolving of schema