public interface ProviderContainerContractInfo
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_DS_NAME |
| Modifier and Type | Method and Description |
|---|---|
void |
addTransformer(javax.persistence.spi.ClassTransformer transformer)
Adds ClassTransformer to underlying Application's classloader
|
String |
getApplicationLocation() |
ClassLoader |
getClassLoader() |
String |
getDefaultDataSourceName() |
org.glassfish.api.deployment.DeploymentContext |
getDeploymentContext() |
String |
getJTADataSourceOverride() |
ClassLoader |
getTempClassloader() |
javax.validation.ValidatorFactory |
getValidatorFactory()
get instance of ValidatorFactory for this environment
|
boolean |
isJava2DBRequired()
Will be called while loading an application.
|
boolean |
isWeavingEnabled() |
DataSource |
lookupDataSource(String dataSourceName)
Looks up DataSource with JNDI name given by
dataSourceName |
DataSource |
lookupNonTxDataSource(String dataSourceName)
Looks up Non transactional DataSource with JNDI name given by
dataSourceName |
void |
registerEMF(String unitName,
String persistenceRootUri,
org.glassfish.deployment.common.RootDeploymentDescriptor containingBundle,
javax.persistence.EntityManagerFactory emf)
Register the give emf with underlying container
|
static final String DEFAULT_DS_NAME
ClassLoader getClassLoader()
ClassLoader getTempClassloader()
void addTransformer(javax.persistence.spi.ClassTransformer transformer)
String getApplicationLocation()
DataSource lookupDataSource(String dataSourceName) throws NamingException
dataSourceNamedataSourceName - dataSourceNameNamingExceptionDataSource lookupNonTxDataSource(String dataSourceName) throws NamingException
dataSourceNamedataSourceName - dataSourceNameNamingExceptionjavax.validation.ValidatorFactory getValidatorFactory()
boolean isJava2DBRequired()
org.glassfish.api.deployment.DeploymentContext getDeploymentContext()
void registerEMF(String unitName, String persistenceRootUri, org.glassfish.deployment.common.RootDeploymentDescriptor containingBundle, javax.persistence.EntityManagerFactory emf)
unitName - Name of correspoding PersistenceUnitpersistenceRootUri - URI within application (excluding META-INF) for root of corresponding PersistenceUnitcontainingBundle - The bundle that contains PU for the given EMFemf - The emf that needs to be registeredString getJTADataSourceOverride()
String getDefaultDataSourceName()
boolean isWeavingEnabled()
Copyright © 2013. All Rights Reserved.