com.caucho.config.inject
Class InjectionPointImpl<T>

java.lang.Object
  extended by com.caucho.config.inject.InjectionPointImpl<T>
All Implemented Interfaces:
java.io.Serializable, InjectionPoint

@Module
public class InjectionPointImpl<T>
extends java.lang.Object
implements InjectionPoint, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
InjectionPointImpl(InjectManager manager, Bean<T> bean, Annotated annotated, java.lang.reflect.Member member, java.lang.reflect.Type type)
           
InjectionPointImpl(InjectManager manager, Bean<T> bean, AnnotatedParameter<?> param)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 Annotated getAnnotated()
          Returns all annotations on the injection point.
 Bean<?> getBean()
          Returns the owning bean for the injection point.
 java.lang.reflect.Member getMember()
          Returns the Field for field injection, the Method for method injection, and Constructor for constructor injection.
 java.util.Set<java.lang.annotation.Annotation> getQualifiers()
          Returns the declared bindings on the injection point.
 java.lang.reflect.Type getType()
          Returns the declared type of the injection point, e.g.
 int hashCode()
           
 boolean isDelegate()
          A delegate injection point is true for Decorators
 boolean isTransient()
          Test if the injection point is a java transient
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InjectionPointImpl

public InjectionPointImpl(InjectManager manager,
                          Bean<T> bean,
                          AnnotatedParameter<?> param)

InjectionPointImpl

public InjectionPointImpl(InjectManager manager,
                          Bean<T> bean,
                          Annotated annotated,
                          java.lang.reflect.Member member,
                          java.lang.reflect.Type type)
Method Detail

getType

public java.lang.reflect.Type getType()
Returns the declared type of the injection point, e.g. an injected field's type.

Specified by:
getType in interface InjectionPoint

getQualifiers

public java.util.Set<java.lang.annotation.Annotation> getQualifiers()
Returns the declared bindings on the injection point.

Specified by:
getQualifiers in interface InjectionPoint

getBean

public Bean<?> getBean()
Returns the owning bean for the injection point.

Specified by:
getBean in interface InjectionPoint

getMember

public java.lang.reflect.Member getMember()
Returns the Field for field injection, the Method for method injection, and Constructor for constructor injection.

Specified by:
getMember in interface InjectionPoint

getAnnotated

public Annotated getAnnotated()
Returns all annotations on the injection point.

Specified by:
getAnnotated in interface InjectionPoint

isDelegate

public boolean isDelegate()
Description copied from interface: InjectionPoint
A delegate injection point is true for Decorators

Specified by:
isDelegate in interface InjectionPoint

isTransient

public boolean isTransient()
Description copied from interface: InjectionPoint
Test if the injection point is a java transient

Specified by:
isTransient in interface InjectionPoint

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object