Tabnine Logo
BeanMetaData.getDemands
Code IndexAdd Tabnine to your IDE (free)

How to use
getDemands
method
in
org.jboss.beans.metadata.spi.BeanMetaData

Best Java code snippets using org.jboss.beans.metadata.spi.BeanMetaData.getDemands (Showing top 2 results out of 315)

origin: org.jboss.microcontainer/jboss-kernel

  protected List<? extends MetaDataVisitorNode> internalApplyAnnotation(ClassInfo info, Demands annotation, BeanMetaData beanMetaData)
  {
   Set<DemandMetaData> demands = beanMetaData.getDemands();
   if (demands == null)
   {
     AbstractBeanMetaData abmd = checkIfNotAbstractBeanMetaDataSpecific(beanMetaData);
     demands = new HashSet<DemandMetaData>();
     abmd.setDemands(demands);
   }
   List<MetaDataVisitorNode> nodes = new ArrayList<MetaDataVisitorNode>();
   for(Demand demand : annotation.value())
   {
     AbstractDemandMetaData admd = new AbstractDemandMetaData(demand.value());
     admd.setWhenRequired(new ControllerState(demand.whenRequired()));
     if (isAttributePresent(demand.transformer()))
      admd.setTransformer(demand.transformer());
          if (demands.add(admd))
      nodes.add(admd);
   }
   return nodes;
  }
}
origin: org.jboss.switchboard/jboss-switchboard-mc-impl

Set<DemandMetaData> demands = builder.getBeanMetaData().getDemands();
if (demands != null)
org.jboss.beans.metadata.spiBeanMetaDatagetDemands

Javadoc

Get what this bean demands.

Popular methods of BeanMetaData

  • getName
    Get the name
  • getDepends
    Get what this bean depends.
  • getProperties
    Get the properties.
  • getSupplies
    Get what this bean supplies.
  • getAnnotations
    Get the annotations
  • getBean
    Get the bean.
  • getClassLoader
    Get the bean ClassLoader
  • getConstructor
    Get the constructor
  • setClassLoader
    Set the bean ClassLoader
  • clone
  • describeVisit
  • getAccessMode
    Get the access mode
  • describeVisit,
  • getAccessMode,
  • getAliases,
  • getCreate,
  • getDestroy,
  • getErrorHandlingMode,
  • getInstalls,
  • getMode,
  • getRelated

Popular in Java

  • Start an intent from android
  • addToBackStack (FragmentTransaction)
  • getApplicationContext (Context)
  • getSupportFragmentManager (FragmentActivity)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • JFileChooser (javax.swing)
  • Top Vim plugins
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