Uses of Class
org.int4.dirk.api.definition.DependencyException
-
Packages that use DependencyException Package Description org.int4.dirk.api org.int4.dirk.api.definition org.int4.dirk.core org.int4.dirk.core.store org.int4.dirk.plugins -
-
Uses of DependencyException in org.int4.dirk.api
Methods in org.int4.dirk.api that throw DependencyException 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 DependencyException in org.int4.dirk.api.definition
Subclasses of DependencyException in org.int4.dirk.api.definition Modifier and Type Class Description classAmbiguousDependencyExceptionThrown when there are multiple candidates for a dependency where only one is expected.classAmbiguousRequiredDependencyExceptionThrown when an attempt is made to register a type that would cause a dependency required by another type to become ambiguous.classCyclicDependencyExceptionThrown when a type or a group of types which are being registered has a dependency which directly or indirectly refers to the type containing the dependency, otherwise known as a cyclical dependency.classDuplicateDependencyExceptionThrown when attempting to add a dependency which was already added to the store.classMissingDependencyExceptionThrown when a dependency is not present in the store.classRequiredDependencyExceptionThrown when an attempt is made to register or remove a type that would cause a dependency required by another type to be ambiguous or unresolvable (either by providing a second alternative or by not providing one anymore).classScopeConflictExceptionThrown during registration when a type is determined to dependent on a normal scoped type of a different scope than the type being registered, and the injector is not able or configured to resolve the problem itself (for example, by using a proxy).classUnsatisfiedDependencyExceptionThrown when not all dependencies can be resolved.classUnsatisfiedRequiredDependencyExceptionThrown when an attempt is made to remove a type that would cause a dependency required by another type to become unresolvable. -
Uses of DependencyException in org.int4.dirk.core
Methods in org.int4.dirk.core that throw DependencyException 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 DependencyException in org.int4.dirk.core.store
Methods in org.int4.dirk.core.store that throw DependencyException Modifier and Type Method Description voidInjectableStore. putAll(java.util.Collection<Injectable<?>> injectables)Adds multipleInjectables to the store.voidInjectableStore. removeAll(java.util.Collection<Injectable<?>> injectables)Removes multipleInjectables from the store. -
Uses of DependencyException in org.int4.dirk.plugins
Methods in org.int4.dirk.plugins that throw DependencyException 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.
-