org.jboss.jpa.spi
Interface XPCResolver

All Known Implementing Classes:
DefaultXPCResolver

public interface XPCResolver

Query the current context for extended persistence contexts.

Version:
$Revision: $
Author:
Carlo de Wolf

Method Summary
 javax.persistence.EntityManager getExtendedPersistenceContext(String kernelName)
          Get an extended persistence context within the current context.
 

Method Detail

getExtendedPersistenceContext

javax.persistence.EntityManager getExtendedPersistenceContext(String kernelName)
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.

Parameters:
kernelName - the identification of the persistence context
Returns:
the extended persistence context or null


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.