Tabnine Logo
RepositorySessionFactory.open
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using org.apache.archiva.metadata.repository.RepositorySessionFactory.open (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.repositoryRepositorySessionFactoryopen

Popular methods of RepositorySessionFactory

  • createSession
  • isOpen

Popular in Java

  • Updating database using SQL prepared statement
  • getContentResolver (Context)
  • getExternalFilesDir (Context)
  • setRequestProperty (URLConnection)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Join (org.hibernate.mapping)
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • 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