B C D E F G H I L M O R S T U V 

B

bridgeServiceLocator(ServiceLocator, ServiceLocator) - Static method in class org.glassfish.hk2.extras.ExtrasUtilities
This method will bridge all non-local services from the from ServiceLocator into the into ServiceLocator.

C

closeOperation() - Method in class org.glassfish.hk2.extras.operation.internal.OperationHandleImpl
 
closeOperation(OperationHandleImpl<T>) - Method in class org.glassfish.hk2.extras.operation.OperationContext
 
closeOperation() - Method in interface org.glassfish.hk2.extras.operation.OperationHandle
suspends this Operation on all threads where it is associated and closes the operation.
configurationChanged() - Method in class org.glassfish.hk2.extras.events.internal.DefaultTopicDistributionService
 
configurationChanged() - Method in class org.glassfish.hk2.extras.hk2bridge.internal.Hk2BridgeImpl
 
configure() - Method in class org.glassfish.hk2.extras.events.internal.TopicDistributionModule
 
containsKey(ActiveDescriptor<?>) - Method in class org.glassfish.hk2.extras.operation.OperationContext
 
create(ServiceHandle<?>) - Method in class org.glassfish.hk2.extras.hk2bridge.internal.CrossOverDescriptor
 
create(ServiceHandle<?>) - Method in class org.glassfish.hk2.extras.operation.internal.OperationDescriptor
 
createAndStartOperation(T) - Method in class org.glassfish.hk2.extras.operation.internal.OperationManagerImpl
 
createAndStartOperation(T) - Method in interface org.glassfish.hk2.extras.operation.OperationManager
Creates an OperationHandle that will be associated with the thread calling this method.
createOperation(T) - Method in class org.glassfish.hk2.extras.operation.internal.OperationManagerImpl
 
createOperation() - Method in class org.glassfish.hk2.extras.operation.internal.SingleOperationManager
 
createOperation(T) - Method in interface org.glassfish.hk2.extras.operation.OperationManager
Creates an OperationHandle.
CrossOverDescriptor<T> - Class in org.glassfish.hk2.extras.hk2bridge.internal
 
CrossOverDescriptor(ServiceLocator, ActiveDescriptor<T>) - Constructor for class org.glassfish.hk2.extras.hk2bridge.internal.CrossOverDescriptor
 

D

DefaultInterceptionService - Class in org.glassfish.hk2.extras.interception.internal
A default implementation of the interception service using annotation to denote services that are to be intercepted and other annotations to match methods or constructors to interceptors
DefaultInterceptionService() - Constructor for class org.glassfish.hk2.extras.interception.internal.DefaultInterceptionService
 
DefaultTopicDistributionErrorService - Interface in org.glassfish.hk2.extras.events
When using the TopicDistributionService added with ServiceLocatorUtilities.enableTopicDistribution(org.glassfish.hk2.api.ServiceLocator) if a subscriber throws an exception this service will be called.
DefaultTopicDistributionService - Class in org.glassfish.hk2.extras.events.internal
This is the default implementation of the TopicDistributionService.
DefaultTopicDistributionService() - Constructor for class org.glassfish.hk2.extras.events.internal.DefaultTopicDistributionService
 
destroyOne(ActiveDescriptor<?>) - Method in class org.glassfish.hk2.extras.operation.OperationContext
 
dispose(T) - Method in class org.glassfish.hk2.extras.hk2bridge.internal.CrossOverDescriptor
 
distributeMessage(Topic<?>, Object) - Method in class org.glassfish.hk2.extras.events.internal.DefaultTopicDistributionService
 

E

enableDefaultInterceptorServiceImplementation(ServiceLocator) - Static method in class org.glassfish.hk2.extras.ExtrasUtilities
This method adds in a default implementation of the InterceptionService which uses annotations to denote which services should intercept other services.
enableOperations(ServiceLocator) - Static method in class org.glassfish.hk2.extras.ExtrasUtilities
This method adds in the infrastructure necessary to enable HK2 Operations support.
enableTopicDistribution(ServiceLocator) - Static method in class org.glassfish.hk2.extras.ExtrasUtilities
This method will enable the default topic distribution service.
equals(Object) - Method in class org.glassfish.hk2.extras.operation.internal.OperationHandleImpl
 
equals(Object) - Method in class org.glassfish.hk2.extras.operation.internal.OperationIdentifierImpl
 
ExtrasUtilities - Class in org.glassfish.hk2.extras
These are utilities for the extra features of hk2.
ExtrasUtilities() - Constructor for class org.glassfish.hk2.extras.ExtrasUtilities
 

F

findOrCreate(ActiveDescriptor<U>, ServiceHandle<?>) - Method in class org.glassfish.hk2.extras.operation.OperationContext
 

G

getActiveThreads() - Method in class org.glassfish.hk2.extras.operation.internal.OperationHandleImpl
 
getActiveThreads() - Method in interface org.glassfish.hk2.extras.operation.OperationHandle
Gets a set of threads upon which this Operation is active
getAllBindingsFromClass(Class<?>) - Static method in class org.glassfish.hk2.extras.interception.internal.ReflectionUtilities
 
getAllBindingsFromConstructor(Constructor<?>) - Static method in class org.glassfish.hk2.extras.interception.internal.ReflectionUtilities
 
getAllBindingsFromMethod(Method) - Static method in class org.glassfish.hk2.extras.interception.internal.ReflectionUtilities
 
getConstructorInterceptors(Constructor<?>) - Method in class org.glassfish.hk2.extras.interception.internal.DefaultInterceptionService
 
getContractTypes() - Method in class org.glassfish.hk2.extras.hk2bridge.internal.CrossOverDescriptor
 
getCurrentOperation(T) - Method in class org.glassfish.hk2.extras.operation.internal.OperationManagerImpl
 
getCurrentOperation(T) - Method in interface org.glassfish.hk2.extras.operation.OperationManager
Gets the current operation of scope type on the current thread.
getCurrentOperationOnThisThread() - Method in class org.glassfish.hk2.extras.operation.internal.SingleOperationManager
OperationLock need NOT be held
getCurrentOperations(T) - Method in class org.glassfish.hk2.extras.operation.internal.OperationManagerImpl
 
getCurrentOperations(T) - Method in interface org.glassfish.hk2.extras.operation.OperationManager
Gets a set of all Operations that are in state OperationState.ACTIVE or OperationState.SUSPENDED.
getDescriptorFilter() - Method in class org.glassfish.hk2.extras.interception.internal.DefaultInterceptionService
 
getFactoryLocatorId() - Method in class org.glassfish.hk2.extras.hk2bridge.internal.CrossOverDescriptor
 
getFactoryServiceId() - Method in class org.glassfish.hk2.extras.hk2bridge.internal.CrossOverDescriptor
 
getFilter() - Method in class org.glassfish.hk2.extras.events.internal.DefaultTopicDistributionService
 
getIdentifier() - Method in class org.glassfish.hk2.extras.operation.internal.OperationHandleImpl
 
getIdentifier() - Method in interface org.glassfish.hk2.extras.operation.OperationHandle
Returns a unique identifier for this operation
getImplementationClass() - Method in class org.glassfish.hk2.extras.hk2bridge.internal.CrossOverDescriptor
 
getImplementationClass() - Method in class org.glassfish.hk2.extras.operation.internal.OperationDescriptor
 
getInjectees() - Method in class org.glassfish.hk2.extras.hk2bridge.internal.CrossOverDescriptor
 
getMethodInterceptors(Method) - Method in class org.glassfish.hk2.extras.interception.internal.DefaultInterceptionService
 
getOperationData() - Method in class org.glassfish.hk2.extras.operation.internal.OperationHandleImpl
 
getOperationData() - Method in interface org.glassfish.hk2.extras.operation.OperationHandle
Gets arbitrary Operation data to be associated with this Operation
getOperationIdentifier() - Method in class org.glassfish.hk2.extras.operation.internal.OperationIdentifierImpl
 
getOperationIdentifier() - Method in interface org.glassfish.hk2.extras.operation.OperationIdentifier
A uniquely generated name for an Operation identifier
getOperationScope() - Method in class org.glassfish.hk2.extras.operation.internal.OperationIdentifierImpl
 
getOperationScope() - Method in interface org.glassfish.hk2.extras.operation.OperationIdentifier
Returns the scope associated with this annotation type
getQualifierAnnotations() - Method in class org.glassfish.hk2.extras.hk2bridge.internal.CrossOverDescriptor
 
getScopeAnnotation() - Method in class org.glassfish.hk2.extras.hk2bridge.internal.CrossOverDescriptor
 
getScopeAsAnnotation() - Method in class org.glassfish.hk2.extras.hk2bridge.internal.CrossOverDescriptor
 
getState() - Method in class org.glassfish.hk2.extras.operation.internal.OperationHandleImpl
 
getState() - Method in interface org.glassfish.hk2.extras.operation.OperationHandle
Gets the current state of this operation

H

hashCode() - Method in class org.glassfish.hk2.extras.operation.internal.OperationHandleImpl
 
hashCode() - Method in class org.glassfish.hk2.extras.operation.internal.OperationIdentifierImpl
 
HK2BRIDGE_LOCATOR_ID - Static variable in class org.glassfish.hk2.extras.ExtrasUtilities
This will be put into the metadata of a descriptor that is bridged from another service locator.
HK2BRIDGE_SERVICE_ID - Static variable in class org.glassfish.hk2.extras.ExtrasUtilities
This will be put into the metadata of a descriptor that is bridged from another service locator.
Hk2BridgeImpl - Class in org.glassfish.hk2.extras.hk2bridge.internal
 

I

Intercepted - Annotation Type in org.glassfish.hk2.extras.interception
Classes annotated with this qualifier are to be intercepted with the default interception service implementation.
InterceptionBinder - Annotation Type in org.glassfish.hk2.extras.interception
This annotation is placed on an annotation that can be used to indicate a binding between an interceptor (annotated with Interceptor) and a class to be intercepted (annotated with Intercepted).
Interceptor - Annotation Type in org.glassfish.hk2.extras.interception
This annotation is placed on an implementation of either MethodInterceptor or ConstructorInterceptor in order to signify that these services should be automatically bound with the default interception service implementation.
InterceptorOrderingService - Interface in org.glassfish.hk2.extras.interception
This service can be used to modify, add or remove interceptors to the set of interceptors that will be called on a Method or Constructor in the default implementation of the interception service.
isActive() - Method in class org.glassfish.hk2.extras.operation.OperationContext
 
isReified() - Method in class org.glassfish.hk2.extras.hk2bridge.internal.CrossOverDescriptor
This method returns true if this descriptor has been reified (class loaded).

L

lifecycleEvent(InstanceLifecycleEvent) - Method in class org.glassfish.hk2.extras.events.internal.DefaultTopicDistributionService
 

M

modifyConstructorInterceptors(Constructor<?>, List<ServiceHandle<ConstructorInterceptor>>) - Method in interface org.glassfish.hk2.extras.interception.InterceptorOrderingService
This method is called for each constructor that may be intercepted by the default interception service.
modifyMethodInterceptors(Method, List<ServiceHandle<MethodInterceptor>>) - Method in interface org.glassfish.hk2.extras.interception.InterceptorOrderingService
This method is called for each method that may be intercepted by the default interception service.

O

OperationContext<T extends Annotation> - Class in org.glassfish.hk2.extras.operation
The implementation of Context for an Operation.
OperationContext() - Constructor for class org.glassfish.hk2.extras.operation.OperationContext
 
OperationDescriptor<T extends Annotation> - Class in org.glassfish.hk2.extras.operation.internal
 
OperationDescriptor(T, SingleOperationManager<T>) - Constructor for class org.glassfish.hk2.extras.operation.internal.OperationDescriptor
 
OperationHandle<T extends Annotation> - Interface in org.glassfish.hk2.extras.operation
This handle is used to associate or dis-associate threads with Operations.
OperationHandleImpl<T extends Annotation> - Class in org.glassfish.hk2.extras.operation.internal
 
OperationIdentifier<T extends Annotation> - Interface in org.glassfish.hk2.extras.operation
Unique identifier for an Operation.
OperationIdentifierImpl<T extends Annotation> - Class in org.glassfish.hk2.extras.operation.internal
 
OperationManager - Interface in org.glassfish.hk2.extras.operation
 
OperationManagerImpl - Class in org.glassfish.hk2.extras.operation.internal
 
OperationManagerImpl() - Constructor for class org.glassfish.hk2.extras.operation.internal.OperationManagerImpl
 
OperationState - Enum in org.glassfish.hk2.extras.operation
Describes the general state of the Operation
org.glassfish.hk2.extras - package org.glassfish.hk2.extras
 
org.glassfish.hk2.extras.events - package org.glassfish.hk2.extras.events
 
org.glassfish.hk2.extras.events.internal - package org.glassfish.hk2.extras.events.internal
 
org.glassfish.hk2.extras.hk2bridge.internal - package org.glassfish.hk2.extras.hk2bridge.internal
 
org.glassfish.hk2.extras.interception - package org.glassfish.hk2.extras.interception
 
org.glassfish.hk2.extras.interception.internal - package org.glassfish.hk2.extras.interception.internal
 
org.glassfish.hk2.extras.operation - package org.glassfish.hk2.extras.operation
 
org.glassfish.hk2.extras.operation.internal - package org.glassfish.hk2.extras.operation.internal
 

R

ReflectionUtilities - Class in org.glassfish.hk2.extras.interception.internal
 
ReflectionUtilities() - Constructor for class org.glassfish.hk2.extras.interception.internal.ReflectionUtilities
 
resume(long) - Method in class org.glassfish.hk2.extras.operation.internal.OperationHandleImpl
 
resume() - Method in class org.glassfish.hk2.extras.operation.internal.OperationHandleImpl
 
resume(long) - Method in interface org.glassfish.hk2.extras.operation.OperationHandle
Resumes this operation on the given thread id.
resume() - Method in interface org.glassfish.hk2.extras.operation.OperationHandle
Resumes this operation on the current thread.

S

setOperationData(Object) - Method in class org.glassfish.hk2.extras.operation.internal.OperationHandleImpl
 
setOperationData(Object) - Method in interface org.glassfish.hk2.extras.operation.OperationHandle
Sets arbitrary Operation data to be associated with this Operation
setOperationManager(SingleOperationManager<T>) - Method in class org.glassfish.hk2.extras.operation.OperationContext
 
setRemote(ServiceLocator) - Method in class org.glassfish.hk2.extras.hk2bridge.internal.Hk2BridgeImpl
 
shutdown() - Method in class org.glassfish.hk2.extras.operation.OperationContext
 
shutdownAllOperations(Annotation) - Method in class org.glassfish.hk2.extras.operation.internal.OperationManagerImpl
 
shutdownAllOperations(Annotation) - Method in interface org.glassfish.hk2.extras.operation.OperationManager
This method will suspend all currently open operations on all threads and then close them.
SingleOperationManager<T extends Annotation> - Class in org.glassfish.hk2.extras.operation.internal
 
subscribersFailed(Topic<?>, Object, MultiException) - Method in interface org.glassfish.hk2.extras.events.DefaultTopicDistributionErrorService
This method will be called once per Topic.publish(Object) call after the message has been distributed to all subscribers.
supportsNullCreation() - Method in class org.glassfish.hk2.extras.operation.OperationContext
 
suspend(long) - Method in class org.glassfish.hk2.extras.operation.internal.OperationHandleImpl
 
suspend() - Method in class org.glassfish.hk2.extras.operation.internal.OperationHandleImpl
 
suspend(long) - Method in interface org.glassfish.hk2.extras.operation.OperationHandle
Suspends this operation on the given thread id.
suspend() - Method in interface org.glassfish.hk2.extras.operation.OperationHandle
Suspends this operation on the current thread.

T

TopicDistributionModule - Class in org.glassfish.hk2.extras.events.internal
This module can be used to enable the default HK2 implementation of Topic distribution.
TopicDistributionModule() - Constructor for class org.glassfish.hk2.extras.events.internal.TopicDistributionModule
 
toString() - Method in class org.glassfish.hk2.extras.operation.internal.OperationHandleImpl
 
toString() - Method in class org.glassfish.hk2.extras.operation.internal.OperationIdentifierImpl
 
toString() - Method in class org.glassfish.hk2.extras.operation.internal.SingleOperationManager
 
toString() - Method in class org.glassfish.hk2.extras.operation.OperationContext
 

U

unbridgeServiceLocator(ServiceLocator, ServiceLocator) - Static method in class org.glassfish.hk2.extras.ExtrasUtilities
This method will remove all non-local services from the from ServiceLocator into the into ServiceLocator.

V

valueOf(String) - Static method in enum org.glassfish.hk2.extras.operation.OperationState
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.glassfish.hk2.extras.operation.OperationState
Returns an array containing the constants of this enum type, in the order they are declared.
B C D E F G H I L M O R S T U V 

Copyright © 2009-2015 Oracle Corporation. All Rights Reserved.