Uses of Class
org.jvnet.hk2.internal.ServiceLocatorImpl
Packages that use ServiceLocatorImpl
-
Uses of ServiceLocatorImpl in org.jvnet.hk2.internal
Methods in org.jvnet.hk2.internal with parameters of type ServiceLocatorImplModifier and TypeMethodDescriptionstatic <T> AutoActiveDescriptor<T>Utilities.createAutoDescriptor(Class<T> clazz, ServiceLocatorImpl locator) Creates a reified automatically generated descriptorstatic <T> AutoActiveDescriptor<T>Utilities.createAutoFactoryDescriptor(Class<T> parentClazz, org.glassfish.hk2.api.ActiveDescriptor<?> factoryDescriptor, ServiceLocatorImpl locator) Creates a reified automatically generated descriptorstatic <T> TUtilities.createService(org.glassfish.hk2.api.ActiveDescriptor<T> root, org.glassfish.hk2.api.Injectee injectee, ServiceLocatorImpl locator, org.glassfish.hk2.api.ServiceHandle<T> handle, Class<?> requestedClass) Creates the service (without the need for an intermediate ServiceHandle to be created)Utilities.findInitializerFields(Class<?> annotatedType, ServiceLocatorImpl locator, Collector errorCollector) Will find all the initialize fields in the classUtilities.findInitializerMethods(Class<?> annotatedType, ServiceLocatorImpl locator, Collector errorCollector) Get all the initializer methods of the annotatedType.static MethodUtilities.findPostConstruct(Class<?> clazz, ServiceLocatorImpl locator, Collector collector) Finds the post construct method on this classstatic MethodUtilities.findPreDestroy(Class<?> clazz, ServiceLocatorImpl locator, Collector collector) Finds the pre destroy method on this classstatic 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> TProxyUtilities.generateProxy(Class<?> requestedClass, ServiceLocatorImpl locator, org.glassfish.hk2.api.ActiveDescriptor<T> root, ServiceHandleImpl<T> handle, org.glassfish.hk2.api.Injectee injectee) static org.glassfish.hk2.api.ClassAnalyzerUtilities.getClassAnalyzer(ServiceLocatorImpl sli, String analyzerName, Collector errorCollector) Returns the class analyzer with the given nameorg.glassfish.hk2.api.InjectionResolver<?>PerLocatorUtilities.getInjectionResolver(ServiceLocatorImpl locator, org.glassfish.hk2.api.Injectee injectee) Returns an injection resolver for the injecteestatic org.glassfish.hk2.api.ActiveDescriptor<org.glassfish.hk2.api.InjectionResolver<jakarta.inject.Inject>>Utilities.getThreeThirtyDescriptor(ServiceLocatorImpl locator) Creates a Three Thirty constant active descriptorstatic ObjectUtilities.justAssistedInject(Object injectMe, Method method, ServiceLocatorImpl locator, org.glassfish.hk2.api.ServiceHandle<?> root, org.glassfish.hk2.api.MethodParameter... givenValues) Just injects this one methodstatic <T> TUtilities.justCreate(Class<T> createMe, ServiceLocatorImpl locator, String strategy) Just creates the thing, doesn't try to do anything elsestatic voidUtilities.justInject(Object injectMe, ServiceLocatorImpl locator, String strategy) Just injects the thing, doesn't try to do anything elsestatic voidUtilities.justPostConstruct(Object postMe, ServiceLocatorImpl locator, String strategy) Post constructs the given objectstatic voidUtilities.justPreDestroy(Object preMe, ServiceLocatorImpl locator, String strategy) Pre Destroys the given objectConstructors in org.jvnet.hk2.internal with parameters of type ServiceLocatorImplModifierConstructorDescriptionConstantActiveDescriptor(T theOne, ServiceLocatorImpl locator) Creates a constant active descriptor with the given locatorDefaultClassAnalyzer(ServiceLocatorImpl locator) The DefaultClassAnalyzer is per ServiceLocatorImplCreated by the generator, and hence must be publicServiceLocatorImpl(String name, ServiceLocatorImpl parent) Called by the Generator, and hence must be a public method