Class RawType

  • All Implemented Interfaces:
    JaxbVisitable, PrismContextSensitive, Revivable, ShortDumpable, Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals

    public class RawType
    extends Object
    implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, Revivable, ShortDumpable, JaxbVisitable, PrismContextSensitive
    A class used to hold raw XNodes until the definition for such an object is known. This class should be thread-safe because it is used in shared objects, like cached resources or roles. (See MID-6506.) But by default it is not, as it contains internal state (xnode/parsed) that can lead to race conditions when parsing. In midPoint 4.2 it was made roughly thread-safe by including explicit synchronization at appropriate places. But there is much more to be done: (1) we need to support freezing the content (embedded xnode/prism value), (2) we should consider avoiding explicit synchronization for performance reasons See MID-6542.
    See Also:
    Serialized Form