org.jboss.seam.persistence
Class SePersistenceContextExtension
java.lang.Object
org.jboss.seam.persistence.SePersistenceContextExtension
- All Implemented Interfaces:
- Extension
public class SePersistenceContextExtension
- extends Object
- implements Extension
Support for managed persistence contexts in a Java SE environment or Servlet
container.
Unlike with standard Java EE, the unitName attribute on
PersistenceContext
must be provided if the persistence unit is
assigned a name in persistence.xml. This class supports multiple persistence
units, but it does not permit multiple producers for the same persistence
unit (naturally).
WARNING
If this is used to Bootstrap @PersistenceContext injection you will end up
with a @Dependent scoped application manager, rather than a transaction
scoped container managed entity manager.
- Author:
- Gavin King, Dan Allen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SePersistenceContextExtension
public SePersistenceContextExtension()
Copyright © 2011 Seam Framework. All Rights Reserved.