A B C D E F G H I L M N O P R S T U

A

all() - Method in interface org.glassfish.hk2.Providers
 
annotatedWith(Class<? extends Annotation>...) - Method in interface org.glassfish.hk2.ContractLocator
 
annotatedWith(Class<? extends Annotation>) - Method in interface org.glassfish.hk2.NamedBinder
 

B

best() - Method in interface org.glassfish.hk2.Providers
 
bind(String) - Method in interface org.glassfish.hk2.BinderFactory
Binds a service using a String interface name.
bind(String...) - Method in interface org.glassfish.hk2.BinderFactory
Starts the binding process of a service using String interfaces names that can be used to lookup the service.
bind(Class<T>, Class<?>...) - Method in interface org.glassfish.hk2.BinderFactory
Starts a binding process of a service using at least one interface or abstract class Class reference.
bind(TypeLiteral<T>) - Method in interface org.glassfish.hk2.BinderFactory
 
bind() - Method in interface org.glassfish.hk2.BinderFactory
Binds a service which does not implement a contract or interface that can be used to look it up.
bindDynamically() - Method in interface org.glassfish.hk2.Services
 
Binder<T> - Interface in org.glassfish.hk2
A binder instance can be used to customize a binding by providing a name for the bound service.
BinderFactory - Interface in org.glassfish.hk2
Factory for adding services instances to a Services.
Binding<T> - Interface in org.glassfish.hk2
 
BindingEntry - Interface in org.glassfish.hk2
 
build() - Method in interface org.jvnet.hk2.annotations.Builder
 
Builder<T> - Interface in org.jvnet.hk2.annotations
Simple builder contract
byType(Class<U>) - Method in interface org.glassfish.hk2.Locator
 
byType(String) - Method in interface org.glassfish.hk2.Locator
 

C

commit() - Method in interface org.glassfish.hk2.DynamicBinderFactory
commits all the binders to the Services registry
ComponentException - Exception in org.glassfish.hk2
Exception thrown when a component's dependency is not satisfied at the time the component is expected to be put in commission.
ComponentException(String) - Constructor for exception org.glassfish.hk2.ComponentException
 
ComponentException(Throwable) - Constructor for exception org.glassfish.hk2.ComponentException
 
ComponentException(String, Throwable) - Constructor for exception org.glassfish.hk2.ComponentException
 
ComponentException(String, Object...) - Constructor for exception org.glassfish.hk2.ComponentException
 
ComponentProvider<T> - Interface in org.glassfish.hk2
Created by IntelliJ IDEA.
ComponentProviderFactory<T> - Interface in org.glassfish.hk2
 
configure(BinderFactory) - Method in interface org.glassfish.hk2.Module
Main configuration hook for modules.
Context - Interface in org.glassfish.hk2
 
Contract - Annotation Type in org.jvnet.hk2.annotations
Marker annotation to allow implementations to be discovered from the contract they implement.
ContractLocator<T> - Interface in org.glassfish.hk2
Created by IntelliJ IDEA.
ContractProvided - Annotation Type in org.jvnet.hk2.annotations
A service provider provides a service implementation, however, the provided service interface is not tagged with @Contract (a jdk interface for instance), therefore, it is specified through this annotation.
create(Services, Class<? extends Module>...) - Method in class org.glassfish.hk2.HK2
 
create(Services, Class<? extends Module>...) - Method in interface org.glassfish.hk2.spi.HK2Provider
 
Creator - Interface in org.glassfish.hk2.inject
 
current() - Method in class org.glassfish.hk2.Scope
 

D

Descriptor - Interface in org.glassfish.hk2
 
DynamicBinderFactory - Interface in org.glassfish.hk2
Sub interfaces of the BinderFactory to allow dynamic registration of services.

E

equals(Object) - Method in class org.glassfish.hk2.TypeLiteral
 

F

Factory - Annotation Type in org.jvnet.hk2.annotations
Indicates that the object should be created by using the given factory component, instead of calling the constructor.
FactoryFor - Annotation Type in org.jvnet.hk2.annotations
Indicates that the component serves as a factory for the specified type(s).
forContract(Class<U>) - Method in interface org.glassfish.hk2.Locator
 

G

get() - Static method in class org.glassfish.hk2.HK2
 
get(HK2Provider) - Static method in class org.glassfish.hk2.HK2
 
get() - Method in interface org.glassfish.hk2.Holder
 
get() - Method in interface org.glassfish.hk2.Provider
The system calls this method to obtain a reference to the component.
get(ComponentProvider<T>) - Method in interface org.glassfish.hk2.ScopeInstance
 
get() - Method in interface org.glassfish.hk2.ServiceLocator
 
get() - Method in interface org.glassfish.hk2.ServicesProvider
 
getAnnotations() - Method in interface org.glassfish.hk2.Descriptor
 
getBinding() - Method in interface org.glassfish.hk2.BindingEntry
 
getBindings() - Method in interface org.glassfish.hk2.Services
 
getBindings(Descriptor) - Method in interface org.glassfish.hk2.Services
 
getContracts() - Method in interface org.glassfish.hk2.Descriptor
 
getDefault() - Method in interface org.glassfish.hk2.Services
 
getDescriptor() - Method in interface org.glassfish.hk2.ComponentProvider
 
getInjectionPoint() - Method in interface org.glassfish.hk2.Context
 
getName() - Method in interface org.glassfish.hk2.Descriptor
 
getParameterTypes() - Method in class org.glassfish.hk2.TypeLiteral
 
getProvider(Context) - Method in interface org.glassfish.hk2.ComponentProviderFactory
return a provider given an optional contextual information
getProvider() - Method in interface org.glassfish.hk2.ServiceLocator
 
getProviderFactory() - Method in interface org.glassfish.hk2.Binding
 
getProviders() - Method in interface org.glassfish.hk2.ContractLocator
 
getRawType() - Method in class org.glassfish.hk2.TypeLiteral
 
getRawType(Type) - Static method in class org.glassfish.hk2.TypeLiteral
 
getScope() - Method in interface org.glassfish.hk2.Descriptor
 
getServices(String) - Method in interface org.glassfish.hk2.Services
 
getType() - Method in class org.glassfish.hk2.TypeLiteral
 
getTypeName() - Method in interface org.glassfish.hk2.Descriptor
 

H

hashCode() - Method in class org.glassfish.hk2.TypeLiteral
 
HK2 - Class in org.glassfish.hk2
Entry point to the HK2 services runtime
HK2(HK2Provider) - Constructor for class org.glassfish.hk2.HK2
 
HK2Provider - Interface in org.glassfish.hk2.spi
HK2 implementation provider interface.
Holder<T> - Interface in org.glassfish.hk2
 

I

in(Scope) - Method in interface org.glassfish.hk2.ContractLocator
 
in(Scope) - Method in interface org.glassfish.hk2.ResolvedBinder
 
in(Scope) - Method in interface org.glassfish.hk2.ServiceLocator
 
Index - Annotation Type in org.jvnet.hk2.annotations
Marks the index property of the Contract annotations.
InhabitantAnnotation - Annotation Type in org.jvnet.hk2.annotations
Meta-annotation indicating that the annotation designates a resident service of a Services.
InhabitantMetadata - Annotation Type in org.jvnet.hk2.annotations
Meta-annotation to make annotation values readable as Descriptor.metadata().
inject(Object) - Method in interface org.glassfish.hk2.inject.Injector
 
Inject - Annotation Type in org.jvnet.hk2.annotations
Annotation to define a required resource for a component.
InjectionPoint - Interface in org.glassfish.hk2.inject
 
Injector - Interface in org.glassfish.hk2.inject
 
inParent() - Method in interface org.glassfish.hk2.BinderFactory
Return the parent binder factory instance which can be used to bind services for wider visibility outside of this module definition.
isActive() - Method in interface org.glassfish.hk2.ComponentProvider
 

L

locate(Descriptor) - Method in interface org.glassfish.hk2.Services
 
Locator - Interface in org.glassfish.hk2
Created by IntelliJ IDEA.

M

META_ENV_TAG - Static variable in annotation type org.jvnet.hk2.annotations.RunLevel
 
META_VAL_TAG - Static variable in annotation type org.jvnet.hk2.annotations.RunLevel
 
metadata() - Method in interface org.glassfish.hk2.Descriptor
 
Module - Interface in org.glassfish.hk2
A module defines the binding for a Services instance.
modulesQualifiedWith(Class<? extends Annotation>) - Method in interface org.glassfish.hk2.ServicesProvider
 
MultiMap<T,V> - Interface in org.glassfish.hk2
 
Multiple - Annotation Type in org.jvnet.hk2.annotations
Annotates an annotation which value is an array of inhabitant annotations InhabitantAnnotation

N

named(String) - Method in interface org.glassfish.hk2.Binder
Names a binding that will be used to register the service in the registry.
named(String) - Method in interface org.glassfish.hk2.ContractLocator
 
NamedBinder<U> - Interface in org.glassfish.hk2
Created by IntelliJ IDEA.
newValueObject(Class<T>) - Method in interface org.glassfish.hk2.inject.Creator
Creates a new value object which will be instantiated using the empty parameter constructor.

O

org.glassfish.hk2 - package org.glassfish.hk2
 
org.glassfish.hk2.inject - package org.glassfish.hk2.inject
 
org.glassfish.hk2.spi - package org.glassfish.hk2.spi
 
org.jvnet.hk2.annotations - package org.jvnet.hk2.annotations
HK2 annotations that mark components and their required dependencies. Primary API surface of HK2.

P

Priority - Annotation Type in org.jvnet.hk2.annotations
Deprecated. Not current supported in Hk2
Provider<T> - Interface in org.glassfish.hk2
Provides an instance of T either by creating a new one at each request or returning an existing one.
Providers<T> - Interface in org.glassfish.hk2
Created by IntelliJ IDEA.
put(ComponentProvider<T>, T) - Method in interface org.glassfish.hk2.ScopeInstance
 

R

release() - Method in interface org.glassfish.hk2.ComponentProvider
 
release() - Method in interface org.glassfish.hk2.ScopeInstance
 
ResolvedBinder<T> - Interface in org.glassfish.hk2
Created by IntelliJ IDEA.
RunLevel - Annotation Type in org.jvnet.hk2.annotations
Defines the notion of a run level a la Unix.

S

Scope - Class in org.glassfish.hk2
 
Scope() - Constructor for class org.glassfish.hk2.Scope
 
Scoped - Annotation Type in org.jvnet.hk2.annotations
Indicates the scope that this managed object is tied to.
ScopeInstance - Interface in org.glassfish.hk2
A particular instanciation of a org.jvnet.hk2.component.Scope.
Service - Annotation Type in org.jvnet.hk2.annotations
Marker interface for service implementation.
ServiceLocator<T> - Interface in org.glassfish.hk2
Created by IntelliJ IDEA.
ServiceProvider - Annotation Type in org.jvnet.hk2.annotations
Denotes the service provider implementation.
Services - Interface in org.glassfish.hk2
Services is the registry for hk2 services.
ServicesProvider - Interface in org.glassfish.hk2
Created by IntelliJ IDEA.

T

to(String) - Method in interface org.glassfish.hk2.NamedBinder
 
to(Class<? extends T>) - Method in interface org.glassfish.hk2.NamedBinder
 
to(TypeLiteral<T>) - Method in interface org.glassfish.hk2.NamedBinder
 
toInstance(T) - Method in interface org.glassfish.hk2.NamedBinder
 
toProvider(Provider<T>) - Method in interface org.glassfish.hk2.NamedBinder
 
toProvider(Class<? extends Provider<? extends T>>) - Method in interface org.glassfish.hk2.NamedBinder
 
toProvider(TypeLiteral<? extends Provider<? extends T>>) - Method in interface org.glassfish.hk2.NamedBinder
 
toString() - Method in class org.glassfish.hk2.TypeLiteral
 
type() - Method in interface org.glassfish.hk2.ComponentProvider
 
TypeLiteral<T> - Class in org.glassfish.hk2
Supports inline instantiation of objects that represent parameterized types with actual type parameters.
TypeLiteral() - Constructor for class org.glassfish.hk2.TypeLiteral
 

U

unbind() - Method in interface org.glassfish.hk2.BindingEntry
 

A B C D E F G H I L M N O P R S T U

Copyright © 2011 Oracle Corporation. All Rights Reserved.