|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PersistenceUnitDependencyResolver
Based on the available meta data resolve persistence unit references.
Method Summary | |
---|---|
String |
createBeanName(org.jboss.deployers.structure.spi.DeploymentUnit deploymentUnit,
String persistenceUnitName)
Create a bean name for a persistence unit (deployment). |
String |
resolvePersistenceUnitSupplier(org.jboss.deployers.structure.spi.DeploymentUnit deploymentUnit,
String persistenceUnitName)
Get the name of the bean that supplies the specified persistence unit. |
Method Detail |
---|
String createBeanName(org.jboss.deployers.structure.spi.DeploymentUnit deploymentUnit, String persistenceUnitName)
deploymentUnit
- the deployment unit in which the persistence unit is definedpersistenceUnitName
- the name of the persistence unit
String resolvePersistenceUnitSupplier(org.jboss.deployers.structure.spi.DeploymentUnit deploymentUnit, String persistenceUnitName)
deploymentUnit
- the deployment unit that has a persistence unit referencepersistenceUnitName
- the (relative) name of a persistence unit or null for the default persistence unit
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |