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

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

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

origin: org.jboss.microcontainer/jboss-kernel

public void removeSupplies(KernelControllerContext context)
 Set<SupplyMetaData> supplies = metaData.getSupplies();
 if (supplies != null)
origin: org.jboss.microcontainer/jboss-kernel

public void addSupplies(KernelControllerContext context)
 Set<SupplyMetaData> supplies = metaData.getSupplies();
 if (supplies != null)
origin: org.jboss.microcontainer/jboss-kernel

  protected List<? extends MetaDataVisitorNode> internalApplyAnnotation(ClassInfo info, Supplys annotation, BeanMetaData beanMetaData)
  {
   Set<SupplyMetaData> supplies = beanMetaData.getSupplies();
   if (supplies == null)
   {
     AbstractBeanMetaData abmd = checkIfNotAbstractBeanMetaDataSpecific(beanMetaData);
     supplies = new HashSet<SupplyMetaData>();
     abmd.setSupplies(supplies);
   }
   List<MetaDataVisitorNode> nodes = new ArrayList<MetaDataVisitorNode>();
   for(Supply supply : annotation.value())
   {
     AbstractSupplyMetaData asmd = new AbstractSupplyMetaData(supply.value());
     if (isAttributePresent(supply.type()))
      asmd.setType(supply.type().getName());
          if (supplies.add(asmd))
      nodes.add(asmd);
   }
   return nodes;
  }
}
origin: org.jboss.microcontainer/jboss-kernel

protected List<? extends MetaDataVisitorNode> internalApplyAnnotation(ClassInfo info, MetaData retrieval, Annotation annotation, BeanMetaData beanMetaData) throws Throwable
{
 Set<SupplyMetaData> supplies = beanMetaData.getSupplies();
 if (supplies == null)
 {
   AbstractBeanMetaData abmd = checkIfNotAbstractBeanMetaDataSpecific(beanMetaData);
   supplies = new HashSet<SupplyMetaData>();
   abmd.setSupplies(supplies);
   return applyAnnotationsSupply(annotation, supplies);
 }
 AnnotationsSupply as = findAnnotationsSupply(supplies);
 if (as == null)
   return applyAnnotationsSupply(annotation, supplies);
 else
 {
   as.addAnnotation(annotation);
   return null;
 }
}
origin: org.jboss.switchboard/jboss-switchboard-mc-impl

Set<SupplyMetaData> supplies = builder.getBeanMetaData().getSupplies();
if (supplies != null)
origin: org.jboss.jbossas/jboss-as-server

log.info("  with dependencies:");
log.info("  and supplies:");
for(SupplyMetaData smd : mcbmd.getSupplies())
org.jboss.beans.metadata.spiBeanMetaDatagetSupplies

Javadoc

Get what this bean supplies.

Popular methods of BeanMetaData

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

Popular in Java

  • Creating JSON documents from java classes using gson
  • startActivity (Activity)
  • setScale (BigDecimal)
  • findViewById (Activity)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • 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
  • Github Copilot alternatives
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