类 DefaultScopedObject

    • 方法详细资料

      • getTargetObject

        public Object getTargetObject()
        从接口复制的说明: ScopedObject
        Return the current target object behind this scoped object proxy, in its raw form (as stored in the target scope).

        The raw target object can for example be passed to persistence providers which would not be able to handle the scoped proxy object.

        指定者:
        getTargetObject 在接口中 ScopedObject
        返回:
        the current target object behind this scoped object proxy
      • removeFromScope

        public void removeFromScope()
        从接口复制的说明: ScopedObject
        Remove this object from its target scope, for example from the backing session.

        Note that no further calls may be made to the scoped object afterwards (at least within the current thread, that is, with the exact same target object in the target scope).

        指定者:
        removeFromScope 在接口中 ScopedObject