com.h3c.util.dao

## Class DataStoreContext

- java.lang.Object
- - com.h3c.util.dao.DataStoreContext

-     public class DataStoreContext
      extends Object

  Data store context. Provides access to an entity manager

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DataStoreContext(javax.persistence.EntityManager entityManager)` Creates a data store context.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `javax.persistence.EntityManager` | `getEntityManager()` Gets the entity manager.

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

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

- - ### Constructor Detail

    - #### DataStoreContext

          public DataStoreContext(javax.persistence.EntityManager entityManager)

      Creates a data store context.
      Parameters:
        `entityManager` - entity manager.

  - ### Method Detail

    - #### getEntityManager

          public javax.persistence.EntityManager getEntityManager()

      Gets the entity manager.
      Returns:
        the entity manager.

Copyright © 2014. All Rights Reserved.