Package org.int4.dirk.api.definition
Class ScopeConflictException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.int4.dirk.api.definition.DependencyException
-
- org.int4.dirk.api.definition.ScopeConflictException
-
- All Implemented Interfaces:
java.io.Serializable
public class ScopeConflictException extends DependencyException
Thrown 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).A dependency resulting in a scope conflict can be wrapped in a provider to resolve this problem. When called, the provider may still fail at run time if the scope of the dependency is not active.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScopeConflictException(java.lang.String message, java.lang.Throwable cause)Constructs a new instance.
-