Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » cfg » [javadoc | source]
org.hibernate.cfg
public class: AnnotationConfiguration [javadoc | source]
java.lang.Object
   org.hibernate.cfg.Configuration
      org.hibernate.cfg.AnnotationConfiguration

All Implemented Interfaces:
    Serializable

Similar to the Configuration object but handles EJB3 and Hibernate specific annotations as a metadata facility
Field Summary
public static final  String ARTEFACT     
public static final  String DEFAULT_PRECEDENCE     
Fields inherited from org.hibernate.cfg.Configuration:
classes,  imports,  collections,  tables,  auxiliaryDatabaseObjects,  sqlFunctions,  namedQueries,  namedSqlQueries,  sqlResultSetMappings,  filterDefinitions,  secondPasses,  propertyReferences,  extendsQueue,  tableNameBinding,  columnNameBindingPerTable,  xmlHelper,  typeDefs,  namingStrategy,  settingsFactory
Constructor:
 public AnnotationConfiguration() 
 public AnnotationConfiguration(SettingsFactory sf) 
Method from org.hibernate.cfg.AnnotationConfiguration Summary:
add,   addAnnotatedClass,   addInputStream,   addPackage,   buildSessionFactory,   createExtendedMappings,   getReflectionManager,   orderAndFillHierarchy,   parseMappingElement,   reset,   secondPassCompile,   setCacheConcurrencyStrategy,   setCollectionCacheConcurrencyStrategy,   setPrecedence
Methods from org.hibernate.cfg.Configuration:
add,   addAuxiliaryDatabaseObject,   addCacheableFile,   addCacheableFile,   addClass,   addDirectory,   addDocument,   addFile,   addFile,   addFilterDefinition,   addInputStream,   addJar,   addProperties,   addResource,   addResource,   addSqlFunction,   addURL,   addXML,   buildMapping,   buildMappings,   buildSessionFactory,   buildSettings,   buildSettings,   configure,   configure,   configure,   configure,   configure,   createMappings,   doConfigure,   doConfigure,   findPossibleExtends,   generateDropSchemaScript,   generateSchemaCreationScript,   generateSchemaUpdateScript,   getClassMapping,   getClassMappings,   getCollectionMapping,   getCollectionMappings,   getConfigurationInputStream,   getEntityNotFoundDelegate,   getEntityResolver,   getEventListeners,   getFilterDefinitions,   getImports,   getInterceptor,   getNamedQueries,   getNamedSQLQueries,   getNamingStrategy,   getProperties,   getProperty,   getRootClassMapping,   getSessionFactoryObserver,   getSqlFunctions,   getSqlResultSetMappings,   getTableMappings,   mergeProperties,   parseMappingElement,   reset,   secondPassCompile,   secondPassCompileForeignKeys,   setCacheConcurrencyStrategy,   setCacheConcurrencyStrategy,   setCacheConcurrencyStrategy,   setCollectionCacheConcurrencyStrategy,   setCollectionCacheConcurrencyStrategy,   setEntityNotFoundDelegate,   setEntityResolver,   setInterceptor,   setListener,   setListener,   setListeners,   setListeners,   setNamingStrategy,   setProperties,   setProperty,   setSessionFactoryObserver,   validateSchema
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.cfg.AnnotationConfiguration Detail:
 protected  void add(Document doc) throws MappingException 
 public AnnotationConfiguration addAnnotatedClass(Class persistentClass) throws MappingException 
    Read a mapping from the class annotation metadata (JSR 175).
 public Configuration addInputStream(InputStream xmlInputStream) throws MappingException 
 public AnnotationConfiguration addPackage(String packageName) throws MappingException 
    Read package level metadata
 public SessionFactory buildSessionFactory() throws HibernateException 
 public ExtendedMappings createExtendedMappings() 
 public ReflectionManager getReflectionManager() 
 protected List orderAndFillHierarchy(List original) 
 protected  void parseMappingElement(Element subelement,
    String name) 
 protected  void reset() 
 protected  void secondPassCompile() throws MappingException 
 public  void setCacheConcurrencyStrategy(String clazz,
    String concurrencyStrategy,
    String region,
    boolean cacheLazyProperty) throws MappingException 
 public  void setCollectionCacheConcurrencyStrategy(String collectionRole,
    String concurrencyStrategy,
    String region) throws MappingException 
 public  void setPrecedence(String precedence)