public class AndroidPersistenceParserImpl extends Object implements PersistenceParser
| Constructor and Description |
|---|
AndroidPersistenceParserImpl(Map<String,String> properties,
String[] classes) |
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getClassloader()
Returns the classloader of the PersistenceParser.
|
DataSource |
getJtaDataSource()
Returns the JTA datasource JNDI name.
|
MetadataImpl |
getMetadata()
Returns the metadata of the parser.
|
DataSource |
getNonJtaDataSource()
Returns the non-JTA datasource JNDI name.
|
Map<String,Object> |
getProperties()
Returns the properties of the persistence unit.
|
String |
getProvider()
Returns the persistence provider.
|
javax.persistence.SharedCacheMode |
getSharedCacheMode()
Returns the specification of how the provider must use a second-level cache for the persistence unit.
|
boolean |
hasValidators()
Returns if the persistence unit has validators
|
public ClassLoader getClassloader()
getClassloader in interface PersistenceParserpublic DataSource getJtaDataSource()
getJtaDataSource in interface PersistenceParserpublic MetadataImpl getMetadata()
getMetadata in interface PersistenceParserpublic DataSource getNonJtaDataSource()
getNonJtaDataSource in interface PersistenceParserpublic Map<String,Object> getProperties()
getProperties in interface PersistenceParserpublic String getProvider()
getProvider in interface PersistenceParserpublic javax.persistence.SharedCacheMode getSharedCacheMode()
getSharedCacheMode in interface PersistenceParserpublic boolean hasValidators()
hasValidators in interface PersistenceParserCopyright © 2012-2013 Batoo. All Rights Reserved.