org.jboss.weld.resolution
Class ForwardingInterceptorResolvable

java.lang.Object
  extended by org.jboss.weld.resolution.ForwardingInterceptorResolvable
All Implemented Interfaces:
InterceptorResolvable, Resolvable

public class ForwardingInterceptorResolvable
extends java.lang.Object
implements InterceptorResolvable


Constructor Summary
ForwardingInterceptorResolvable()
           
 
Method Summary
<A extends java.lang.annotation.Annotation>
A
getAnnotation(java.lang.Class<A> annotationType)
          Get the instance of the Annotation
 AbstractClassBean<?> getDeclaringBean()
          Get the declaring the injection point, or null if there is none
 javax.enterprise.inject.spi.InterceptionType getInterceptionType()
           
 java.lang.Class<?> getJavaClass()
          Get the underlying java class used to generate this resolvable, or null if no java class was used
 java.util.Set<java.lang.annotation.Annotation> getQualifiers()
          Get the bindings to use for resolution.
 java.util.Set<java.lang.reflect.Type> getTypeClosure()
          The type closure of this resolvable
 boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
          Check if an annotation is present
 boolean isAssignableTo(java.lang.Class<?> clazz)
          Check if this resolvable's type closure includes the clazz passed as an argument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForwardingInterceptorResolvable

public ForwardingInterceptorResolvable()
Method Detail

getInterceptionType

public javax.enterprise.inject.spi.InterceptionType getInterceptionType()
Specified by:
getInterceptionType in interface InterceptorResolvable

getAnnotation

public <A extends java.lang.annotation.Annotation> A getAnnotation(java.lang.Class<A> annotationType)
Description copied from interface: Resolvable
Get the instance of the Annotation

Specified by:
getAnnotation in interface Resolvable
Type Parameters:
A - the type of the annotation
Parameters:
annotationType - the type of the annotation
Returns:
the annotation instance

getDeclaringBean

public AbstractClassBean<?> getDeclaringBean()
Description copied from interface: Resolvable
Get the declaring the injection point, or null if there is none

Specified by:
getDeclaringBean in interface Resolvable
Returns:

getJavaClass

public java.lang.Class<?> getJavaClass()
Description copied from interface: Resolvable
Get the underlying java class used to generate this resolvable, or null if no java class was used

Specified by:
getJavaClass in interface Resolvable
Returns:
the java class

getQualifiers

public java.util.Set<java.lang.annotation.Annotation> getQualifiers()
Description copied from interface: Resolvable
Get the bindings to use for resolution. @Default will be returned if no bindings were specified

Specified by:
getQualifiers in interface Resolvable
Returns:
the bindings

getTypeClosure

public java.util.Set<java.lang.reflect.Type> getTypeClosure()
Description copied from interface: Resolvable
The type closure of this resolvable

Specified by:
getTypeClosure in interface Resolvable
Returns:

isAnnotationPresent

public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Description copied from interface: Resolvable
Check if an annotation is present

Specified by:
isAnnotationPresent in interface Resolvable
Parameters:
annotationType - the annotation type to look for
Returns:
true if it is present

isAssignableTo

public boolean isAssignableTo(java.lang.Class<?> clazz)
Description copied from interface: Resolvable
Check if this resolvable's type closure includes the clazz passed as an argument

Specified by:
isAssignableTo in interface Resolvable
Parameters:
clazz - the class to check for
Returns:
true if clazz is present


Copyright © 2008-2010 Seam Framework. All Rights Reserved.