object LongevityContext
contains a factory method for LongevityContext objects
- Source
- LongevityContext.scala
- Alphabetic
- By Inheritance
- LongevityContext
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply[F[_], M](config: LongevityConfig)(implicit arg0: Effect[F], arg1: ModelType[M]): LongevityContext[F, M]
creates and returns a LongevityContext using a LongevityConfig
creates and returns a LongevityContext using a LongevityConfig
- F
the effect
- M
the model
- config
the longevity configuration
-
def
apply[F[_], M](typesafeConfig: Config = ConfigFactory.load())(implicit arg0: Effect[F], arg1: ModelType[M]): LongevityContext[F, M]
creates and returns a LongevityContext using a Typesafe config
creates and returns a LongevityContext using a Typesafe config
- F
the effect
- M
the model
- typesafeConfig
the typesafe configuration. defaults to typesafe config's
ConfigFactory.load()
- Exceptions thrown
longevity.exceptions.context.LongevityConfigException
if the typesafe configuration does not adequately specify the LongevityConfig
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )