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

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

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

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>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>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/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.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.datasources13.implDriversTypeImpl

Javadoc

This class implements the driversType xsd type

Most used methods

  • <init>
  • createDriver
    Creates a new driver element

Popular in Java

  • Running tasks concurrently on multiple threads
  • getApplicationContext (Context)
  • onCreateOptionsMenu (Activity)
  • findViewById (Activity)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Reference (javax.naming)
  • 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