Tabnine Logo
PGObjectFactory.loadPoolingDataSource
Code IndexAdd Tabnine to your IDE (free)

How to use
loadPoolingDataSource
method
in
org.postgresql.ds.common.PGObjectFactory

Best Java code snippets using org.postgresql.ds.common.PGObjectFactory.loadPoolingDataSource (Showing top 4 results out of 315)

origin: org.postgresql/postgresql

/**
 * Dereferences a PostgreSQL DataSource. Other types of references are ignored.
 */
public Object getObjectInstance(Object obj, Name name, Context nameCtx,
  Hashtable<?, ?> environment) throws Exception {
 Reference ref = (Reference) obj;
 String className = ref.getClassName();
 // Old names are here for those who still use them
 if (className.equals("org.postgresql.ds.PGSimpleDataSource")
   || className.equals("org.postgresql.jdbc2.optional.SimpleDataSource")
   || className.equals("org.postgresql.jdbc3.Jdbc3SimpleDataSource")) {
  return loadSimpleDataSource(ref);
 } else if (className.equals("org.postgresql.ds.PGConnectionPoolDataSource")
   || className.equals("org.postgresql.jdbc2.optional.ConnectionPool")
   || className.equals("org.postgresql.jdbc3.Jdbc3ConnectionPool")) {
  return loadConnectionPool(ref);
 } else if (className.equals("org.postgresql.ds.PGPoolingDataSource")
   || className.equals("org.postgresql.jdbc2.optional.PoolingDataSource")
   || className.equals("org.postgresql.jdbc3.Jdbc3PoolingDataSource")) {
  return loadPoolingDataSource(ref);
 } else {
  return null;
 }
}
origin: postgresql/postgresql

   || className.equals("org.postgresql.jdbc3.Jdbc3PoolingDataSource"))
return loadPoolingDataSource(ref);
origin: org.ancoron.postgresql/org.postgresql.osgi

   || className.equals("org.postgresql.jdbc3.Jdbc3PoolingDataSource"))
return loadPoolingDataSource(ref);
origin: org.ancoron.postgresql/org.postgresql

   || className.equals("org.postgresql.jdbc3.Jdbc3PoolingDataSource"))
return loadPoolingDataSource(ref);
org.postgresql.ds.commonPGObjectFactoryloadPoolingDataSource

Popular methods of PGObjectFactory

  • getProperty
  • loadBaseDataSource
  • loadConnectionPool
  • loadSimpleDataSource

Popular in Java

  • Making http requests using okhttp
  • getResourceAsStream (ClassLoader)
  • onCreateOptionsMenu (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • JButton (javax.swing)
  • Top 15 Vim 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