Overview | Package | Class | Tree | Deprecated | Index | Help
| Oracle TopLink API Reference 10g Release 3 (10.1.3) B13698-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## oracle.toplink.sessions.entitymanager
Interface EntityManagerFactory

public interface EntityManagerFactory

Method Summary
`void` | `close()` Closes this factory, releasing any resources that might be held by this factory.
`EntityManager` | `createEntityManager()` Creates a new `EntityManager` associated with the current transactional context.
`boolean` | `isOpen()` Indicates whether or not this factory is open.

Method Detail

### createEntityManager

    public EntityManager createEntityManager()

  Creates a new `EntityManager` associated with the current transactional context.

### close

    public void close()

  Closes this factory, releasing any resources that might be held by this factory. After invoking this method, all methods on the instance will throw an `IllegalStateException`, except for `isOpen()`, which will return `false`.

### isOpen

    public boolean isOpen()

  Indicates whether or not this factory is open. Returns `true` until a call to `close()` is made.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 1998, 2006, Oracle. All Rights Reserved.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD