Class

net.liftweb.util.SimpleInjector

Inject

Related Doc: package SimpleInjector

Permalink

abstract class Inject[T] extends StackableMaker[T] with Vendor[T]

Create an object or val that is a subclass of the FactoryMaker to generate factory for a particular class as well as define session and request specific vendors and use doWith to define the vendor just for the scope of the call.

Linear Supertypes
Vendor[T], () ⇒ T, StackableMaker[T], Maker[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Inject
  2. Vendor
  3. Function0
  4. StackableMaker
  5. Maker
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Inject(_default: Vendor[T])(implicit man: Manifest[T])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(): T

    Permalink
    Definition Classes
    Vendor → Function0
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. object default extends PSettableValueHolder[Vendor[T]]

    Permalink

    The default function for vending an instance

  8. def doWith[F](addl: PValueHolder[Maker[T]])(f: ⇒ F): F

    Permalink

    Changes to the stack of Makers made by this method are thread-local!

    Changes to the stack of Makers made by this method are thread-local!

    Definition Classes
    StackableMaker
  9. def doWith[F](vFunc: () ⇒ T)(f: ⇒ F): F

    Permalink

    Changes to the stack of Makers made by this method are thread-local!

    Changes to the stack of Makers made by this method are thread-local!

    Definition Classes
    StackableMaker
  10. def doWith[F](value: T)(f: ⇒ F): F

    Permalink

    Changes to the stack of Makers made by this method are thread-local!

    Changes to the stack of Makers made by this method are thread-local!

    Definition Classes
    StackableMaker
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def find(in: List[PValueHolder[Maker[T]]]): Box[T]

    Permalink
    Attributes
    protected
    Definition Classes
    StackableMaker
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. implicit def make: Box[T]

    Permalink

    Make a Box of the instance.

    Make a Box of the instance.

    Definition Classes
    InjectStackableMakerMaker
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    Function0 → AnyRef → Any
  24. implicit def vend: T

    Permalink

    Vend an instance

    Vend an instance

    Definition Classes
    InjectVendor
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Vendor[T]

Inherited from () ⇒ T

Inherited from StackableMaker[T]

Inherited from Maker[T]

Inherited from AnyRef

Inherited from Any

Ungrouped