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

How to use
setConnectionFactoryURL
method
in
org.eclipse.persistence.eis.EISLogin

Best Java code snippets using org.eclipse.persistence.eis.EISLogin.setConnectionFactoryURL (Showing top 3 results out of 315)

origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Wrapped by the getLogin() call, therefore, config can't be null at this
 * point.
 */
protected Login buildEISLoginConfig(EISLoginConfig eisLoginConfig) {
  EISLogin eisLogin = new EISLogin();
  // Connection Spec
  String specClassName = eisLoginConfig.getConnectionSpecClass();
  if (specClassName != null) {
    try {
      Class specClass = m_classLoader.loadClass(specClassName);
      EISConnectionSpec spec = null;
      if (PrivilegedAccessHelper.shouldUsePrivilegedAccess()){
        spec = (EISConnectionSpec)AccessController.doPrivileged(new PrivilegedNewInstanceFromClass(specClass));
      }else{
        spec = (EISConnectionSpec)PrivilegedAccessHelper.newInstanceFromClass(specClass);
      }
      eisLogin.setConnectionSpec(spec);
    } catch (Exception exception) {
      throw SessionLoaderException.failedToLoadTag("connection-spec-class", specClassName, exception);
    }
  }
  // Connection Factory URL, setConnectionFactoryURL checks for null
  eisLogin.setConnectionFactoryURL(eisLoginConfig.getConnectionFactoryURL());
  // Process the common elements in LoginConfig
  processLoginConfig(eisLoginConfig, eisLogin);
  // Finally, return the newly created EISLogin
  return eisLogin;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Wrapped by the getLogin() call, therefore, config can't be null at this
 * point.
 */
protected Login buildEISLoginConfig(EISLoginConfig eisLoginConfig) {
  EISLogin eisLogin = new EISLogin();
  // Connection Spec
  String specClassName = eisLoginConfig.getConnectionSpecClass();
  if (specClassName != null) {
    try {
      Class specClass = m_classLoader.loadClass(specClassName);
      EISConnectionSpec spec = null;
      if (PrivilegedAccessHelper.shouldUsePrivilegedAccess()){
        spec = (EISConnectionSpec)AccessController.doPrivileged(new PrivilegedNewInstanceFromClass(specClass));
      }else{
        spec = (EISConnectionSpec)PrivilegedAccessHelper.newInstanceFromClass(specClass);
      }
      eisLogin.setConnectionSpec(spec);
    } catch (Exception exception) {
      throw SessionLoaderException.failedToLoadTag("connection-spec-class", specClassName, exception);
    }
  }
  // Connection Factory URL, setConnectionFactoryURL checks for null
  eisLogin.setConnectionFactoryURL(eisLoginConfig.getConnectionFactoryURL());
  // Process the common elements in LoginConfig
  processLoginConfig(eisLoginConfig, eisLogin);
  // Finally, return the newly created EISLogin
  return eisLogin;
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Wrapped by the getLogin() call, therefore, config can't be null at this
 * point.
 */
protected Login buildEISLoginConfig(EISLoginConfig eisLoginConfig) {
  EISLogin eisLogin = new EISLogin();
  // Connection Spec
  String specClassName = eisLoginConfig.getConnectionSpecClass();
  if (specClassName != null) {
    try {
      Class specClass = m_classLoader.loadClass(specClassName);
      EISConnectionSpec spec = null;
      if (PrivilegedAccessHelper.shouldUsePrivilegedAccess()){
        spec = (EISConnectionSpec)AccessController.doPrivileged(new PrivilegedNewInstanceFromClass(specClass));
      }else{
        spec = (EISConnectionSpec)PrivilegedAccessHelper.newInstanceFromClass(specClass);
      }
      eisLogin.setConnectionSpec(spec);
    } catch (Exception exception) {
      throw SessionLoaderException.failedToLoadTag("connection-spec-class", specClassName, exception);
    }
  }
  // Connection Factory URL, setConnectionFactoryURL checks for null
  eisLogin.setConnectionFactoryURL(eisLoginConfig.getConnectionFactoryURL());
  // Process the common elements in LoginConfig
  processLoginConfig(eisLoginConfig, eisLogin);
  // Finally, return the newly created EISLogin
  return eisLogin;
}
org.eclipse.persistence.eisEISLoginsetConnectionFactoryURL

Javadoc

PUBLIC: Set the JNDI URL for the managed connection factory for the JCA adapter connecting to.

Popular methods of EISLogin

  • <init>
    Constructor.
  • getConnectionFactoryURL
    PUBLIC: Return the JNDI URL for the managed connection factory for the JCA adapter connecting to.
  • getConnectionSpec
    Return the connector. The connector defines how the connection is created.
  • getConnector
  • getProperties
  • removeProperty
  • setConnectionSpec
    PUBLIC: Set the EclipseLink connection spec. The connection spec defines how to connect to the EIS a
  • setConnector
  • setProperty
  • setDatasourcePlatform

Popular in Java

  • Start an intent from android
  • getApplicationContext (Context)
  • scheduleAtFixedRate (Timer)
  • onRequestPermissionsResult (Fragment)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Collectors (java.util.stream)
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Top 17 PhpStorm 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