Uses of Interface
org.glassfish.hk2.api.Injectee
-
-
Uses of Injectee in org.glassfish.hk2.api
Fields in org.glassfish.hk2.api declared as Injectee Modifier and Type Field Description private InjecteeUnsatisfiedDependencyException. injectionPointMethods in org.glassfish.hk2.api that return Injectee Modifier and Type Method Description InjecteeErrorInformation. getInjectee()This will contain information about the Injectee that was being injected into when the error occurred.InjecteeUnsatisfiedDependencyException. getInjectee()Returns the injectee that is unsatisfiedInjecteeValidationInformation. getInjectee()On a LOOKUP operation if the lookup is being performed due to an injection point (as opposed to a lookup via the API) then this method will return a non-nullInjecteethat is the injection point that would be injected intoInjecteeInstantiationData. getParentInjectee()Returns theInjecteeof the service that is being instantiated with thisFactory.provide()methodMethods in org.glassfish.hk2.api that return types with arguments of type Injectee Modifier and Type Method Description java.util.List<Injectee>ActiveDescriptor. getInjectees()Returns the full list of Injectees this class has.java.util.Map<Injectee,java.lang.Object>InstanceLifecycleEvent. getKnownInjectees()A map from the Injectee to the object actually used in the production, if known.Methods in org.glassfish.hk2.api with parameters of type Injectee Modifier and Type Method Description ActiveDescriptor<?>ServiceLocator. getInjecteeDescriptor(Injectee injectee)This method will first find a descriptor for this injectee, and then reify that descriptor.<T> TServiceLocator. getService(ActiveDescriptor<T> activeDescriptor, ServiceHandle<?> root, Injectee injectee)This method should be called by code resolving injectee's on behalf of some root service, usually by an implementation ofInjectionResolver.resolve(Injectee, ServiceHandle).<T> ServiceHandle<T>ServiceLocator. getServiceHandle(ActiveDescriptor<T> activeDescriptor, Injectee injectee)Gets aServiceHandlethat can be used to get and destroy the service described by theActiveDescriptor.booleanJustInTimeInjectionResolver. justInTimeResolution(Injectee failedInjectionPoint)This method will be called whenever an injection point cannot be resolved.ActiveDescriptor<?>ServiceLocator. reifyDescriptor(Descriptor descriptor, Injectee injectee)Converts a descriptor to an ActiveDescriptor.java.lang.ObjectInjectionResolver. resolve(Injectee injectee, ServiceHandle<?> root)This method will return the object that should be injected into the given injection point.Constructors in org.glassfish.hk2.api with parameters of type Injectee Constructor Description UnsatisfiedDependencyException(Injectee injectee)Constructs the exception with the given injectee -
Uses of Injectee in org.glassfish.hk2.configuration.internal
Methods in org.glassfish.hk2.configuration.internal that return types with arguments of type Injectee Modifier and Type Method Description java.util.List<Injectee>DelegatingNamedActiveDescriptor. getInjectees()Methods in org.glassfish.hk2.configuration.internal with parameters of type Injectee Modifier and Type Method Description java.lang.ObjectChildInjectResolverImpl. resolve(Injectee injectee, ServiceHandle<?> root)java.lang.ObjectConfiguredByInjectionResolver. resolve(Injectee injectee, ServiceHandle<?> root) -
Uses of Injectee in org.glassfish.hk2.extras.hk2bridge.internal
Methods in org.glassfish.hk2.extras.hk2bridge.internal that return types with arguments of type Injectee Modifier and Type Method Description java.util.List<Injectee>CrossOverDescriptor. getInjectees() -
Uses of Injectee in org.glassfish.hk2.utilities
Classes in org.glassfish.hk2.utilities that implement Injectee Modifier and Type Class Description classInjecteeImplThis is a writeable version of the Injectee interface.Methods in org.glassfish.hk2.utilities that return types with arguments of type Injectee Modifier and Type Method Description java.util.List<Injectee>AbstractActiveDescriptor. getInjectees()java.util.List<Injectee>AliasDescriptor. getInjectees()Methods in org.glassfish.hk2.utilities with parameters of type Injectee Modifier and Type Method Description booleanGreedyResolver. justInTimeResolution(Injectee failedInjectionPoint)Constructors in org.glassfish.hk2.utilities with parameters of type Injectee Constructor Description InjecteeImpl(Injectee copyMe)This is the copy constructor, which will copy all the values from the incoming Injectee -
Uses of Injectee in org.jvnet.hk2.internal
Classes in org.jvnet.hk2.internal that implement Injectee Modifier and Type Class Description classSystemInjecteeImplThis is an implementation of Injectee that is used by the system.Fields in org.jvnet.hk2.internal declared as Injectee Modifier and Type Field Description private InjecteeErrorInformationImpl. injecteeprivate InjecteeErrorResults. injecteeprivate InjecteeValidationInformationImpl. injecteeprivate InjecteeServiceLocatorImpl.IgdCacheKey. onBehalfOfprivate InjecteeIterableProviderImpl. originalInjecteeFields in org.jvnet.hk2.internal with type parameters of type Injectee Modifier and Type Field Description private java.util.LinkedList<Injectee>ServiceHandleImpl. injecteesprivate java.util.HashMap<java.lang.Long,java.util.LinkedList<Injectee>>InstantiationServiceImpl. injecteeStackprivate java.util.Map<Injectee,java.lang.Object>InstanceLifecycleEventImpl. knownInjecteesprivate java.lang.ref.WeakReference<Injectee>MethodInterceptorImpl. myInjecteeActual injectee, needed for InstantiationServiceMethods in org.jvnet.hk2.internal that return Injectee Modifier and Type Method Description InjecteeErrorInformationImpl. getInjectee()(package private) InjecteeErrorResults. getInjectee()InjecteeValidationInformationImpl. getInjectee()private InjecteeServiceHandleImpl. getLastInjectee()InjecteeServiceHandleImpl. getOriginalRequest()Methods in org.jvnet.hk2.internal that return types with arguments of type Injectee Modifier and Type Method Description java.util.List<Injectee>AutoActiveDescriptor. getInjectees()java.util.List<Injectee>ClazzCreator. getInjectees()java.util.List<Injectee>Creator. getInjectees()Returns all the injectees needed prior to creating this objectjava.util.List<Injectee>FactoryCreator. getInjectees()java.util.List<Injectee>SystemDescriptor. getInjectees()java.util.Map<Injectee,java.lang.Object>InstanceLifecycleEventImpl. getKnownInjectees()Methods in org.jvnet.hk2.internal with parameters of type Injectee Modifier and Type Method Description (package private) voidNarrowResults. addError(ActiveDescriptor<?> fail, Injectee injectee, MultiException me)static <T> TUtilities. createService(ActiveDescriptor<T> root, Injectee injectee, ServiceLocatorImpl locator, ServiceHandle<T> handle, java.lang.Class<?> requestedClass)Creates the service (without the need for an intermediate ServiceHandle to be created)<T> TProxyUtilities. generateProxy(java.lang.Class<?> requestedClass, ServiceLocatorImpl locator, ActiveDescriptor<T> root, ServiceHandleImpl<T> handle, Injectee injectee)private java.util.List<SystemDescriptor<?>>ServiceLocatorImpl. getDescriptors(Filter filter, Injectee onBehalfOf, boolean getParents, boolean doValidation, boolean getLocals)ActiveDescriptor<?>ServiceLocatorImpl. getInjecteeDescriptor(Injectee injectee)InjectionResolver<?>PerLocatorUtilities. getInjectionResolver(ServiceLocatorImpl locator, Injectee injectee)Returns an injection resolver for the injectee<T> TServiceLocatorImpl. getService(ActiveDescriptor<T> activeDescriptor, ServiceHandle<?> root, Injectee originalRequest)<T> ServiceHandle<T>ServiceLocatorImpl. getServiceHandle(ActiveDescriptor<T> activeDescriptor, Injectee injectee)private <T> ServiceHandleImpl<T>ServiceLocatorImpl. getServiceHandleImpl(ActiveDescriptor<T> activeDescriptor, Injectee injectee)private <T> ActiveDescriptor<T>ServiceLocatorImpl. internalGetDescriptor(Injectee onBehalfOf, java.lang.reflect.Type contractOrImpl, java.lang.String name, Unqualified unqualified, boolean isIterable, boolean calledFromSecondChanceResolveMethod, java.lang.annotation.Annotation... qualifiers)private <T> ActiveDescriptor<T>ServiceLocatorImpl. internalGetDescriptor(Injectee onBehalfOf, java.lang.reflect.Type contractOrImpl, java.lang.String name, Unqualified unqualified, boolean isIterable, java.lang.annotation.Annotation... qualifiers)private ActiveDescriptor<?>ServiceLocatorImpl. internalGetInjecteeDescriptor(Injectee injectee, boolean calledFromSecondChanceResolveMethod)private <T> ServiceHandleImpl<T>ServiceLocatorImpl. internalGetServiceHandle(ActiveDescriptor<T> activeDescriptor, java.lang.reflect.Type requestedType, Injectee originalRequest)private static booleanUtilities. isProxiable(ActiveDescriptor<?> desc, Injectee injectee)This method determines whether or not the descriptor should be proxied.private java.lang.Class<?>ServiceLocatorImpl. loadClass(Descriptor descriptor, Injectee injectee)static java.lang.Class<?>Utilities. loadClass(java.lang.String implementation, Injectee injectee)Load the given class for the given injectee.private ImmediateResultsServiceLocatorImpl. narrow(ServiceLocator locator, java.util.List<SystemDescriptor<?>> candidates, java.lang.reflect.Type requiredType, java.lang.String name, Injectee injectee, boolean onlyOne, boolean doValidation, NarrowResults cachedResults, Filter filter, java.lang.annotation.Annotation... qualifiers)voidServiceHandleImpl. pushInjectee(Injectee push)voidInstantiationServiceImpl. pushInjecteeParent(Injectee injectee)ActiveDescriptor<?>ServiceLocatorImpl. reifyDescriptor(Descriptor descriptor, Injectee injectee)java.lang.ObjectThreeThirtyResolver. resolve(Injectee injectee, ServiceHandle<?> root)private ActiveDescriptor<?>ServiceLocatorImpl. secondChanceResolve(Injectee injectee)private booleanServiceLocatorImpl. validate(SystemDescriptor<?> descriptor, Injectee onBehalfOf, Filter filter)Must be called under lockConstructors in org.jvnet.hk2.internal with parameters of type Injectee Constructor Description ErrorInformationImpl(ErrorType errorType, Descriptor descriptor, Injectee injectee, MultiException exception)ErrorResults(ActiveDescriptor<?> descriptor, Injectee injectee, MultiException me)IgdCacheKey(CacheKey key, java.lang.String name, Injectee onBehalfOf, java.lang.reflect.Type contractOrImpl, java.lang.Class<?> rawClass, java.lang.annotation.Annotation[] qualifiers, Filter filter)IterableProviderImpl(ServiceLocatorImpl locator, java.lang.reflect.Type requiredType, java.util.Set<java.lang.annotation.Annotation> requiredQualifiers, Unqualified unqualified, Injectee originalInjectee, boolean isIterable)MethodInterceptorImpl(ServiceLocatorImpl sli, ActiveDescriptor<?> descriptor, ServiceHandleImpl<?> root, Injectee injectee)ServiceHandleImpl(ServiceLocatorImpl locator, ActiveDescriptor<T> root, Injectee injectee)ValidationInformationImpl(Operation operation, ActiveDescriptor<?> candidate, Injectee injectee, Filter filter)Creates the validation informationConstructor parameters in org.jvnet.hk2.internal with type arguments of type Injectee Constructor Description InstanceLifecycleEventImpl(InstanceLifecycleEventType eventType, java.lang.Object lifecycleObject, java.util.Map<Injectee,java.lang.Object> knownInjectees, ActiveDescriptor<?> descriptor) -
Uses of Injectee in org.jvnet.hk2.testing.junit.internal
Methods in org.jvnet.hk2.testing.junit.internal with parameters of type Injectee Modifier and Type Method Description protected booleanJustInTimeInjectionResolverImpl. isLookup(Injectee failedInjectionPoint)Returnstrueif the suppliedInjecteerepresents a service lookup rather than a true injection point.booleanJustInTimeInjectionResolverImpl. justInTimeResolution(Injectee failedInjectionPoint)
-