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

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

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

origin: org.jboss.kernel/jboss-weld-int

/**
* Checks if the context contains the passed in dependency
* 
* @param dependency the dependency to check
* @return true if the context contains the dependency
*/
private boolean containsDependency(DependencyMetaData dependency)
{
 return context.getBeanMetaData().getDepends() != null && context.getBeanMetaData().getDepends().contains(dependency);
}
origin: org.jboss.microcontainer/jboss-kernel

  protected List<? extends MetaDataVisitorNode> internalApplyAnnotation(ClassInfo info, Depends annotation, BeanMetaData beanMetaData)
  {
   Set<DependencyMetaData> dependencies = beanMetaData.getDepends();
   if (dependencies == null)
   {
     AbstractBeanMetaData abmd = checkIfNotAbstractBeanMetaDataSpecific(beanMetaData);
     dependencies = new HashSet<DependencyMetaData>();
     abmd.setDepends(dependencies);
   }
   List<MetaDataVisitorNode> nodes = new ArrayList<MetaDataVisitorNode>();
   for(String depends : annotation.value())
   {
     AbstractDependencyMetaData dependency = new AbstractDependencyMetaData(depends);
     if (dependencies.add(dependency))
      nodes.add(dependency);
   }
   return nodes;
  }
}
origin: org.jboss.switchboard/jboss-switchboard-mc-impl

Set<DependencyMetaData> dependencies = builder.getBeanMetaData().getDepends();
if (dependencies != null)
org.jboss.beans.metadata.spiBeanMetaDatagetDepends

Javadoc

Get what this bean depends.

Popular methods of BeanMetaData

  • getName
    Get the name
  • 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
  • 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

  • Parsing JSON documents to java classes using gson
  • findViewById (Activity)
  • setScale (BigDecimal)
  • compareTo (BigDecimal)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • JFrame (javax.swing)
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Best IntelliJ 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