|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ProviderContainerContractInfo
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_DS_NAME
|
| Method Summary | |
|---|---|
void |
addTransformer(javax.persistence.spi.ClassTransformer transformer)
Adds ClassTransformer to underlying Application's classloader |
java.lang.String |
getApplicationLocation()
|
java.lang.ClassLoader |
getClassLoader()
|
java.lang.String |
getDefaultDataSourceName()
|
DeploymentContext |
getDeploymentContext()
|
java.lang.String |
getJTADataSourceOverride()
|
java.lang.ClassLoader |
getTempClassloader()
|
javax.validation.ValidatorFactory |
getValidatorFactory()
get instance of ValidatorFactory for this environment |
boolean |
isJava2DBRequired()
Will be called while loading an application. |
boolean |
isWeavingEnabled()
|
javax.sql.DataSource |
lookupDataSource(java.lang.String dataSourceName)
Looks up DataSource with JNDI name given by dataSourceName |
javax.sql.DataSource |
lookupNonTxDataSource(java.lang.String dataSourceName)
Looks up Non transactional DataSource with JNDI name given by dataSourceName |
void |
registerEMF(java.lang.String unitName,
java.lang.String persistenceRootUri,
RootDeploymentDescriptor containingBundle,
javax.persistence.EntityManagerFactory emf)
Register the give emf with underlying container |
| Field Detail |
|---|
static final java.lang.String DEFAULT_DS_NAME
| Method Detail |
|---|
java.lang.ClassLoader getClassLoader()
java.lang.ClassLoader getTempClassloader()
void addTransformer(javax.persistence.spi.ClassTransformer transformer)
java.lang.String getApplicationLocation()
javax.sql.DataSource lookupDataSource(java.lang.String dataSourceName)
throws javax.naming.NamingException
dataSourceName
dataSourceName -
dataSourceName
javax.naming.NamingException
javax.sql.DataSource lookupNonTxDataSource(java.lang.String dataSourceName)
throws javax.naming.NamingException
dataSourceName
dataSourceName -
dataSourceName
javax.naming.NamingExceptionjavax.validation.ValidatorFactory getValidatorFactory()
boolean isJava2DBRequired()
DeploymentContext getDeploymentContext()
void registerEMF(java.lang.String unitName,
java.lang.String persistenceRootUri,
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 registeredjava.lang.String getJTADataSourceOverride()
java.lang.String getDefaultDataSourceName()
boolean isWeavingEnabled()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||