org.jboss.weld.resolution
Class ForwardingResolvable

java.lang.Object
  extended by org.jboss.weld.resolution.ForwardingResolvable
All Implemented Interfaces:
Resolvable
Direct Known Subclasses:
ForwardingInterceptorResolvable

public abstract class ForwardingResolvable
extends Object
implements Resolvable


Constructor Summary
ForwardingResolvable()
           
 
Method Summary
protected abstract  Resolvable delegate()
           
 boolean equals(Object obj)
           
<A extends Annotation>
A
getAnnotation(Class<A> annotationType)
          Get the instance of the Annotation
 javax.enterprise.inject.spi.Bean<?> getDeclaringBean()
          Get the declaring the injection point, or null if there is none
 Class<?> getJavaClass()
          Get the underlying java class used to generate this resolvable, or null if no java class was used
 Set<QualifierInstance> getQualifiers()
          Get the bindings to use for resolution.
 Set<Type> getTypes()
          The types that this resolvable may be assigned to
 int hashCode()
           
 boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
          Check if an annotation is present
 boolean isAssignableTo(Class<?> clazz)
          Check if this resolvable's type closure includes the clazz passed as an argument
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ForwardingResolvable

public ForwardingResolvable()
Method Detail

delegate

protected abstract Resolvable delegate()

getQualifiers

public Set<QualifierInstance> 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

isAnnotationPresent

public boolean isAnnotationPresent(Class<? extends 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

getTypes

public Set<Type> getTypes()
Description copied from interface: Resolvable
The types that this resolvable may be assigned to

Specified by:
getTypes in interface Resolvable
Returns:

isAssignableTo

public boolean isAssignableTo(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

getAnnotation

public <A extends Annotation> A getAnnotation(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

getJavaClass

public 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

getDeclaringBean

public javax.enterprise.inject.spi.Bean<?> 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:

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 Seam Framework. All Rights Reserved.