Tabnine Logo
DriversTypeImpl
Code IndexAdd Tabnine to your IDE (free)

How to use
DriversTypeImpl
in
org.jboss.jca.embedded.dsl.datasources12.impl

Best Java code snippets using org.jboss.jca.embedded.dsl.datasources12.impl.DriversTypeImpl (Showing top 6 results out of 315)

origin: org.jboss.ironjacamar/ironjacamar-embedded

/**
* If not already created, a new <code>drivers</code> element with the given value will be created.
* Otherwise, the existing <code>drivers</code> element will be returned.
* @return  a new or existing instance of <code>DriversType<DatasourcesType<T>></code> 
*/
public DriversType<DatasourcesType<T>> getOrCreateDrivers()
{
 Node node = childNode.getOrCreate("drivers");
 DriversType<DatasourcesType<T>> drivers = new DriversTypeImpl<DatasourcesType<T>>(this, "drivers", childNode, node);
 return drivers;
}
origin: org.jboss.ironjacamar/ironjacamar-embedded

/**
* If not already created, a new <code>driver</code> element will be created and returned.
* Otherwise, the first existing <code>driver</code> element will be returned.
* @return the instance defined for the element <code>driver</code> 
*/
public DriverType<DriversType<T>> getOrCreateDriver()
{
 List<Node> nodeList = childNode.get("driver");
 if (nodeList != null &&  nodeList.size() > 0)
 {
   return new DriverTypeImpl<DriversType<T>>(this, "driver", childNode, nodeList.get(0));
 }
 return createDriver();
}
origin: org.jboss.ironjacamar.jdk8/ironjacamar-embedded

/**
* If not already created, a new <code>driver</code> element will be created and returned.
* Otherwise, the first existing <code>driver</code> element will be returned.
* @return the instance defined for the element <code>driver</code> 
*/
public DriverType<DriversType<T>> getOrCreateDriver()
{
 List<Node> nodeList = childNode.get("driver");
 if (nodeList != null &&  nodeList.size() > 0)
 {
   return new DriverTypeImpl<DriversType<T>>(this, "driver", childNode, nodeList.get(0));
 }
 return createDriver();
}
origin: org.jboss.ironjacamar/ironjacamar-embedded

/**
* If not already created, a new <code>drivers</code> element with the given value will be created.
* Otherwise, the existing <code>drivers</code> element will be returned.
* @return  a new or existing instance of <code>DriversType<DatasourcesDescriptor></code> 
*/
public DriversType<DatasourcesDescriptor> getOrCreateDrivers()
{
 Node node = model.getOrCreate("drivers");
 DriversType<DatasourcesDescriptor> drivers = new DriversTypeImpl<DatasourcesDescriptor>(this, "drivers", model, node);
 return drivers;
}
origin: org.jboss.ironjacamar.jdk8/ironjacamar-embedded

/**
* If not already created, a new <code>drivers</code> element with the given value will be created.
* Otherwise, the existing <code>drivers</code> element will be returned.
* @return  a new or existing instance of <code>DriversType<DatasourcesDescriptor></code> 
*/
public DriversType<DatasourcesDescriptor> getOrCreateDrivers()
{
 Node node = model.getOrCreate("drivers");
 DriversType<DatasourcesDescriptor> drivers = new DriversTypeImpl<DatasourcesDescriptor>(this, "drivers", model, node);
 return drivers;
}
origin: org.jboss.ironjacamar.jdk8/ironjacamar-embedded

/**
* If not already created, a new <code>drivers</code> element with the given value will be created.
* Otherwise, the existing <code>drivers</code> element will be returned.
* @return  a new or existing instance of <code>DriversType<DatasourcesType<T>></code> 
*/
public DriversType<DatasourcesType<T>> getOrCreateDrivers()
{
 Node node = childNode.getOrCreate("drivers");
 DriversType<DatasourcesType<T>> drivers = new DriversTypeImpl<DatasourcesType<T>>(this, "drivers", childNode, node);
 return drivers;
}
org.jboss.jca.embedded.dsl.datasources12.implDriversTypeImpl

Javadoc

This class implements the driversType xsd type

Most used methods

  • <init>
  • createDriver
    Creates a new driver element

Popular in Java

  • Updating database using SQL prepared statement
  • getApplicationContext (Context)
  • getContentResolver (Context)
  • getExternalFilesDir (Context)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Top 12 Jupyter Notebook extensions
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