public final class ExtendedPersistenceShallowInheritance extends Object implements ExtendedPersistenceInheritanceStrategy
Modifier and Type | Field and Description |
---|---|
static ExtendedPersistenceShallowInheritance |
INSTANCE |
Constructor and Description |
---|
ExtendedPersistenceShallowInheritance() |
Modifier and Type | Method and Description |
---|---|
ExtendedEntityManager |
findExtendedPersistenceContext(String puScopedName)
Check if the current EJB container instance contains the specified extended persistence context.
|
void |
registerExtendedPersistenceContext(String scopedPuName,
ExtendedEntityManager entityManager)
Register the extended persistence context so it is accessible to other SFSB's during the
creation process.
|
public static final ExtendedPersistenceShallowInheritance INSTANCE
public ExtendedPersistenceShallowInheritance()
public void registerExtendedPersistenceContext(String scopedPuName, ExtendedEntityManager entityManager)
ExtendedPersistenceInheritanceStrategy
registerExtendedPersistenceContext
in interface ExtendedPersistenceInheritanceStrategy
public ExtendedEntityManager findExtendedPersistenceContext(String puScopedName)
ExtendedPersistenceInheritanceStrategy
findExtendedPersistenceContext
in interface ExtendedPersistenceInheritanceStrategy
puScopedName
- Scoped pu nameCopyright © 2018 JBoss by Red Hat. All rights reserved.