congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
BeforeBeanDiscovery.configureInterceptorBinding
Code IndexAdd Tabnine to your IDE (free)

How to use
configureInterceptorBinding
method
in
javax.enterprise.inject.spi.BeforeBeanDiscovery

Best Java code snippets using javax.enterprise.inject.spi.BeforeBeanDiscovery.configureInterceptorBinding (Showing top 2 results out of 315)

origin: org.jboss.cdi.tck/cdi-tck-impl

  public void observeBeforeBeanDiscovery(@Observes BeforeBeanDiscovery event) {
    // turn annotation into qualifier
    event.configureQualifier(CustomQualifier.class);
    
    // turn annotation into binding
    event.configureInterceptorBinding(CustomBinding.class);
  }
}
origin: astefanutti/further-cdi

void addTimedInterceptorBinding(@Observes BeforeBeanDiscovery bbd) {
  bbd.configureInterceptorBinding(Timed.class).methods().forEach(method -> method.add(Nonbinding.Literal.INSTANCE));
}
javax.enterprise.inject.spiBeforeBeanDiscoveryconfigureInterceptorBinding

Javadoc

Obtains a new AnnotatedTypeConfigurator to configure a new javax.enterprise.inject.spi.AnnotatedTypeand declares it as an Interceptor binding type.

This is only required if you wish to make an annotation an interceptor binding type without adding InterceptorBinding to it and need to easily add other annotations (like javax.enterprise.util.Nonbinding on its members.

Popular methods of BeforeBeanDiscovery

  • addAnnotatedType
    Adds new annotated type for classes which are not picked up by the CDI container or if you like to a
  • addScope
    Declares a new scope.
  • addInterceptorBinding
    Declare a new interceptor binding via the information from the given AnnotatedType.
  • addQualifier
    Declare a new qualifier via the information from the given AnnotatedType.
  • addStereotype
    Declares a new stereotype.
  • configureQualifier
    Obtains a new AnnotatedTypeConfigurator to configure a new javax.enterprise.inject.spi.AnnotatedTyp

Popular in Java

  • Making http requests using okhttp
  • requestLocationUpdates (LocationManager)
  • putExtra (Intent)
  • setScale (BigDecimal)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now