Codota Logo
PGXADataSourceFactory
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
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

  • Creating JSON documents from java classes using gson
  • scheduleAtFixedRate (Timer)
  • putExtra (Intent)
  • findViewById (Activity)
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • LinkedHashMap (java.util)
    Hash table and linked list implementation of the Map interface, with predictable iteration order. Th
  • StringTokenizer (java.util)
    The string tokenizer class allows an application to break a string into tokens. The tokenization met
  • ImageIO (javax.imageio)
  • JCheckBox (javax.swing)
  • JList (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now