Tabnine Logo
ConnectionDefinitionsTypeImpl.createConnectionDefinition
Code IndexAdd Tabnine to your IDE (free)

How to use
createConnectionDefinition
method
in
org.jboss.jca.embedded.dsl.ironjacamar12.impl.ConnectionDefinitionsTypeImpl

Best Java code snippets using org.jboss.jca.embedded.dsl.ironjacamar12.impl.ConnectionDefinitionsTypeImpl.createConnectionDefinition (Showing top 2 results out of 315)

origin: org.jboss.ironjacamar/ironjacamar-embedded

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

/**
* If not already created, a new <code>connection-definition</code> element will be created and returned.
* Otherwise, the first existing <code>connection-definition</code> element will be returned.
* @return the instance defined for the element <code>connection-definition</code> 
*/
public ConnectionDefinitionType<ConnectionDefinitionsType<T>> getOrCreateConnectionDefinition()
{
 List<Node> nodeList = childNode.get("connection-definition");
 if (nodeList != null &&  nodeList.size() > 0)
 {
   return new ConnectionDefinitionTypeImpl<ConnectionDefinitionsType<T>>(this, "connection-definition", childNode, nodeList.get(0));
 }
 return createConnectionDefinition();
}
org.jboss.jca.embedded.dsl.ironjacamar12.implConnectionDefinitionsTypeImplcreateConnectionDefinition

Javadoc

Creates a new connection-definition element

Popular methods of ConnectionDefinitionsTypeImpl

  • <init>

Popular in Java

  • Making http post requests using okhttp
  • setScale (BigDecimal)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getContentResolver (Context)
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • JButton (javax.swing)
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Top Vim plugins
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