|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.seam.solder.bean.Beans
public class Beans
A set of utility methods for working with beans.
| Method Summary | ||
|---|---|---|
static void |
checkReturnValue(Object instance,
Bean<?> bean,
InjectionPoint injectionPoint,
BeanManager beanManager)
|
|
static
|
createInjectionPoints(AnnotatedMethod<X> method,
Bean<?> declaringBean,
BeanManager beanManager)
Given a method, and the bean on which the method is declared, create a collection of injection points representing the parameters of the method. |
|
static Set<Annotation> |
getQualifiers(BeanManager beanManager,
Annotation[]... annotations)
Extract the qualifiers from a set of annotations. |
|
static Set<Annotation> |
getQualifiers(BeanManager beanManager,
Iterable<Annotation>... annotations)
Extract the qualifiers from a set of annotations. |
|
static Set<Annotation> |
getQualifiers(BeanManager beanManager,
Iterable<Annotation> annotations)
Extract the qualifiers from a set of annotations. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Set<Annotation> getQualifiers(BeanManager beanManager,
Iterable<Annotation>... annotations)
beanManager - the beanManager to use to determine if an annotation is
a qualifierannotations - the annotations to check
annotations
public static Set<Annotation> getQualifiers(BeanManager beanManager,
Iterable<Annotation> annotations)
beanManager - the beanManager to use to determine if an annotation is
a qualifierannotations - the annotations to check
annotations
public static Set<Annotation> getQualifiers(BeanManager beanManager,
Annotation[]... annotations)
beanManager - the beanManager to use to determine if an annotation is
a qualifierannotations - the annotations to check
annotations
public static void checkReturnValue(Object instance,
Bean<?> bean,
InjectionPoint injectionPoint,
BeanManager beanManager)
public static <X> List<InjectionPoint> createInjectionPoints(AnnotatedMethod<X> method,
Bean<?> declaringBean,
BeanManager beanManager)
X - the type declaring the methodmethod - the methoddeclaringBean - the bean on which the method is declaredbeanManager - the bean manager to use to create the injection points
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||