Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.myfaces.orchestra.conversation.spring
Interface PersistenceContext

    public interface PersistenceContext

Interface which will be used by the `PersistenceContextConversationInterceptor` to configure the spring persistence framework.

Implementations of this interface are expected to hold a reference to a real ORM-specific object (eg a JPA EntityManager or a Hibernate Session).

Method Summary
`void` | `bind()` Make the underlying object available via the standard APIs for the underlying real ORM implementation.
`void` | `close()` Close the underlying persistence context.
`void` | `unbind()` Unbind the underlying object, so it is no longer available via the standard APIs for the underlying ORM implementation.

Method Detail

### bind

    void bind()

  Make the underlying object available via the standard APIs for the underlying real ORM implementation. Typically this involves doing something like binding the object to the current thread.

### unbind

    void unbind()

  Unbind the underlying object, so it is no longer available via the standard APIs for the underlying ORM implementation.

### close

    void close()

  Close the underlying persistence context.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 The Apache Software Foundation. All Rights Reserved.