hooks

StandaloneHook

class StandaloneHook [S] extends Hook[S]

Standalone hook base type. You do not need to use this class directly.

Normally a hook can only be modified during the initilisation phase, because that's the only time that a mutable context can be located. Attempting to register behaviour with a hook at any other time will throw an exception. Standalone hooks bypass that restriction by wrapping the hook in a permanently mutable context.

Attributes
abstract
Linear Supertypes
Hook[S], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. StandaloneHook
  2. Hook
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StandaloneHook (base: Hook[S])

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def _get : List[S]

    Get all behaviours registered against this hook

    Get all behaviours registered against this hook

    Definition Classes
    Hook
  7. def _register (s: S): Unit

    Register a behaviour against this hook

    Register a behaviour against this hook

    Definition Classes
    Hook
  8. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  9. val base : Hook[S]

  10. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def eq (arg0: AnyRef): Boolean

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

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  15. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  16. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  17. def logErrors (f: ⇒ Unit): Unit

    Definition Classes
    Hook
  18. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  19. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  20. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  21. def standalone [R] (f: ⇒ R): R

    Perform some task using a dummy global context

    Perform some task using a dummy global context

    Attributes
    protected
  22. val standaloneContext : HookContextBuilderImpl

  23. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  24. def toString (): String

    Definition Classes
    AnyRef → Any
  25. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Hook[S]

Inherited from AnyRef

Inherited from Any