|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
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 | ||
---|---|---|
|
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 | ||
---|---|---|
|
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. |
|
|
ServiceLocator.getServiceHandle(ActiveDescriptor<T> activeDescriptor)
Gets a service handle that can be used to get and destroy the returned service. |
|
|
ServiceLocator.getServiceHandle(ActiveDescriptor<T> activeDescriptor,
Injectee injectee)
Gets a service handle that can be used to get and destroy the returned service. |
|
|
ServiceLocator.getServiceHandle(Type contractOrImpl,
Annotation... qualifiers)
Gets a service handle that can be used to get and destroy the returned service. |
|
|
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. |
|
|
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. |
|
|
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)
|
|
|
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 | ||
---|---|---|
|
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 | ||
---|---|---|
|
Habitat.getServiceHandle(ActiveDescriptor<T> activeDescriptor)
Deprecated. |
|
|
Habitat.getServiceHandle(ActiveDescriptor<T> activeDescriptor,
Injectee injectee)
Deprecated. |
|
|
Habitat.getServiceHandle(Type contractOrImpl,
Annotation... qualifiers)
Deprecated. |
|
|
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 | ||
---|---|---|
|
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()
|
|
|
ServiceLocatorImpl.getServiceHandle(ActiveDescriptor<T> activeDescriptor)
|
|
|
ServiceLocatorImpl.getServiceHandle(ActiveDescriptor<T> activeDescriptor,
Injectee injectee)
|
|
|
ServiceLocatorImpl.getServiceHandle(Type contractOrImpl,
Annotation... qualifiers)
|
|
|
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)
|
|
|
PerLookupContext.findOrCreate(ActiveDescriptor<T> activeDescriptor,
ServiceHandle<?> root)
|
|
|
SingletonContext.findOrCreate(ActiveDescriptor<T> activeDescriptor,
ServiceHandle<?> root)
|
|
|
ServiceLocatorImpl.getService(ActiveDescriptor<T> activeDescriptor,
ServiceHandle<?> root)
|
|
Object |
ThreeThirtyResolver.resolve(Injectee injectee,
ServiceHandle<?> root)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |