Uses of Class
org.int4.dirk.api.definition.DefinitionException
-
-
Uses of DefinitionException in org.int4.dirk.api
Methods in org.int4.dirk.api that throw DefinitionException Modifier and Type Method Description voidCandidateRegistry. register(java.lang.reflect.Type type)Registers aType, and all its derived candidates if any, if all its dependencies can be resolved and it would not cause existing registered types to have ambiguous dependencies as a result of registering the given type.voidCandidateRegistry. register(java.util.Collection<java.lang.reflect.Type> types)Registers the givenTypes, and all their derived candidates if any, if all their dependencies can be resolved and it would not cause existing registered types to have ambiguous dependencies as a result of registering the given types.voidCandidateRegistry. registerInstance(java.lang.Object instance, java.lang.annotation.Annotation... qualifiers)Registers an instance, and all its derived candidates if any, as a singleton if it would not cause existing registered types to have ambiguous dependencies as a result.voidCandidateRegistry. remove(java.lang.reflect.Type type)Removes the givenType, and all its derived candidates if any, if doing so would not result maintains all invariants for the remaining registered types.voidCandidateRegistry. remove(java.util.Collection<java.lang.reflect.Type> types)Removes the givenTypes, all their derived candidates if any, if doing so would not result maintains all invariants for the remaining registered types.voidCandidateRegistry. removeInstance(java.lang.Object instance, java.lang.annotation.Annotation... qualifiers)Removes an instance, and all its derived candidates if any, if doing so would not result in broken dependencies in the remaining registered types. -
Uses of DefinitionException in org.int4.dirk.core
Methods in org.int4.dirk.core that throw DefinitionException Modifier and Type Method Description voidStandardInjector. register(java.lang.reflect.Type concreteType)voidStandardInjector. register(java.util.Collection<java.lang.reflect.Type> concreteTypes)voidStandardInjector. registerInstance(java.lang.Object instance, java.lang.annotation.Annotation... qualifiers)voidStandardInjector. remove(java.lang.reflect.Type concreteType)voidStandardInjector. remove(java.util.Collection<java.lang.reflect.Type> concreteTypes)voidStandardInjector. removeInstance(java.lang.Object instance, java.lang.annotation.Annotation... qualifiers) -
Uses of DefinitionException in org.int4.dirk.core.definition
Methods in org.int4.dirk.core.definition that throw DefinitionException Modifier and Type Method Description <T> Injectable<T>ClassInjectableFactory. create(java.lang.reflect.Type type)Attempts to create a newInjectablefrom the givenType.<T> Injectable<T>FieldInjectableFactory. create(java.lang.reflect.Field field, java.lang.reflect.Type ownerType)Creates a newInjectable.BGenericBindingProvider.BindingFactory. create(java.lang.reflect.Type type, java.lang.reflect.AnnotatedElement annotatedElement)Creates a binding of typeB.<T> Injectable<T>InjectableFactory. create(java.lang.reflect.Type ownerType, java.lang.reflect.Member member, java.lang.reflect.AnnotatedElement element, java.util.List<Binding> bindings, Constructable<T> constructable)CreatesInjectables given an ownerType, an optionalMemberanAnnotatedElement, a list ofBindings and aConstructable.<T> Injectable<T>InstanceInjectableFactory. create(T instance, java.lang.annotation.Annotation... qualifiers)Creates a newInjectable.<T> Injectable<T>MethodInjectableFactory. create(java.lang.reflect.Method method, java.lang.reflect.Type ownerType)Creates a newInjectable.java.lang.reflect.Constructor<?>BindingProvider. getAnnotatedConstructor(java.lang.Class<?> cls)Returns an annotatedConstructorsuitable for injection.java.lang.reflect.Constructor<?>GenericBindingProvider. getAnnotatedConstructor(java.lang.Class<?> cls)Returns an annotatedConstructorsuitable for injection.<T> java.lang.reflect.Constructor<T>BindingProvider. getConstructor(java.lang.Class<T> cls)Returns aConstructorsuitable for injection.<T> java.lang.reflect.Constructor<T>GenericBindingProvider. getConstructor(java.lang.Class<T> cls)Returns aConstructorsuitable for injection.java.util.List<Binding>BindingProvider. ofConstructor(java.lang.reflect.Constructor<?> constructor)Returns all bindings for the givenConstructor.java.util.List<B>GenericBindingProvider. ofConstructor(java.lang.reflect.Constructor<?> constructor)Returns all bindings for the givenConstructor.java.util.List<Binding>BindingProvider. ofConstructorAndMembers(java.lang.reflect.Constructor<?> constructor, java.lang.Class<?> cls)Returns all bindings for the givenConstructorand all member bindings for the given class.java.util.List<B>GenericBindingProvider. ofConstructorAndMembers(java.lang.reflect.Constructor<?> constructor, java.lang.Class<?> cls)Returns all bindings for the givenConstructorand all member bindings for the given class.java.util.List<Binding>BindingProvider. ofField(java.lang.reflect.Field field, java.lang.reflect.Type ownerType)Returns all bindings for the givenField.java.util.List<B>GenericBindingProvider. ofField(java.lang.reflect.Field field, java.lang.reflect.Type ownerType)Returns all bindings for the givenField.java.util.List<Binding>BindingProvider. ofMembers(java.lang.Class<?> cls)Returns all member bindings for the given class.java.util.List<B>GenericBindingProvider. ofMembers(java.lang.Class<?> cls)Returns all member bindings for the given class.java.util.List<Binding>BindingProvider. ofMethod(java.lang.reflect.Method method, java.lang.reflect.Type ownerType)Returns all bindings for the givenMethod.java.util.List<B>GenericBindingProvider. ofMethod(java.lang.reflect.Method method, java.lang.reflect.Type ownerType)Returns all bindings for the givenMethod. -
Uses of DefinitionException in org.int4.dirk.core.discovery
Methods in org.int4.dirk.core.discovery that throw DefinitionException Modifier and Type Method Description java.util.Set<Injectable<?>>Discoverer. discover()Discovers additionalInjectables. -
Uses of DefinitionException in org.int4.dirk.extensions.assisted
Methods in org.int4.dirk.extensions.assisted that throw DefinitionException Modifier and Type Method Description voidAssistedTypeRegistrationExtension. deriveTypes(TypeRegistrationExtension.Registry registry, java.lang.reflect.Type factoryType) -
Uses of DefinitionException in org.int4.dirk.library
Methods in org.int4.dirk.library that throw DefinitionException Modifier and Type Method Description LifeCycleCallbacksAnnotationBasedLifeCycleCallbacksFactory. create(java.lang.Class<?> cls)voidProducesTypeRegistrationExtension. deriveTypes(TypeRegistrationExtension.Registry registry, java.lang.reflect.Type type)voidProviderTypeRegistrationExtension. deriveTypes(TypeRegistrationExtension.Registry registry, java.lang.reflect.Type type)java.lang.annotation.AnnotationSimpleScopeStrategy. getScope(java.lang.reflect.AnnotatedElement element) -
Uses of DefinitionException in org.int4.dirk.plugins
Methods in org.int4.dirk.plugins that throw DefinitionException Modifier and Type Method Description PluginPluginManager. loadPlugin(java.net.URL... urls)Loads classes from a plugin defined by a Module.PluginPluginManager. loadPluginAndScan(java.lang.String... packageNamePrefixes)Scans the given package prefixes and creates aPluginfor any annotated types located during the scan.PluginPluginManager. loadPluginAndScan(java.net.URL... urls)Loads jars at the givenURLs, scans for annotated types and creates aPlugin.voidComponentScanner. scan(CandidateRegistry registry)Scans for annotated types and adds them to the givenCandidateRegistry.voidPluginManager. unload(Plugin plugin)Attempts to unload the given plugin. -
Uses of DefinitionException in org.int4.dirk.spi.config
Methods in org.int4.dirk.spi.config that throw DefinitionException Modifier and Type Method Description LifeCycleCallbacksLifeCycleCallbacksFactory. create(java.lang.Class<?> cls)Creates aLifeCycleCallbacksfor a given class.java.util.Set<java.lang.annotation.Annotation>AnnotationStrategy. getInjectAnnotations(java.lang.reflect.AnnotatedElement element)Returns allAnnotations on the givenAnnotatedElementwhich are inject annotations.java.util.Set<java.lang.annotation.Annotation>AnnotationStrategy. getQualifiers(java.lang.reflect.AnnotatedElement element)Returns allAnnotations on the givenAnnotatedElementwhich are qualifier annotations.java.lang.annotation.AnnotationScopeStrategy. getScope(java.lang.reflect.AnnotatedElement element)Returns the scope annotation on the givenAnnotatedElement, if any.booleanAnnotationStrategy. isOptional(java.lang.reflect.AnnotatedElement element)Checks if the givenAnnotatedElementis optional. -
Uses of DefinitionException in org.int4.dirk.spi.discovery
Methods in org.int4.dirk.spi.discovery that throw DefinitionException Modifier and Type Method Description voidTypeRegistrationExtension.Registry. add(java.lang.reflect.Field field, java.lang.reflect.Type ownerType)Adds a derived type given aFieldand the field's ownerType.voidTypeRegistrationExtension.Registry. add(java.lang.reflect.Method method, java.lang.reflect.Type ownerType)Adds a derived type given aMethodand the method's ownerType.voidTypeRegistrationExtension.Registry. add(java.lang.reflect.Type type)Adds a derived type given aType.voidTypeRegistrationExtension. deriveTypes(TypeRegistrationExtension.Registry registry, java.lang.reflect.Type type)Called during registration of new types to allow the extension to register further types that can be directly derived from the givenType.
-