Uses of Class
org.jvnet.hk2.internal.Collector
Packages that use Collector
-
Uses of Collector in org.jvnet.hk2.internal
Methods in org.jvnet.hk2.internal with parameters of type CollectorModifier and TypeMethodDescriptionstatic void
Utilities.checkFactoryType
(Class<?> factoryClass, Collector collector) Checks to be sure the Factory class is okUtilities.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 Method
Utilities.findPostConstruct
(Class<?> clazz, ServiceLocatorImpl locator, Collector collector) Finds the post construct method on this classstatic Method
Utilities.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)static Set
<Annotation> Utilities.getAllQualifiers
(AnnotatedElement annotatedGuy, String name, Collector collector) Returns the full set of qualifier annotations on this class(package private) ClassAnalyzer
ServiceLocatorImpl.getAnalyzer
(String name, Collector collector) static ClassAnalyzer
Utilities.getClassAnalyzer
(ServiceLocatorImpl sli, String analyzerName, Collector errorCollector) Returns the class analyzer with the given namestatic <T> Constructor
<T> Utilities.getConstructor
(Class<T> implClass, ClassAnalyzer analyzer, Collector collector) Gets the constructor given the implClass and analyzer.static String
Utilities.getDefaultNameFromMethod
(Method parent, Collector collector) Returns the default name if one can be found.private ActiveDescriptor
<?> SystemDescriptor.getFactoryDescriptor
(Method provideMethod, Type factoryProvidedType, ServiceLocatorImpl locator, Collector collector) Utilities.getInitFields
(Class<?> implClass, ClassAnalyzer analyzer, Collector collector) Gets the initializer fields from the given class and analyzer.Utilities.getInitMethods
(Class<?> implClass, ClassAnalyzer analyzer, Collector collector) Gets the initializer methods from the given class and analyzer.static Method
Utilities.getPostConstruct
(Class<?> implClass, ClassAnalyzer analyzer, Collector collector) Gets the post construct from the analyzer, checking outputstatic Method
Utilities.getPreDestroy
(Class<?> implClass, ClassAnalyzer analyzer, Collector collector) Gets the preDestroy from the analyzer, checking outputstatic ScopeInfo
Utilities.getScopeAnnotationType
(AnnotatedElement annotatedGuy, Descriptor defaultScope, Collector collector) Returns the scope of this thingprivate static ScopeInfo
Utilities.getScopeInfo
(AnnotatedElement annotatedGuy, Descriptor defaultScope, Collector collector) (package private) void
ClazzCreator.initialize
(ActiveDescriptor<?> selfDescriptor, String analyzerName, Collector collector) (package private) void
ClazzCreator.initialize
(ActiveDescriptor<?> selfDescriptor, Collector collector) private static Annotation
Utilities.internalGetScopeAnnotationType
(AnnotatedElement annotatedGuy, Collector collector) This returns the scope annotation on this class *itself*, and no other classes (like, not subclasses).private void
SystemDescriptor.internalReify
(Class<?> implClass, Collector collector) The service locator must hold its lock for this calstatic Class
<?> Utilities.loadClass
(String loadMe, Descriptor fromMe, Collector collector) Loads the class using the loader from the given descriptor or the classloader of the utilities class otherwise(package private) void
private void
ClazzCreator.resolve
(Map<SystemInjecteeImpl, Object> addToMe, InjectionResolver<?> resolver, SystemInjecteeImpl injectee, ServiceHandle<?> root, Collector errorCollection) static void
Utilities.validateSelfInjectees
(ActiveDescriptor<?> givenDescriptor, List<SystemInjecteeImpl> injectees, Collector collector) This method validates a list of injectees to ensure that any self injectees have the proper set of requirements.