Package | Description |
---|---|
org.jvnet.hk2.external.generator | |
org.jvnet.hk2.internal |
Modifier and Type | Method and Description |
---|---|
private ServiceLocatorImpl |
ServiceLocatorGeneratorImpl.initialize(java.lang.String name,
ServiceLocator parent) |
Modifier and Type | Field and Description |
---|---|
private ServiceLocatorImpl |
ClazzCreator.locator |
private ServiceLocatorImpl |
DefaultClassAnalyzer.locator |
private ServiceLocatorImpl |
DynamicConfigurationImpl.locator |
private ServiceLocatorImpl |
DynamicConfigurationServiceImpl.locator |
private ServiceLocatorImpl |
IterableProviderImpl.locator |
private ServiceLocatorImpl |
MethodInterceptorHandler.locator |
private ServiceLocatorImpl |
MethodInterceptorImpl.locator |
private ServiceLocatorImpl |
ServiceHandleImpl.locator |
private ServiceLocatorImpl |
ServiceLocatorRuntimeImpl.locator |
private ServiceLocatorImpl |
SingletonContext.locator |
private ServiceLocatorImpl |
ThreeThirtyResolver.locator |
private ServiceLocatorImpl |
TopicImpl.locator |
private ServiceLocatorImpl |
PerLocatorUtilities.parent |
private ServiceLocatorImpl |
ServiceLocatorImpl.parent |
private ServiceLocatorImpl |
SystemDescriptor.sdLocator |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ServiceLocatorImpl,ServiceLocatorImpl> |
ServiceLocatorImpl.children |
private java.util.Map<ServiceLocatorImpl,ServiceLocatorImpl> |
ServiceLocatorImpl.children |
Modifier and Type | Method and Description |
---|---|
private ServiceLocatorImpl |
ServiceLocatorImpl.getMe()
Used to get the ServiceLocatorImpl in inner classes
|
(package private) ServiceLocatorImpl |
ClazzCreator.getServiceLocator() |
Modifier and Type | Method and Description |
---|---|
private void |
ServiceLocatorImpl.addChild(ServiceLocatorImpl child) |
static <T> AutoActiveDescriptor<T> |
Utilities.createAutoDescriptor(java.lang.Class<T> clazz,
ServiceLocatorImpl locator)
Creates a reified automatically generated descriptor
|
static <T> AutoActiveDescriptor<T> |
Utilities.createAutoFactoryDescriptor(java.lang.Class<T> parentClazz,
ActiveDescriptor<?> factoryDescriptor,
ServiceLocatorImpl locator)
Creates a reified automatically generated descriptor
|
static <T> T |
Utilities.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)
|
static java.util.Set<java.lang.reflect.Field> |
Utilities.findInitializerFields(java.lang.Class<?> annotatedType,
ServiceLocatorImpl locator,
Collector errorCollector)
Will find all the initialize fields in the class
|
static java.util.Set<java.lang.reflect.Method> |
Utilities.findInitializerMethods(java.lang.Class<?> annotatedType,
ServiceLocatorImpl locator,
Collector errorCollector)
Get all the initializer methods of the annotatedType.
|
static java.lang.reflect.Method |
Utilities.findPostConstruct(java.lang.Class<?> clazz,
ServiceLocatorImpl locator,
Collector collector)
Finds the post construct method on this class
|
static java.lang.reflect.Method |
Utilities.findPreDestroy(java.lang.Class<?> clazz,
ServiceLocatorImpl locator,
Collector collector)
Finds the pre destroy method on this class
|
static java.lang.reflect.Constructor<?> |
Utilities.findProducerConstructor(java.lang.Class<?> annotatedType,
ServiceLocatorImpl locator,
Collector collector)
Validates the constructors of the annotated type and returns the
producer for the annotatedType (if there is no valid producer
constructor then this method returns null)
|
<T> T |
ProxyUtilities.generateProxy(java.lang.Class<?> requestedClass,
ServiceLocatorImpl locator,
ActiveDescriptor<T> root,
ServiceHandleImpl<T> handle,
Injectee injectee) |
(package private) static Utilities.Interceptors |
Utilities.getAllInterceptors(ServiceLocatorImpl impl,
ActiveDescriptor<?> descriptor,
java.lang.Class<?> clazz,
java.lang.reflect.Constructor<?> c) |
static ClassAnalyzer |
Utilities.getClassAnalyzer(ServiceLocatorImpl sli,
java.lang.String analyzerName,
Collector errorCollector)
Returns the class analyzer with the given name
|
private ActiveDescriptor<?> |
SystemDescriptor.getFactoryDescriptor(java.lang.reflect.Method provideMethod,
java.lang.reflect.Type factoryProvidedType,
ServiceLocatorImpl locator,
Collector collector) |
private java.lang.annotation.Annotation |
PerLocatorUtilities.getInjectAnnotation(ServiceLocatorImpl locator,
java.lang.reflect.AnnotatedElement annotated,
boolean checkParams,
int position)
Gets the annotation that was used for the injection
|
(package private) InjectionResolver<?> |
PerLocatorUtilities.getInjectionResolver(ServiceLocatorImpl locator,
java.lang.reflect.AnnotatedElement annotatedGuy)
Returns an injection resolver for this AnnotatedElement.
|
private InjectionResolver<?> |
PerLocatorUtilities.getInjectionResolver(ServiceLocatorImpl locator,
java.lang.reflect.AnnotatedElement annotatedGuy,
int position) |
InjectionResolver<?> |
PerLocatorUtilities.getInjectionResolver(ServiceLocatorImpl locator,
SystemInjecteeImpl injectee)
Returns an injection resolver for the injectee
|
static ActiveDescriptor<InjectionResolver<javax.inject.Inject>> |
Utilities.getThreeThirtyDescriptor(ServiceLocatorImpl locator)
Creates a Three Thirty constant active descriptor
|
static <T> T |
Utilities.justCreate(java.lang.Class<T> createMe,
ServiceLocatorImpl locator,
java.lang.String strategy)
Just creates the thing, doesn't try to do anything else
|
static void |
Utilities.justInject(java.lang.Object injectMe,
ServiceLocatorImpl locator,
java.lang.String strategy)
Just creates the thing, doesn't try to do anything else
|
static void |
Utilities.justPostConstruct(java.lang.Object postMe,
ServiceLocatorImpl locator,
java.lang.String strategy)
Post constructs the given object
|
static void |
Utilities.justPreDestroy(java.lang.Object preMe,
ServiceLocatorImpl locator,
java.lang.String strategy)
Pre Destroys the given object
|
private void |
ServiceLocatorImpl.removeChild(ServiceLocatorImpl child) |
Modifier and Type | Method and Description |
---|---|
private void |
ServiceLocatorImpl.getAllChildren(java.util.LinkedList<ServiceLocatorImpl> allMyChildren) |
Constructor and Description |
---|
ClazzCreator(ServiceLocatorImpl locator,
java.lang.Class<?> implClass) |
ConstantActiveDescriptor(T theOne,
ServiceLocatorImpl locator)
Creates a constant active descriptor with the given locator ID
|
DefaultClassAnalyzer(ServiceLocatorImpl locator)
The DefaultClassAnalyzer is per ServiceLocatorImpl
|
DynamicConfigurationImpl(ServiceLocatorImpl locator)
Created by the generator, and hence must be public
|
IterableProviderImpl(ServiceLocatorImpl locator,
java.lang.reflect.Type requiredType,
java.util.Set<java.lang.annotation.Annotation> requiredQualifiers,
Unqualified unqualified,
Injectee originalInjectee,
boolean isIterable) |
MethodInterceptorHandler(ServiceLocatorImpl locator,
ActiveDescriptor<?> underlyingDescriptor,
java.util.Map<java.lang.reflect.Method,java.util.List<org.aopalliance.intercept.MethodInterceptor>> interceptorLists) |
MethodInterceptorImpl(ServiceLocatorImpl sli,
ActiveDescriptor<?> descriptor,
ServiceHandleImpl<?> root,
Injectee injectee) |
PerLocatorUtilities(ServiceLocatorImpl parent) |
ServiceHandleImpl(ServiceLocatorImpl locator,
ActiveDescriptor<T> root,
Injectee injectee) |
ServiceLocatorImpl(java.lang.String name,
ServiceLocatorImpl parent)
Called by the Generator, and hence must be a public method
|
SingletonContext(ServiceLocatorImpl impl) |
SystemDescriptor(Descriptor baseDescriptor,
boolean requiresDeepCopy,
ServiceLocatorImpl locator,
java.lang.Long serviceId) |
ThreeThirtyResolver(ServiceLocatorImpl locator) |
TopicImpl(ServiceLocatorImpl locator,
java.lang.reflect.Type topicType,
java.util.Set<java.lang.annotation.Annotation> requiredQualifiers) |