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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidReturn schemaRegistryState that will be used for resolving of schema.voidsetSchemaLookup(SchemaLookup schemaLookup) Using during initialization of schemas when schemaRegistryState non exist in SchemaRegistry.Methods inherited from class com.evolveum.midpoint.prism.AbstractFreezable
freeze, freeze, freezeAll, freezeNullableList, isImmutable, isMutableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable
-
Constructor Details
-
SchemaRegistryStateAware
public SchemaRegistryStateAware()
-
-
Method Details
-
performFreeze
protected void performFreeze()- Overrides:
performFreezein classAbstractFreezable
-
setSchemaLookup
Using during initialization of schemas when schemaRegistryState non exist in SchemaRegistry. Can be call only if class is mutable. -
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 useschemaLookup().- Specified by:
schemaLookupin interfaceSchemaLookup.Aware- Returns:
- SchemaRegistryState that can be used for resolving of schema
-