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

How to use
createResourceAdapter
method
in
org.jboss.jca.embedded.dsl.resourceadapters12.impl.ResourceAdaptersDescriptorImpl

Best Java code snippets using org.jboss.jca.embedded.dsl.resourceadapters12.impl.ResourceAdaptersDescriptorImpl.createResourceAdapter (Showing top 2 results out of 315)

origin: org.jboss.ironjacamar/ironjacamar-embedded

/**
* If not already created, a new <code>resource-adapter</code> element will be created and returned.
* Otherwise, the first existing <code>resource-adapter</code> element will be returned.
* @return the instance defined for the element <code>resource-adapter</code> 
*/
public ResourceAdapterType<ResourceAdaptersDescriptor> getOrCreateResourceAdapter()
{
 List<Node> nodeList = model.get("resource-adapter");
 if (nodeList != null &&  nodeList.size() > 0)
 {
   return new ResourceAdapterTypeImpl<ResourceAdaptersDescriptor>(this, "resource-adapter", model, nodeList.get(0));
 }
 return createResourceAdapter();
}
origin: org.jboss.ironjacamar.jdk8/ironjacamar-embedded

/**
* If not already created, a new <code>resource-adapter</code> element will be created and returned.
* Otherwise, the first existing <code>resource-adapter</code> element will be returned.
* @return the instance defined for the element <code>resource-adapter</code> 
*/
public ResourceAdapterType<ResourceAdaptersDescriptor> getOrCreateResourceAdapter()
{
 List<Node> nodeList = model.get("resource-adapter");
 if (nodeList != null &&  nodeList.size() > 0)
 {
   return new ResourceAdapterTypeImpl<ResourceAdaptersDescriptor>(this, "resource-adapter", model, nodeList.get(0));
 }
 return createResourceAdapter();
}
org.jboss.jca.embedded.dsl.resourceadapters12.implResourceAdaptersDescriptorImplcreateResourceAdapter

Javadoc

Creates a new resource-adapter element

Popular methods of ResourceAdaptersDescriptorImpl

  • addDefaultNamespaces
    Adds the default namespaces as defined in the specification

Popular in Java

  • Parsing JSON documents to java classes using gson
  • scheduleAtFixedRate (ScheduledExecutorService)
  • runOnUiThread (Activity)
  • requestLocationUpdates (LocationManager)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Top 12 Jupyter Notebook Extensions
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