Class ArchetypeManager

java.lang.Object
com.evolveum.midpoint.model.common.archetypes.ArchetypeManager
All Implemented Interfaces:
Cache, CacheInvalidationListener

@Component public class ArchetypeManager extends Object implements Cache
Component that can efficiently determine archetypes for objects. It is backed by caches, therefore this is supposed to be a low-overhead service that can be used in many places. As a secondary responsibility, this class handles the resolution of object templates. [NOTE] ==== When resolving archetype references (i.e. obtaining archetype objects from references in object assignments and `archetypeRef` values, as well as when resolving super-archetypes), we currently handle dangling references (non-existing objects) by ignoring them. We just log the exception, and keep the OperationResultStatus.FATAL_ERROR in the result tree - where the lower-level code put it. (It may or may not be available to the ultimate caller; depending on the overall operation result processing.) ====
Author:
Radovan Semancik