org.jboss.jpa.resolvers
Class DefaultXPCResolver
java.lang.Object
org.jboss.jpa.resolvers.DefaultXPCResolver
- All Implemented Interfaces:
- XPCResolver
public class DefaultXPCResolver
- extends Object
- implements XPCResolver
The default XPC resolver is only useful in an environment where
there are no XPC aware components.
- Version:
- $Revision: $
- Author:
- Carlo de Wolf
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultXPCResolver
public DefaultXPCResolver()
getExtendedPersistenceContext
public javax.persistence.EntityManager getExtendedPersistenceContext(String kernelName)
- Description copied from interface:
XPCResolver
- Get an extended persistence context within the current context.
Note that the full kernel name must be specified to resolve ambiguity
with persistence units in different modules.
- Specified by:
getExtendedPersistenceContext
in interface XPCResolver
- Parameters:
kernelName
- the identification of the persistence context
- Returns:
- the extended persistence context or null
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.