Interface ItemManager

  • All Known Implementing Classes:
    ItemManagerImpl

    public interface ItemManager
    There's one ItemManager instance per Session instance. It is the factory for Node and Property instances.

    The ItemManager's responsibilities are:

    • providing access to Item instances by ItemState whereas Node and Item are only providing relative access.
    • returning the instance of an existing Node or Property, given its absolute path.
    • creating the per-session instance of a Node or Property that doesn't exist yet and needs to be created first.
    • guaranteeing that there aren't multiple instances representing the same Node or Property associated with the same Session instance.
    • maintaining a cache of the item instances it created.

    If the parent Session is an XASession, there is one ItemManager instance per started global transaction.