public final class PersistenceUnitResourceReference
extends org.fabric3.api.model.type.component.ResourceReference
| Constructor and Description |
|---|
PersistenceUnitResourceReference(java.lang.String name,
java.lang.String unitName,
org.fabric3.api.model.type.contract.ServiceContract serviceContract)
Initializes the resource name and persistence unit name.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getUnitName()
Gets the persistence unit name.
|
public PersistenceUnitResourceReference(java.lang.String name,
java.lang.String unitName,
org.fabric3.api.model.type.contract.ServiceContract serviceContract)
name - Name of the resource.unitName - Persistence unit name.serviceContract - the service contract for the persistence unit