congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
RepositorySessionFactory.isOpen
Code IndexAdd Tabnine to your IDE (free)

How to use
isOpen
method
in
org.apache.archiva.metadata.repository.RepositorySessionFactory

Best Java code snippets using org.apache.archiva.metadata.repository.RepositorySessionFactory.isOpen (Showing top 2 results out of 315)

origin: apache/archiva

@Override
protected RepositorySessionFactory createInstance()
  throws Exception
{
  RepositorySessionFactory repositorySessionFactory =
    getBeanFactory().getBean( "repositorySessionFactory#" + id, RepositorySessionFactory.class );
  logger.info( "create RepositorySessionFactory with id {} instance of {}", //
         id, //
         repositorySessionFactory.getClass().getName() );
  if (!repositorySessionFactory.isOpen()) {
    repositorySessionFactory.open();
  }
  return repositorySessionFactory;
}
origin: apache/archiva

@Override
protected RepositorySessionFactory createInstance()
  throws Exception
{
  RepositorySessionFactory repositorySessionFactory =
    getBeanFactory().getBean( "repositorySessionFactory#" + this.beanId, RepositorySessionFactory.class );
  logger.info( "create RepositorySessionFactory instance of {}", repositorySessionFactory.getClass().getName() );
  if (!repositorySessionFactory.isOpen()) {
    repositorySessionFactory.open();
  }
  return repositorySessionFactory;
}
org.apache.archiva.metadata.repositoryRepositorySessionFactoryisOpen

Popular methods of RepositorySessionFactory

  • createSession
  • open

Popular in Java

  • Start an intent from android
  • runOnUiThread (Activity)
  • getContentResolver (Context)
  • setRequestProperty (URLConnection)
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • JLabel (javax.swing)
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Top 17 Free Sublime Text Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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