Tabnine Logo
JNDIResourceModel.isAssociatedWithApplication
Code IndexAdd Tabnine to your IDE (free)

How to use
isAssociatedWithApplication
method
in
org.jboss.windup.rules.apps.javaee.model.JNDIResourceModel

Best Java code snippets using org.jboss.windup.rules.apps.javaee.model.JNDIResourceModel.isAssociatedWithApplication (Showing top 4 results out of 315)

origin: windup/windup

/**
 * Create unique; if existing convert an existing {@link JNDIResourceModel} if one exists.
 */
public synchronized JNDIResourceModel createUnique(Set<ProjectModel> applications, String jndiName)
{
  JNDIResourceModel jndiResourceModel = getUniqueByProperty(JNDIResourceModel.JNDI_LOCATION, jndiName);
  if (jndiResourceModel == null)
  {
    jndiResourceModel = super.create();
    jndiResourceModel.setJndiLocation(jndiName);
    jndiResourceModel.setApplications(applications);
  }
  else
  {
    for (ProjectModel application : applications)
    {
      if (!jndiResourceModel.isAssociatedWithApplication(application))
        jndiResourceModel.addApplication(application);
    }
  }
  return jndiResourceModel;
}
origin: org.jboss.windup.rules.apps/windup-rules-java-ee

/**
 * Create unique; if existing convert an existing {@link JNDIResourceModel} if one exists.
 */
public synchronized JNDIResourceModel createUnique(Set<ProjectModel> applications, String jndiName)
{
  JNDIResourceModel jndiResourceModel = getUniqueByProperty(JNDIResourceModel.JNDI_LOCATION, jndiName);
  if (jndiResourceModel == null)
  {
    jndiResourceModel = super.create();
    jndiResourceModel.setJndiLocation(jndiName);
    jndiResourceModel.setApplications(applications);
  }
  else
  {
    for (ProjectModel application : applications)
    {
      if (!jndiResourceModel.isAssociatedWithApplication(application))
        jndiResourceModel.addApplication(application);
    }
  }
  return jndiResourceModel;
}
origin: org.jboss.windup.rules.apps/windup-rules-java-ee

if (!jndi.isAssociatedWithApplication(application))
  continue;
origin: windup/windup

if (!jndi.isAssociatedWithApplication(application))
  continue;
org.jboss.windup.rules.apps.javaee.modelJNDIResourceModelisAssociatedWithApplication

Javadoc

Indicates whether this JNDIResourceModel is associated with the given application.

Popular methods of JNDIResourceModel

  • addApplication
    Contains the application in which this JNDI resource was discovered.
  • getApplications
    Contains the application in which this JNDI resource was discovered.
  • setApplications
    Contains the application in which this JNDI resource was discovered.
  • setJndiLocation
    Contains JNDI Location

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSystemService (Context)
  • getContentResolver (Context)
  • getApplicationContext (Context)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • 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