package commons
- Alphabetic
- Public
- All
Type Members
- trait BaseImports extends AnyRef
- trait Implicits extends AnyRef
- trait Imports extends BaseImports with TypeImports with Implicits
-
class
Logger
extends AnyRef
Scala SLF4J wrapper
Scala SLF4J wrapper
Example:
class Foo extends Logging { log.info("My foo is %s","alive") log.error(new Exception(),"My foo is %s","broken") }
The logger uses String.format: http://download-llnw.oracle.com/javase/6/docs/api/java/lang/String.html#format(java.lang.String,%20java.lang.Object...)
-
trait
Logging
extends AnyRef
Base trait for all classes that wants to be able use the logging infrastructure.
- class MongoDBList extends Seq[Any] with Castable
- sealed class MongoDBListBuilder extends Builder[Any, Seq[Any]]
-
class
MongoDBObject
extends Map[String, AnyRef] with MapLike[String, AnyRef, MongoDBObject] with Logging with Castable
MapLike scala interface for Mongo DBObjects - proxies an existing DBObject.
MapLike scala interface for Mongo DBObjects - proxies an existing DBObject. Cannot act as a DBObject or implement it's interface due to conflicts between the java methods and scala methods. Implicits and explicit methods allow you to convert to java though.
- Annotations
- @BeanInfo()
- Since
1.0
- sealed class MongoDBObjectBuilder extends Builder[(String, Any), commons.Imports.DBObject]
-
sealed
trait
NotNothing
[A] extends AnyRef
Nice trick from Miles Sabin using ambiguity in implicit resolution to disallow Nothing
- trait TypeImports extends AnyRef
- abstract class ValidBSONType [T] extends AnyRef
Value Members
- object BaseImports extends BaseImports
- object EnsureConversionHelpersRegistration
- object Implicits extends Implicits
- object Imports extends Imports
-
object
Logger
Logger factory
Logger factory
ex.
val logger = Logger("my.cool.logger") val logger = Logger(classOf[Banana]) val rootLogger = Logger.root
- object MongoDBList
- object MongoDBObject
- object NotNothing
- object TypeImports extends TypeImports
- object ValidBSONType