Tabnine Logo
DestinationMapEntry.getValue
Code IndexAdd Tabnine to your IDE (free)

How to use
getValue
method
in
org.apache.activemq.filter.DestinationMapEntry

Best Java code snippets using org.apache.activemq.filter.DestinationMapEntry.getValue (Showing top 5 results out of 315)

origin: apache/activemq

/**
 * A helper method to allow the destination map to be populated from a
 * dependency injection framework such as Spring
 */
@SuppressWarnings({"rawtypes"})
protected void setEntries(List<DestinationMapEntry> entries) {
  for (Object element : entries) {
    Class<? extends DestinationMapEntry> type = getEntryClass();
    if (type.isInstance(element)) {
      DestinationMapEntry entry = (DestinationMapEntry) element;
      put(entry.getDestination(), entry.getValue());
    } else {
      throw new IllegalArgumentException("Each entry must be an instance of type: " + type.getName() + " but was: " + element);
    }
  }
}
origin: pierre/meteo

/**
 * A helper method to allow the destination map to be populated from a
 * dependency injection framework such as Spring
 */
protected void setEntries(List entries) {
  for (Iterator iter = entries.iterator(); iter.hasNext();) {
    Object element = (Object)iter.next();
    Class type = getEntryClass();
    if (type.isInstance(element)) {
      DestinationMapEntry entry = (DestinationMapEntry)element;
      put(entry.getDestination(), entry.getValue());
    } else {
      throw new IllegalArgumentException("Each entry must be an instance of type: " + type.getName() + " but was: " + element);
    }
  }
}
origin: org.apache.activemq/activemq-client

/**
 * A helper method to allow the destination map to be populated from a
 * dependency injection framework such as Spring
 */
@SuppressWarnings({"rawtypes"})
protected void setEntries(List<DestinationMapEntry> entries) {
  for (Object element : entries) {
    Class<? extends DestinationMapEntry> type = getEntryClass();
    if (type.isInstance(element)) {
      DestinationMapEntry entry = (DestinationMapEntry) element;
      put(entry.getDestination(), entry.getValue());
    } else {
      throw new IllegalArgumentException("Each entry must be an instance of type: " + type.getName() + " but was: " + element);
    }
  }
}
origin: org.apache.activemq/activemq-all

/**
 * A helper method to allow the destination map to be populated from a
 * dependency injection framework such as Spring
 */
@SuppressWarnings({"rawtypes"})
protected void setEntries(List<DestinationMapEntry> entries) {
  for (Object element : entries) {
    Class<? extends DestinationMapEntry> type = getEntryClass();
    if (type.isInstance(element)) {
      DestinationMapEntry entry = (DestinationMapEntry) element;
      put(entry.getDestination(), entry.getValue());
    } else {
      throw new IllegalArgumentException("Each entry must be an instance of type: " + type.getName() + " but was: " + element);
    }
  }
}
origin: org.apache.activemq/activemq-osgi

/**
 * A helper method to allow the destination map to be populated from a
 * dependency injection framework such as Spring
 */
@SuppressWarnings({"rawtypes"})
protected void setEntries(List<DestinationMapEntry> entries) {
  for (Object element : entries) {
    Class<? extends DestinationMapEntry> type = getEntryClass();
    if (type.isInstance(element)) {
      DestinationMapEntry entry = (DestinationMapEntry) element;
      put(entry.getDestination(), entry.getValue());
    } else {
      throw new IllegalArgumentException("Each entry must be an instance of type: " + type.getName() + " but was: " + element);
    }
  }
}
org.apache.activemq.filterDestinationMapEntrygetValue

Popular methods of DestinationMapEntry

  • compareTo
  • getDestination
  • setDestination
  • afterPropertiesSet

Popular in Java

  • Parsing JSON documents to java classes using gson
  • startActivity (Activity)
  • compareTo (BigDecimal)
  • setRequestProperty (URLConnection)
  • String (java.lang)
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Runner (org.openjdk.jmh.runner)
  • 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