Uses of Interface
org.glassfish.hk2.api.ServiceHandle

Packages that use ServiceHandle
com.sun.hk2.component   
org.glassfish.examples.ctm   
org.glassfish.examples.http   
org.glassfish.hk2.api   
org.glassfish.hk2.internal   
org.glassfish.hk2.runlevel.internal   
org.glassfish.hk2.utilities   
org.jvnet.hk2.component   
org.jvnet.hk2.config   
org.jvnet.hk2.internal   
 

Uses of ServiceHandle in com.sun.hk2.component
 

Methods in com.sun.hk2.component with parameters of type ServiceHandle
 T ExistingSingletonInhabitant.create(ServiceHandle<?> root)
          Deprecated.  
 

Uses of ServiceHandle in org.glassfish.examples.ctm
 

Methods in org.glassfish.examples.ctm with parameters of type ServiceHandle
<T> T
TenantScopedContext.findOrCreate(ActiveDescriptor<T> activeDescriptor, ServiceHandle<?> root)
           
 

Uses of ServiceHandle in org.glassfish.examples.http
 

Methods in org.glassfish.examples.http with parameters of type ServiceHandle
<U> U
RequestContext.findOrCreate(ActiveDescriptor<U> activeDescriptor, ServiceHandle<?> root)
           
 Object AlternateInjectResolver.resolve(Injectee injectee, ServiceHandle<?> root)
           
 

Uses of ServiceHandle in org.glassfish.hk2.api
 

Methods in org.glassfish.hk2.api that return ServiceHandle
 ServiceHandle<T> IterableProvider.getHandle()
          Rather than getting the service directly with get (in which case the returned service cannot be disposed of) this method will instead return a service handle for the current best service.
<T> ServiceHandle<T>
ServiceLocator.getServiceHandle(ActiveDescriptor<T> activeDescriptor)
          Gets a service handle that can be used to get and destroy the returned service.
<T> ServiceHandle<T>
ServiceLocator.getServiceHandle(ActiveDescriptor<T> activeDescriptor, Injectee injectee)
          Gets a service handle that can be used to get and destroy the returned service.
<T> ServiceHandle<T>
ServiceLocator.getServiceHandle(Type contractOrImpl, Annotation... qualifiers)
          Gets a service handle that can be used to get and destroy the returned service.
<T> ServiceHandle<T>
ServiceLocator.getServiceHandle(Type contractOrImpl, String name, Annotation... qualifiers)
          Gets a service handle that can be used to get and destroy the returned service
 

Methods in org.glassfish.hk2.api that return types with arguments of type ServiceHandle
 List<ServiceHandle<?>> ServiceLocator.getAllServiceHandles(Annotation qualifier, Annotation... qualifiers)
          Gets service handles that can be used to get and destroy the returned services
 List<ServiceHandle<?>> ServiceLocator.getAllServiceHandles(Filter searchCriteria)
          Gets a service handle that can be used to get and destroy the returned service.
 List<ServiceHandle<?>> ServiceLocator.getAllServiceHandles(Type contractOrImpl, Annotation... qualifiers)
          Gets service handles that can be used to get and destroy the returned services
 Iterable<ServiceHandle<T>> IterableProvider.handleIterator()
          This version of iterator returns an iterator of ServiceHandles rather than returning the services (which then have no way to be properly destroyed)
 

Methods in org.glassfish.hk2.api with parameters of type ServiceHandle
 T ActiveDescriptor.create(ServiceHandle<?> root)
          Creates an instance of the ActiveDescriptor.
<U> U
Context.findOrCreate(ActiveDescriptor<U> activeDescriptor, ServiceHandle<?> root)
          Creates a contextual instance of this ActiveDescriptor by calling its create method if there is no other matching contextual instance.
<T> T
ServiceLocator.getService(ActiveDescriptor<T> activeDescriptor, ServiceHandle<?> root)
          This method should be called by code getting injectee's on behalf of some root object.
 Object InjectionResolver.resolve(Injectee injectee, ServiceHandle<?> root)
          This method will return the object that should be injected into the given injection point.
 

Uses of ServiceHandle in org.glassfish.hk2.internal
 

Methods in org.glassfish.hk2.internal with parameters of type ServiceHandle
 T ConstantActiveDescriptor.create(ServiceHandle<?> root)
           
<U> U
PerThreadContext.findOrCreate(ActiveDescriptor<U> activeDescriptor, ServiceHandle<?> root)
           
 

Uses of ServiceHandle in org.glassfish.hk2.runlevel.internal
 

Methods in org.glassfish.hk2.runlevel.internal with parameters of type ServiceHandle
<T> T
RunLevelContext.findOrCreate(ActiveDescriptor<T> activeDescriptor, ServiceHandle<?> root)
           
 

Uses of ServiceHandle in org.glassfish.hk2.utilities
 

Methods in org.glassfish.hk2.utilities with parameters of type ServiceHandle
 T AliasDescriptor.create(ServiceHandle<?> root)
           
 

Uses of ServiceHandle in org.jvnet.hk2.component
 

Methods in org.jvnet.hk2.component that return ServiceHandle
<T> ServiceHandle<T>
Habitat.getServiceHandle(ActiveDescriptor<T> activeDescriptor)
          Deprecated.  
<T> ServiceHandle<T>
Habitat.getServiceHandle(ActiveDescriptor<T> activeDescriptor, Injectee injectee)
          Deprecated.  
<T> ServiceHandle<T>
Habitat.getServiceHandle(Type contractOrImpl, Annotation... qualifiers)
          Deprecated.  
<T> ServiceHandle<T>
Habitat.getServiceHandle(Type contractOrImpl, String name, Annotation... qualifiers)
          Deprecated.  
 

Methods in org.jvnet.hk2.component that return types with arguments of type ServiceHandle
 List<ServiceHandle<?>> Habitat.getAllServiceHandles(Annotation qualifier, Annotation... qualifiers)
          Deprecated.  
 List<ServiceHandle<?>> Habitat.getAllServiceHandles(Filter searchCriteria)
          Deprecated.  
 List<ServiceHandle<?>> Habitat.getAllServiceHandles(Type contractOrImpl, Annotation... qualifiers)
          Deprecated.  
 

Methods in org.jvnet.hk2.component with parameters of type ServiceHandle
<T> T
Habitat.getService(ActiveDescriptor<T> activeDescriptor, ServiceHandle<?> root)
          Deprecated.  
 

Uses of ServiceHandle in org.jvnet.hk2.config
 

Methods in org.jvnet.hk2.config with parameters of type ServiceHandle
 Object Dom.create(ServiceHandle root)
           
 T DomDescriptor.create(ServiceHandle<?> root)
           
 

Uses of ServiceHandle in org.jvnet.hk2.internal
 

Classes in org.jvnet.hk2.internal that implement ServiceHandle
 class ServiceHandleImpl<T>
          This handle does the underlying work of getting the service.
 

Methods in org.jvnet.hk2.internal that return ServiceHandle
 ServiceHandle<T> IterableProviderImpl.getHandle()
           
<T> ServiceHandle<T>
ServiceLocatorImpl.getServiceHandle(ActiveDescriptor<T> activeDescriptor)
           
<T> ServiceHandle<T>
ServiceLocatorImpl.getServiceHandle(ActiveDescriptor<T> activeDescriptor, Injectee injectee)
           
<T> ServiceHandle<T>
ServiceLocatorImpl.getServiceHandle(Type contractOrImpl, Annotation... qualifiers)
           
<T> ServiceHandle<T>
ServiceLocatorImpl.getServiceHandle(Type contractOrImpl, String name, Annotation... qualifiers)
           
 

Methods in org.jvnet.hk2.internal that return types with arguments of type ServiceHandle
 List<ServiceHandle<?>> ServiceLocatorImpl.getAllServiceHandles(Annotation qualifier, Annotation... qualifiers)
           
 List<ServiceHandle<?>> ServiceLocatorImpl.getAllServiceHandles(Filter searchCriteria)
           
 List<ServiceHandle<?>> ServiceLocatorImpl.getAllServiceHandles(Type contractOrImpl, Annotation... qualifiers)
           
 Iterable<ServiceHandle<T>> IterableProviderImpl.handleIterator()
           
 

Methods in org.jvnet.hk2.internal with parameters of type ServiceHandle
 int ServiceHandleComparator.compare(ServiceHandle<?> o1, ServiceHandle<?> o2)
           
 int ServiceHandleComparator.compare(ServiceHandle<?> o1, ServiceHandle<?> o2)
           
 T SystemDescriptor.create(ServiceHandle<?> root)
           
 InstanceLifecycleEventImpl Creator.create(ServiceHandle<?> root)
          Creates an instance of the given type
 T AutoActiveDescriptor.create(ServiceHandle<?> root)
           
 T ConstantActiveDescriptor.create(ServiceHandle<?> root)
           
 InstanceLifecycleEventImpl ClazzCreator.create(ServiceHandle<?> root)
           
 InstanceLifecycleEventImpl FactoryCreator.create(ServiceHandle<?> root)
           
<T> T
PerLookupContext.findOrCreate(ActiveDescriptor<T> activeDescriptor, ServiceHandle<?> root)
           
<T> T
SingletonContext.findOrCreate(ActiveDescriptor<T> activeDescriptor, ServiceHandle<?> root)
           
<T> T
ServiceLocatorImpl.getService(ActiveDescriptor<T> activeDescriptor, ServiceHandle<?> root)
           
 Object ThreeThirtyResolver.resolve(Injectee injectee, ServiceHandle<?> root)
           
 



Copyright © 2013 Oracle Corporation. All Rights Reserved.