javax.enterprise.inject.spi
Interface BeforeBeanDiscovery


public interface BeforeBeanDiscovery

Container fires this event before discovery of the beans process.

Version:
$Rev: 815435 $ $Date: 2009-09-15 20:18:44 +0200 (Tue, 15 Sep 2009) $

Method Summary
 void addAnnotatedType(AnnotatedType<?> type)
          Adds new annotated type.
 void addInterceptorBinding(Class<? extends Annotation> binding, Annotation... bindingDef)
          Declares a new interceptor binding.
 void addQualifier(Class<? extends Annotation> qualifier)
          Declares a new qualifier.
 void addScope(Class<? extends Annotation> scope, boolean normal, boolean passivating)
          Declares a new scope.
 void addStereotype(Class<? extends Annotation> stereotype, Annotation... stereotypeDef)
          Declares a new stereotype.
 

Method Detail

addQualifier

void addQualifier(Class<? extends Annotation> qualifier)
Declares a new qualifier.

Parameters:
qualifier - qualifier

addScope

void addScope(Class<? extends Annotation> scope,
              boolean normal,
              boolean passivating)
Declares a new scope.

Parameters:
scope - scope
normal - is normal or not
passivating - passivated or not

addStereotype

void addStereotype(Class<? extends Annotation> stereotype,
                   Annotation... stereotypeDef)
Declares a new stereotype.

Parameters:
stereotype - stereotype class
stereotypeDef - meta annotations

addInterceptorBinding

void addInterceptorBinding(Class<? extends Annotation> binding,
                           Annotation... bindingDef)
Declares a new interceptor binding.

Parameters:
binding - binding class
bindingDef - meta annotations

addAnnotatedType

void addAnnotatedType(AnnotatedType<?> type)
Adds new annotated type.

Parameters:
type - annotated type


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.