net.liftweb.util.SimpleInjector.Inject

class Inject

abstract class Inject[T](_default : Vendor[T], implicit man : Manifest[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.


Source: Maker.scala(60)

 Constructors

def this(_default : Vendor[T])(implicit man : Manifest[T])

 Fields

default.. object default
The default function for vending an instance


 extends PSettableValueHolder[Vendor[T]] with ScalaObject
make.. implicit override def make
Make a Box of the instance
Box[T]
vend.. implicit def vend
Vend an instance
T

 Methods

!=.. final def !=(arg0 : Object) Boolean AnyRef
!=.. final def !=(arg0 : Any) Boolean Any
==.. final def ==(arg0 : Any) Boolean Any
==.. final def ==(arg0 : Object) Boolean AnyRef
apply.. def apply T Vendor
asInstanceOf.. final def asInstanceOf[T0] T0 Any
clone.. protected def clone Object AnyRef
doWith.. def doWith[F](vFunc : () => T)(f : => F) F StackableMaker
doWith.. def doWith[F](value : T)(f : => F) F StackableMaker
doWith.. def doWith[F](addl : PValueHolder[Maker[T]])(f : => F) F StackableMaker
eq.. final def eq(arg0 : Object) Boolean AnyRef
equals.. def equals(arg0 : Any) Boolean AnyRef
finalize.. protected def finalize Unit AnyRef
find.. protected final def find(in : List[PValueHolder[Maker[T]]]) Box[T] StackableMaker
getClass.. final def getClass Class[Any] AnyRef
hashCode.. def hashCode Int AnyRef
isInstanceOf.. final def isInstanceOf[T0] Boolean Any
ne.. final def ne(arg0 : Object) Boolean AnyRef
notify.. final def notify Unit AnyRef
notifyAll.. final def notifyAll Unit AnyRef
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
toString.. override def toString String Function0
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
wait.. final def wait Unit AnyRef
wait.. final def wait(arg0 : Long) Unit AnyRef
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.