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
Class allow before freeze setting of SchemaRegistryStateImpl
and use it for resolving of definitions during initializing of schema.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected final SchemaRegistryState
protected final @Nullable SchemaRegistryStateImpl
Return schemaRegistryState that will be used for resolving of schema.protected void
void
setSchemaRegistryState
(SchemaRegistryStateImpl schemaRegistryState) 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
-
setSchemaRegistryState
Using during initialization of schemas when schemaRegistryState non exist in SchemaRegistry. Can be call only if class is mutable. -
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 usegetSchemaLookup()
. -
getSchemaLookup
- Returns:
- SchemaRegistryState that can be used for resolving of schema
-