Class PushPropCnr

All Implemented Interfaces:
EventListener, IGProp<GProp<?>[]>, IPropCnr, Cloneable

public class PushPropCnr extends PropCnr
Container for Push property container for the application.
Author:
Christopher Mindus
  • Constructor Details

    • PushPropCnr

      public PushPropCnr()
      Creates a PushPropCnr container without name and with a null value.
    • PushPropCnr

      public PushPropCnr(Atom propertyAtom)
      Creates a PushPropCnr container with the specified name with a null value.
      Parameters:
      propertyAtom - the property atom.
  • Method Details

    • clone

      public PushPropCnr clone()
      Creates a clone out of this property. The cloning is overridden by the subclasses in order to handle cloning of its class variables appropriately.

      Cloning is used for "virtualization" of a property tree in the server. Client property classes will therefore throw CloneNotSupportedException.

      Once a tree has been cloned, the change-flag is reset, and the create-flag is set. All listeners are also removed! The new cloned property is an orphan, i.e. has no parent set. All children properties are also (deep) cloned.

      Note that the cloning process is done WITHOUT thread synchronization for performance reasons, thus no modifications should be done to the tree!

      Overrides:
      clone in class PropCnr