Package org.apache.cayenne.access

## Class DefaultObjectMapRetainStrategy

- java.lang.Object
- - org.apache.cayenne.access.DefaultObjectMapRetainStrategy

- All Implemented Interfaces:
    `ObjectMapRetainStrategy`

      public class DefaultObjectMapRetainStrategy
      extends Object
      implements ObjectMapRetainStrategy

  Default implementation of `ObjectMapRetainStrategy`.
  Since:
    3.1

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected RuntimeProperties` | `runtimeProperties` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `DefaultObjectMapRetainStrategy​(RuntimeProperties runtimeProperties)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Map<Object,​Persistent>` | `createObjectMap()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### runtimeProperties

          protected RuntimeProperties runtimeProperties

  - ### Constructor Detail

    - #### DefaultObjectMapRetainStrategy

          public DefaultObjectMapRetainStrategy​(RuntimeProperties runtimeProperties)

  - ### Method Detail

    - #### createObjectMap

          public Map<Object,​Persistent> createObjectMap()

      Specified by:
        `createObjectMap` in interface `ObjectMapRetainStrategy`