Class DefaultMemoryManagerXml

All Implemented Interfaces:
XmlAdapter

Persistency implementation for the default MemoryManager persistence.

The state of memory objects is not persisted, just their existence.

  • Constructor Details

  • Method Details

    • setStoreElementClass

      public void setStoreElementClass(org.jdom2.Element memories)
      Subclass provides implementation to create the correct top element, including the type information. Default implementation is to use the local class here.
      Specified by:
      setStoreElementClass in class AbstractMemoryManagerConfigXML
      Parameters:
      memories - The top-level element being created
    • load

      public boolean load(org.jdom2.Element sharedMemories, org.jdom2.Element perNodeMemories)
      Create a MemoryManager object of the correct class, then register and fill it.
      Specified by:
      load in interface XmlAdapter
      Specified by:
      load in class AbstractMemoryManagerConfigXML
      Parameters:
      sharedMemories - Top level Element to unpack.
      perNodeMemories - Per-node top level Element to unpack.
      Returns:
      true if successful