org.jvnet.hk2.component
Interface InjectionPoint


public interface InjectionPoint

Used to describe the injection point and context of the injection.

Author:
Jeff Trent
See Also:
ContextualFactory

Method Summary
 AnnotatedElement getAnnotatedElement()
          The member being injected
 Object getComponent()
          The component instance being injected
 Inhabitant<?> getInhabitant()
          The inhabitant on behalf of the component being injected.
 Inject getInject()
          The inject annotation (provided for convenience) to get name and/or optional flag, etc.
 Class<?> getType()
          The type of the field that needs to be injected
 

Method Detail

getComponent

Object getComponent()
The component instance being injected


getAnnotatedElement

AnnotatedElement getAnnotatedElement()
The member being injected


getType

Class<?> getType()
The type of the field that needs to be injected


getInject

Inject getInject()
The inject annotation (provided for convenience) to get name and/or optional flag, etc.


getInhabitant

Inhabitant<?> getInhabitant()
The inhabitant on behalf of the component being injected. WARNING: DO NOT ATTEMPT TO ACTIVATE - this will cause a stack fault.



Copyright © 2011 Oracle Corporation. All Rights Reserved.