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 void
Return schemaRegistryState that will be used for resolving of schema.void
setSchemaLookup
(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, isMutable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable
-
Constructor Details
-
SchemaRegistryStateAware
public SchemaRegistryStateAware()
-
-
Method Details
-
performFreeze
protected void performFreeze()- Overrides:
performFreeze
in 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:
schemaLookup
in interfaceSchemaLookup.Aware
- Returns:
- SchemaRegistryState that can be used for resolving of schema
-