congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
PGXADataSourceFactory
Code IndexAdd Tabnine to your IDE (free)

How to use
PGXADataSourceFactory
in
org.postgresql.xa

Best Java code snippets using org.postgresql.xa.PGXADataSourceFactory (Showing top 8 results out of 315)

origin: org.postgresql/postgresql

 private Object loadXADataSource(Reference ref) {
  PGXADataSource ds = new PGXADataSource();
  return loadBaseDataSource(ds, ref);
 }
}
origin: postgresql/postgresql

public Object getObjectInstance(Object obj, Name name, Context nameCtx,
                Hashtable environment) throws Exception
{
  Reference ref = (Reference)obj;
  String className = ref.getClassName();
  if (className.equals("org.postgresql.xa.PGXADataSource"))
  {
    return loadXADataSource(ref);
  }
else 
  return null;
}
origin: postgresql/postgresql

  private Object loadXADataSource(Reference ref)
  {
    PGXADataSource ds = new PGXADataSource();
    return loadBaseDataSource(ds, ref);
  }
}
origin: org.postgresql/postgresql

public Object getObjectInstance(Object obj, Name name, Context nameCtx,
  Hashtable<?, ?> environment) throws Exception {
 Reference ref = (Reference) obj;
 String className = ref.getClassName();
 if (className.equals("org.postgresql.xa.PGXADataSource")) {
  return loadXADataSource(ref);
 } else {
  return null;
 }
}
origin: org.ancoron.postgresql/org.postgresql

  private Object loadXADataSource(Reference ref)
  {
    PGXADataSource ds = new PGXADataSource();
    return loadBaseDataSource(ds, ref);
  }
}
origin: org.ancoron.postgresql/org.postgresql.osgi

public Object getObjectInstance(Object obj, Name name, Context nameCtx,
                Hashtable environment) throws Exception
{
  Reference ref = (Reference)obj;
  String className = ref.getClassName();
  if (className.equals("org.postgresql.xa.PGXADataSource"))
  {
    return loadXADataSource(ref);
  }
else 
  return null;
}
origin: org.ancoron.postgresql/org.postgresql.osgi

  private Object loadXADataSource(Reference ref)
  {
    PGXADataSource ds = new PGXADataSource();
    return loadBaseDataSource(ds, ref);
  }
}
origin: org.ancoron.postgresql/org.postgresql

public Object getObjectInstance(Object obj, Name name, Context nameCtx,
                Hashtable environment) throws Exception
{
  Reference ref = (Reference)obj;
  String className = ref.getClassName();
  if (className.equals("org.postgresql.xa.PGXADataSource"))
  {
    return loadXADataSource(ref);
  }
else 
  return null;
}
org.postgresql.xaPGXADataSourceFactory

Javadoc

An ObjectFactory implementation for PGXADataSource-objects.

Most used methods

  • loadBaseDataSource
  • loadXADataSource

Popular in Java

  • Making http post requests using okhttp
  • putExtra (Intent)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setScale (BigDecimal)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • ImageIO (javax.imageio)
  • JCheckBox (javax.swing)
  • Top Vim 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