Tabnine Logo
DefaultActivationSpecs
Code IndexAdd Tabnine to your IDE (free)

How to use
DefaultActivationSpecs
in
org.jboss.ejb3.annotation

Best Java code snippets using org.jboss.ejb3.annotation.DefaultActivationSpecs (Showing top 4 results out of 315)

origin: org.jboss.ejb3/jboss-ejb3-core

public Map getActivationConfigProperties()
{
 HashMap result = new HashMap();
 MessageDriven mdAnnotation = (MessageDriven) resolveAnnotation(MessageDriven.class);
 for (ActivationConfigProperty property : mdAnnotation.activationConfig())
 {
   addActivationSpecProperty(result, property);
 }
 
 DefaultActivationSpecs defaultSpecsAnnotation = (DefaultActivationSpecs)resolveAnnotation(DefaultActivationSpecs.class);
 if (defaultSpecsAnnotation != null)
 {
   for (ActivationConfigProperty property : defaultSpecsAnnotation.value())
   {
    addActivationSpecProperty(result, property);
   }
 }
 
 return result;
}
origin: org.jboss.ejb3/jboss-ejb3-core

public Map<String, ActivationConfigPropertyMetaData> getActivationConfigProperties()
{
 Map<String, ActivationConfigPropertyMetaData> result = new HashMap<String, ActivationConfigPropertyMetaData>();
 Consumer annotation = (Consumer) resolveAnnotation(Consumer.class);
 for (ActivationConfigProperty property : annotation.activationConfig())
 {
   addActivationSpecProperty(result, property);
 }
 
 DefaultActivationSpecs defaultSpecsAnnotation = (DefaultActivationSpecs)resolveAnnotation(DefaultActivationSpecs.class);
 if (defaultSpecsAnnotation != null)
 {
   for (ActivationConfigProperty property : defaultSpecsAnnotation.value())
   {
    addActivationSpecProperty(result, property);
   }
 }
 
 return result;
}
origin: org.jboss.ejb3/jboss-ejb3-core

protected void populateActivationSpec()
{
 DefaultActivationSpecs defaultSpecs = (DefaultActivationSpecs) resolveAnnotation(DefaultActivationSpecs.class);
 if (defaultSpecs != null)
 {
   activationSpec.merge(defaultSpecs.value());
 }
 Consumer md = (Consumer) resolveAnnotation(Consumer.class);
 activationSpec.merge(md.activationConfig());
}
origin: org.jboss.ejb3/jboss-ejb3-core

  protected void populateActivationSpec()
  {
   DefaultActivationSpecs defaultSpecs = (DefaultActivationSpecs) resolveAnnotation(DefaultActivationSpecs.class);
   if (defaultSpecs != null)
   {
     activationSpec.merge(defaultSpecs.value());
   }

   MessageDriven md = (MessageDriven) resolveAnnotation(MessageDriven.class);

   activationSpec.merge(md.activationConfig());
  }
}
org.jboss.ejb3.annotationDefaultActivationSpecs

Most used methods

  • value

Popular in Java

  • Running tasks concurrently on multiple threads
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • setContentView (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Top 12 Jupyter Notebook extensions
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