Trait

com.reactific.helpers

Registry

Related Doc: package helpers

Permalink

trait Registry[T <: Registrable[T]] extends AbstractRegistry[Symbol, T]

A trait for specifying the registration of some type of object (T) which must have at least Registrable mixed in. This abstracts the notion of a registry of objects that conform to an interface.

Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Registry
  2. AbstractRegistry
  3. ThrowingHelper
  4. LoggingHelper
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def registrantsName: String

    Permalink
  2. abstract def registryName: String

    Permalink

Concrete 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. final def _register(key: Symbol, obj: T): obj.type

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractRegistry
  5. final def _unregister(key: Symbol): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractRegistry
  6. def apply(name: Symbol): Option[T]

    Permalink
  7. def as[U <: Registrable[T]](id: Symbol): U

    Permalink
  8. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def contains(key: Symbol): Boolean

    Permalink
    Definition Classes
    AbstractRegistry
  11. def containsValue(value: T): Boolean

    Permalink
    Definition Classes
    AbstractRegistry
  12. def createLoggerName: String

    Permalink
    Attributes
    protected
    Definition Classes
    RegistryLoggingHelper
  13. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def exists(name: Symbol): Boolean

    Permalink
    Definition Classes
    AbstractRegistry
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def find(ids: Seq[Symbol]): Seq[T]

    Permalink
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def getRegistrant(name: Symbol): Option[T]

    Permalink
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. def isEmpty: Boolean

    Permalink
    Definition Classes
    AbstractRegistry
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. def isRegistered(name: Symbol): Boolean

    Permalink
  24. def keys: Seq[Symbol]

    Permalink
    Definition Classes
    AbstractRegistry
  25. def level: Level

    Permalink
    Definition Classes
    LoggingHelper
  26. lazy val log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingHelper
  27. def loggerName: String

    Permalink
    Definition Classes
    LoggingHelper
  28. def lookup(key: Symbol): Option[T]

    Permalink
    Definition Classes
    AbstractRegistry
  29. def lookupOrElse(key: Symbol, value: T): Option[T]

    Permalink
    Definition Classes
    AbstractRegistry
  30. def map[W](f: ((Symbol, T)) ⇒ (Symbol, W)): Map[Symbol, W]

    Permalink
    Definition Classes
    AbstractRegistry
  31. def mkThrowable(msg: String, cause: Option[Throwable] = None): ThrowableWithComponent

    Permalink
    Attributes
    protected
    Definition Classes
    ThrowingHelper
  32. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  33. def nonEmpty: Boolean

    Permalink
    Definition Classes
    AbstractRegistry
  34. def notImplemented(what: String): Nothing

    Permalink
    Definition Classes
    ThrowingHelper
  35. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  37. def pick: T

    Permalink
  38. def pick(index: Int): Symbol

    Permalink
    Definition Classes
    AbstractRegistry
  39. val rand: Random

    Permalink
  40. def register(thing: T): Unit

    Permalink
  41. def select(f: ((Symbol, T)) ⇒ Boolean): Iterable[T]

    Permalink
    Definition Classes
    AbstractRegistry
  42. def size: Int

    Permalink
    Definition Classes
    AbstractRegistry
  43. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  45. def toss(msg: ⇒ String, cause: Option[Throwable] = None): Nothing

    Permalink

    Identity Aware Exception Toss This function makes it easier to throw (toss) an exception that adds a message to it and also identifies the tosser that threw it.

    Identity Aware Exception Toss This function makes it easier to throw (toss) an exception that adds a message to it and also identifies the tosser that threw it. This helps track down where in the code the message was thrown from.

    msg

    - Message to add to the exception

    cause

    - The root cause exception

    Definition Classes
    ThrowingHelper
  46. def unregister(thing: T): Unit

    Permalink
  47. def values: Seq[T]

    Permalink
    Definition Classes
    AbstractRegistry
  48. final def wait(): Unit

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

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

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

Inherited from AbstractRegistry[Symbol, T]

Inherited from ThrowingHelper

Inherited from LoggingHelper

Inherited from AnyRef

Inherited from Any

Ungrouped