Tabnine Logo
ResourceAdaptersDescriptorImpl.createResourceAdapter
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using org.jboss.jca.embedded.dsl.resourceadapters10.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.resourceadapters10.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

  • Making http requests using okhttp
  • requestLocationUpdates (LocationManager)
  • startActivity (Activity)
  • getResourceAsStream (ClassLoader)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Top plugins for WebStorm
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