Package

com.phylage.scaladia

injector

Permalink

package injector

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. injector
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait AutoInject[T] extends AutoInjectable[T] with Injector

    Permalink

    It is a basic automatic injection interface.

    It is a basic automatic injection interface. The priority is fixed, use com.phylage.scaladia.injector.AutoInjectCustomPriority to change it.

    T

    Type to register

  2. class AutoInjectCustomPriority[T] extends AutoInject[T]

    Permalink

    Inject automatically by specifying priority

    Inject automatically by specifying priority

    T

    Type to register

  3. class ImplicitContainerInheritation[T] extends ContainerAccessible[LocalizedContainer]

    Permalink
  4. trait Injector extends ContainerAccessible[Container]

    Permalink
  5. trait RecoveredInject[T] extends AutoInject[T] with Injector

    Permalink

    This is registered as the weakest dependency that is applied when there is no injectible dependency.

    This is registered as the weakest dependency that is applied when there is no injectible dependency.

    T

    Type to register

  6. trait RefreshInjection extends Injector

    Permalink

    Used to repool auto-injectable objects present in the current classpath.

    Used to repool auto-injectable objects present in the current classpath.

    Basic injection needs to be executed in the module to be started first. The declaration injected in the library has already completed macro expansion.

    That is, when a third-party object accessed without injection tries to inject someone for the first time, higher priority objects in the current classpath may be ignored.

    At that time, by inheriting RefreshInjection at a higher level, AutoInjectable in the class path will be pooled again.

Value Members

  1. implicit def _containerInheritance[T](x: ImplicitContainerInheritation[T]): T

    Permalink
  2. package scope

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped