static <T> AutoActiveDescriptor<T> |
Utilities.createAutoDescriptor(Class<T> clazz,
ServiceLocatorImpl locator) |
Creates a reified automatically generated descriptor
|
static <T> AutoActiveDescriptor<T> |
Utilities.createAutoFactoryDescriptor(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,
Class<?> requestedClass) |
Creates the service (without the need for an intermediate ServiceHandle
to be created)
|
static Set<Field> |
Utilities.findInitializerFields(Class<?> annotatedType,
ServiceLocatorImpl locator,
Collector errorCollector) |
Will find all the initialize fields in the class
|
static Set<Method> |
Utilities.findInitializerMethods(Class<?> annotatedType,
ServiceLocatorImpl locator,
Collector errorCollector) |
Get all the initializer methods of the annotatedType.
|
static Method |
Utilities.findPostConstruct(Class<?> clazz,
ServiceLocatorImpl locator,
Collector collector) |
Finds the post construct method on this class
|
static Method |
Utilities.findPreDestroy(Class<?> clazz,
ServiceLocatorImpl locator,
Collector collector) |
Finds the pre destroy method on this class
|
static Constructor<?> |
Utilities.findProducerConstructor(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(Class<?> requestedClass,
ServiceLocatorImpl locator,
ActiveDescriptor<T> root,
ServiceHandleImpl<T> handle,
Injectee injectee) |
|
static ClassAnalyzer |
Utilities.getClassAnalyzer(ServiceLocatorImpl sli,
String analyzerName,
Collector errorCollector) |
Returns the class analyzer with the given name
|
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 Object |
Utilities.justAssistedInject(Object injectMe,
Method method,
ServiceLocatorImpl locator,
ServiceHandle<?> root,
MethodParameter... givenValues) |
Just injects this one method
|
static <T> T |
Utilities.justCreate(Class<T> createMe,
ServiceLocatorImpl locator,
String strategy) |
Just creates the thing, doesn't try to do anything else
|
static void |
Utilities.justInject(Object injectMe,
ServiceLocatorImpl locator,
String strategy) |
Just injects the thing, doesn't try to do anything else
|
static void |
Utilities.justPostConstruct(Object postMe,
ServiceLocatorImpl locator,
String strategy) |
Post constructs the given object
|
static void |
Utilities.justPreDestroy(Object preMe,
ServiceLocatorImpl locator,
String strategy) |
Pre Destroys the given object
|