Tabnine Logo
EISLogin.getConnectionSpec
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: com.haulmont.thirdparty/eclipselink

/**
 * PUBLIC:
 * Set the JNDI URL for the managed connection factory for the JCA adapter connecting to.
 */
public void setConnectionFactoryURL(String url) {
  if ((url == null) || (url.length() == 0)) {
    return;
  }
  getConnectionSpec().setName(url);
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * PUBLIC:
 * Set the JNDI URL for the managed connection factory for the JCA adapter connecting to.
 */
public void setConnectionFactoryURL(String url) {
  if ((url == null) || (url.length() == 0)) {
    return;
  }
  getConnectionSpec().setName(url);
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * PUBLIC:
 * Set the JNDI URL for the managed connection factory for the JCA adapter connecting to.
 */
public void setConnectionFactoryURL(String url) {
  if ((url == null) || (url.length() == 0)) {
    return;
  }
  getConnectionSpec().setName(url);
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * PUBLIC:
 * Return the JNDI URL for the managed connection factory for the JCA adapter connecting to.
 */
public String getConnectionFactoryURL() {
  if ((getConnectionSpec().getName() == null) || (getConnectionSpec().getName().size() == 0)) {
    return null;
  }
  return getConnectionSpec().getName().get(0);
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * PUBLIC:
 * Return the JNDI URL for the managed connection factory for the JCA adapter connecting to.
 */
public String getConnectionFactoryURL() {
  if ((getConnectionSpec().getName() == null) || (getConnectionSpec().getName().size() == 0)) {
    return null;
  }
  return getConnectionSpec().getName().get(0);
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * PUBLIC:
 * Return the JNDI URL for the managed connection factory for the JCA adapter connecting to.
 */
public String getConnectionFactoryURL() {
  if ((getConnectionSpec().getName() == null) || (getConnectionSpec().getName().size() == 0)) {
    return null;
  }
  return getConnectionSpec().getName().get(0);
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Connect to the EIS adapter and return the Connection.
 */
public Object connectToDatasource(Accessor accessor, Session session) {
  return getConnectionSpec().connectToDataSource((EISAccessor)accessor, getProperties());
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * Connect to the EIS adapter and return the Connection.
 */
public Object connectToDatasource(Accessor accessor, Session session) {
  return getConnectionSpec().connectToDataSource((EISAccessor)accessor, getProperties());
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Connect to the EIS adapter and return the Connection.
 */
public Object connectToDatasource(Accessor accessor, Session session) {
  return getConnectionSpec().connectToDataSource((EISAccessor)accessor, getProperties());
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

method.addLine("login.setConnectionSpec(new " + eisLogin.getConnectionSpec().getClass().getName() + "());");
if (eisLogin.getConnectionFactoryURL() != null) {
  method.addLine("login.setConnectionFactoryURL(\"" + eisLogin.getConnectionFactoryURL() + "\");");
origin: org.eclipse.persistence/org.eclipse.persistence.core

method.addLine("login.setConnectionSpec(new " + eisLogin.getConnectionSpec().getClass().getName() + "());");
if (eisLogin.getConnectionFactoryURL() != null) {
  method.addLine("login.setConnectionFactoryURL(\"" + eisLogin.getConnectionFactoryURL() + "\");");
origin: com.haulmont.thirdparty/eclipselink

method.addLine("login.setConnectionSpec(new " + eisLogin.getConnectionSpec().getClass().getName() + "());");
if (eisLogin.getConnectionFactoryURL() != null) {
  method.addLine("login.setConnectionFactoryURL(\"" + eisLogin.getConnectionFactoryURL() + "\");");
org.eclipse.persistence.eisEISLogingetConnectionSpec

Javadoc

Return the connector. The connector defines how the connection is created.

Popular methods of EISLogin

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

Popular in Java

  • Parsing JSON documents to java classes using gson
  • requestLocationUpdates (LocationManager)
  • setScale (BigDecimal)
  • setRequestProperty (URLConnection)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • 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
  • Runner (org.openjdk.jmh.runner)
  • CodeWhisperer alternatives
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