net.java.ao
Interface EntityManagerConfiguration


public interface EntityManagerConfiguration

This represents a configuration for entity manager creation.


Method Summary
 EntityInfoResolverFactory getEntityInfoResolverFactory()
          Gets a EntityInfo factory to use when parsing the schema configuration annotated on the entity type
 NameConverters getNameConverters()
          Gets the name converters to be used with the (to be) configured EntityManager.
 SchemaConfiguration getSchemaConfiguration()
          Gets the schema configuration to be used with the (to be) configured EntityManager
 boolean useWeakCache()
          Whether or not the EntityManager should use weak references for caching
 

Method Detail

useWeakCache

boolean useWeakCache()
Whether or not the EntityManager should use weak references for caching

Returns:
true if the entity manager should use weak references for caching.

getNameConverters

NameConverters getNameConverters()
Gets the name converters to be used with the (to be) configured EntityManager.

Returns:
a non-null name converter

getSchemaConfiguration

SchemaConfiguration getSchemaConfiguration()
Gets the schema configuration to be used with the (to be) configured EntityManager

Returns:
a non-null schema configuration

getEntityInfoResolverFactory

EntityInfoResolverFactory getEntityInfoResolverFactory()
Gets a EntityInfo factory to use when parsing the schema configuration annotated on the entity type

Returns:
a non-null EntityInfo factory


Copyright © 2007-2014. All Rights Reserved.