Tabnine Logo
IntactContext.initContext
Code IndexAdd Tabnine to your IDE (free)

How to use
initContext
method
in
uk.ac.ebi.intact.core.context.IntactContext

Best Java code snippets using uk.ac.ebi.intact.core.context.IntactContext.initContext (Showing top 7 results out of 315)

origin: uk.ac.ebi.intact.core/intact-core

/**
 * Initializes a standalone context.
 */
public static void initContext(String[] configurationResourcePaths) {
  initContext(configurationResourcePaths, null);
}
origin: uk.ac.ebi.intact.core/intact-core-readonly

/**
 * Initializes a standalone context.
 */
public static void initContext(String[] configurationResourcePaths) {
  initContext(configurationResourcePaths, null);
}
origin: uk.ac.ebi.intact.core/intact-core

public static void initStandaloneContextInMemory(ApplicationContext parent) {
  initContext(new String[]{"classpath*:/META-INF/standalone/*-standalone.spring.xml"}, parent);
}
origin: uk.ac.ebi.intact.core/intact-core-readonly

public static void initStandaloneContextInMemory(ApplicationContext parent) {
  initContext(new String[]{"classpath*:/META-INF/standalone/*-standalone.spring.xml"}, parent);
}
origin: uk.ac.ebi.intact.core/intact-core

/**
 * Initializes a standalone {@code IntactContext} using a memory database.
 */
public static void initStandaloneContextInMemory(IntactConfiguration config) {
  ConfigurableApplicationContext parent = new GenericApplicationContext();
  parent.getBeanFactory().registerSingleton("intactConfig", config);
  parent.refresh();
  initContext(new String[]{"classpath*:/META-INF/standalone/jpa-standalone.spring.xml",
      "classpath*:/META-INF/standalone/intact-standalone.spring.xml"}, parent);
}
origin: uk.ac.ebi.intact.core/intact-core-readonly

/**
 * Initializes a standalone {@code IntactContext} using a memory database.
 */
public static void initStandaloneContextInMemory(IntactConfiguration config) {
  ConfigurableApplicationContext parent = new GenericApplicationContext();
  parent.getBeanFactory().registerSingleton("intactConfig", config);
  parent.refresh();
  initContext(new String[]{"classpath*:/META-INF/standalone/jpa-standalone.spring.xml",
      "classpath*:/META-INF/standalone/intact-standalone.spring.xml"}, parent);
}
origin: uk.ac.ebi.intact.dbupdate/intact-biosource-update

IntactContext.initContext( new String[]{"/META-INF/"+ database +".spring.xml"} );
uk.ac.ebi.intact.core.contextIntactContextinitContext

Javadoc

Initializes a standalone context.

Popular methods of IntactContext

  • getCurrentInstance
    Gets the current (ThreadLocal) instance of IntactContext. If no such instance exist, IntAct Core wil
  • getDataContext
  • getInstitution
    Gets the institution from the RuntimeConfig object. In addition, tries to refresh the instance from
  • getDaoFactory
  • getCorePersister
  • currentInstanceExists
    Checks if an instance already exists.
  • getSpringContext
  • getLifecycleManager
    Gets the lifecycle manager for publications.
  • getPersisterHelper
  • bindToApplication
  • getApplication
  • getConfig
  • getApplication,
  • getConfig,
  • getConfigurationHandler,
  • getCoreDeleter,
  • getUserContext,
  • initStandaloneContextInMemory,
  • setApplication

Popular in Java

  • Start an intent from android
  • notifyDataSetChanged (ArrayAdapter)
  • runOnUiThread (Activity)
  • requestLocationUpdates (LocationManager)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • JComboBox (javax.swing)
  • Top Sublime Text 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