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.
- Alphabetic
- By Inheritance
- Registry
- AbstractRegistry
- ThrowingHelper
- LoggingHelper
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Concrete 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
-
final
def
_register(key: Symbol, obj: T): obj.type
- Attributes
- protected
- Definition Classes
- AbstractRegistry
-
final
def
_unregister(key: Symbol): Unit
- Attributes
- protected
- Definition Classes
- AbstractRegistry
- def apply(name: Symbol): Option[T]
- def as[U <: Registrable[T]](id: Symbol): U
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
contains(key: Symbol): Boolean
- Definition Classes
- AbstractRegistry
-
def
containsValue(value: T): Boolean
- Definition Classes
- AbstractRegistry
-
def
createLoggerName: String
- Attributes
- protected
- Definition Classes
- Registry → LoggingHelper
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
exists(name: Symbol): Boolean
- Definition Classes
- AbstractRegistry
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def find(ids: Seq[Symbol]): Seq[T]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- def getRegistrant(name: Symbol): Option[T]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
isEmpty: Boolean
- Definition Classes
- AbstractRegistry
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isRegistered(name: Symbol): Boolean
-
def
keys: Seq[Symbol]
- Definition Classes
- AbstractRegistry
-
def
level: Level
- Definition Classes
- LoggingHelper
-
lazy val
log: Logger
- Attributes
- protected
- Definition Classes
- LoggingHelper
-
def
loggerName: String
- Definition Classes
- LoggingHelper
-
def
lookup(key: Symbol): Option[T]
- Definition Classes
- AbstractRegistry
-
def
lookupOrElse(key: Symbol, value: T): Option[T]
- Definition Classes
- AbstractRegistry
-
def
map[W](f: ((Symbol, T)) ⇒ (Symbol, W)): Map[Symbol, W]
- Definition Classes
- AbstractRegistry
-
def
mkThrowable(msg: String, cause: Option[Throwable] = None): ThrowableWithComponent
- Attributes
- protected
- Definition Classes
- ThrowingHelper
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
nonEmpty: Boolean
- Definition Classes
- AbstractRegistry
-
def
notImplemented(what: String): Nothing
- Definition Classes
- ThrowingHelper
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- def pick: T
-
def
pick(index: Int): Symbol
- Definition Classes
- AbstractRegistry
- val rand: Random
- def register(thing: T): Unit
-
def
select(f: ((Symbol, T)) ⇒ Boolean): Iterable[T]
- Definition Classes
- AbstractRegistry
-
def
size: Int
- Definition Classes
- AbstractRegistry
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
toss(msg: ⇒ String, cause: Option[Throwable] = None): Nothing
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
- def unregister(thing: T): Unit
-
def
values: Seq[T]
- Definition Classes
- AbstractRegistry
-
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
- @throws( ... )