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,
Injectee 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 java.lang.Object |
Utilities.justAssistedInject(java.lang.Object injectMe,
java.lang.reflect.Method method,
ServiceLocatorImpl locator,
ServiceHandle<?> root,
MethodParameter... givenValues) |
Just injects this one method
|
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 injects 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) |
|