Tabnine Logo
OpenEntityManagerAspect.createEntityManagerFactoryKey
Code IndexAdd Tabnine to your IDE (free)

How to use
createEntityManagerFactoryKey
method
in
org.apereo.portal.jpa.OpenEntityManagerAspect

Best Java code snippets using org.apereo.portal.jpa.OpenEntityManagerAspect.createEntityManagerFactoryKey (Showing top 2 results out of 315)

origin: Jasig/uPortal

/**
 * Get the EntityManagerFactory that this filter should use.
 *
 * @return the EntityManagerFactory to use
 * @see #lookupEntityManagerFactory(OpenEntityManager)
 */
protected EntityManagerFactory getEntityManagerFactory(OpenEntityManager openEntityManager) {
  final CacheKey key = this.createEntityManagerFactoryKey(openEntityManager);
  EntityManagerFactory emf = this.entityManagerFactories.get(key);
  if (emf == null) {
    emf = this.lookupEntityManagerFactory(openEntityManager);
    this.entityManagerFactories.put(key, emf);
  }
  return emf;
}
origin: org.jasig.portal/uPortal-rdbm

/**
 * Get the EntityManagerFactory that this filter should use.
 *
 * @return the EntityManagerFactory to use
 * @see #lookupEntityManagerFactory(OpenEntityManager)
 */
protected EntityManagerFactory getEntityManagerFactory(OpenEntityManager openEntityManager) {
  final CacheKey key = this.createEntityManagerFactoryKey(openEntityManager);
  EntityManagerFactory emf = this.entityManagerFactories.get(key);
  if (emf == null) {
    emf = this.lookupEntityManagerFactory(openEntityManager);
    this.entityManagerFactories.put(key, emf);
  }
  return emf;
}
org.apereo.portal.jpaOpenEntityManagerAspectcreateEntityManagerFactoryKey

Popular methods of OpenEntityManagerAspect

  • createEntityManager
    Create a JPA EntityManager to be bound to a request.Can be overridden in subclasses.
  • getEntityManagerFactory
    Get the EntityManagerFactory that this filter should use.
  • getTransactionalEntityManager
    Obtain the transactional EntityManager for this accessor's EntityManagerFactory, if any.
  • lookupEntityManagerFactory
    Look up the EntityManagerFactory that this filter should use.The default implementation looks for a

Popular in Java

  • Reactive rest calls using spring rest template
  • runOnUiThread (Activity)
  • onRequestPermissionsResult (Fragment)
  • setContentView (Activity)
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • JTable (javax.swing)
  • Best IntelliJ plugins
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