/** * The application might manage PersistenceManager instances by using an associated object for * bookkeeping purposes. These methods allow the user to manage the associated object. The * parameter is not inspected or used in any way by the JDO implementation.* * * @return User object */ public Object getUserObject() { checkStatus(); return pm.getUserObject(); }
/** * Method to get a user object from the PersistenceManager. This is for user objects which are * stored under a key. <I>The parameter is not inspected or used in any way by the JDO * implementation. </I> * * @param key The key to store the user object under * @return The user object for that key * @since 1.1 */ public synchronized Object getUserObject(Object key) { checkStatus(); return pm.getUserObject(key); }