congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
AnnotationSessionFactoryBean.scanPackages
Code IndexAdd Tabnine to your IDE (free)

How to use
scanPackages
method
in
org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean

Best Java code snippets using org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean.scanPackages (Showing top 1 results out of 315)

origin: apache/servicemix-bundles

/**
 * Reads metadata from annotated classes and packages into the
 * AnnotationConfiguration instance.
 */
@Override
protected void postProcessMappings(Configuration config) throws HibernateException {
  if (this.annotatedClasses != null) {
    for (Class<?> annotatedClass : this.annotatedClasses) {
      config.addAnnotatedClass(annotatedClass);
    }
  }
  if (this.annotatedPackages != null) {
    for (String annotatedPackage : this.annotatedPackages) {
      config.addPackage(annotatedPackage);
    }
  }
  scanPackages(config);
}
org.springframework.orm.hibernate3.annotationAnnotationSessionFactoryBeanscanPackages

Javadoc

Perform Spring-based scanning for entity classes.

Popular methods of AnnotationSessionFactoryBean

  • <init>
  • setDataSource
  • setHibernateProperties
  • afterPropertiesSet
  • getObject
  • setAnnotatedClasses
  • setPackagesToScan
    Specify packages to search using Spring-based scanning for entity classes in the classpath. This is
  • getHibernateProperties
  • initialise
  • matchesEntityTypeFilter
    Check whether any of the configured entity type filters matches the current class descriptor contain
  • setConfigLocation
  • setConfigLocation

Popular in Java

  • Finding current android device location
  • compareTo (BigDecimal)
  • getSharedPreferences (Context)
  • setRequestProperty (URLConnection)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now