akka.actor

DynamicAccess

trait DynamicAccess extends AnyRef

The DynamicAccess implementation is the class which is used for loading all configurable parts of an actor system (the ReflectiveDynamicAccess is the default implementation).

This is an internal facility and users are not expected to encounter it unless they are extending Akka in ways which go beyond simple Extensions.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. DynamicAccess
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. def classLoader : ClassLoader

    This is the class loader to be used in those special cases where the other factory method are not applicable (e.

    This is the class loader to be used in those special cases where the other factory method are not applicable (e.g. when constructing a ClassLoaderBinaryInputStream).

    Attributes
    abstract
  2. def createInstanceFor [T] (fqcn: String, args: Seq[(Class[_], AnyRef)])(implicit arg0: ClassManifest[T]): Either[Throwable, T]

    Obtain an object conforming to the type T, which is expected to be instantiated from a class designated by the fully-qualified class name given, where the constructor is selected and invoked according to the args argument.

    Obtain an object conforming to the type T, which is expected to be instantiated from a class designated by the fully-qualified class name given, where the constructor is selected and invoked according to the args argument. The exact usage of args depends on which type is requested, see the relevant requesting code for details.

    Attributes
    abstract
  3. def getClassFor [T] (fqcn: String)(implicit arg0: ClassManifest[T]): Either[Throwable, Class[_ <: T]]

    Obtain a Class[_] object loaded with the right class loader (i.

    Obtain a Class[_] object loaded with the right class loader (i.e. the one returned by classLoader).

    Attributes
    abstract
  4. def getObjectFor [T] (fqcn: String)(implicit arg0: ClassManifest[T]): Either[Throwable, T]

    Obtain the Scala “object” instance for the given fully-qualified class name, if there is one.

    Obtain the Scala “object” instance for the given fully-qualified class name, if there is one.

    Attributes
    abstract

Concrete 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 asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  7. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. def createInstanceFor [T] (clazz: Class[_], args: Seq[(Class[_], AnyRef)])(implicit arg0: ClassManifest[T]): Either[Throwable, T]

    Convenience method which given a Class[_] object and a constructor description will create a new instance of that class.

    Convenience method which given a Class[_] object and a constructor description will create a new instance of that class.

    val obj = DynamicAccess.createInstanceFor(clazz, Seq(classOf[Config] -> config, classOf[String] -> name))
    
  9. def eq (arg0: AnyRef): Boolean

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  13. def hashCode (): Int

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

    Attributes
    final
    Definition Classes
    Any
  15. def ne (arg0: AnyRef): Boolean

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  18. def synchronized [T0] (arg0: ⇒ T0): T0

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

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  23. def withErrorHandling [T] (body: ⇒ Either[Throwable, T]): Either[Throwable, T]

    Caught exception is returned as Left(exception).

    Caught exception is returned as Left(exception). Unwraps InvocationTargetException if its getTargetException is an Exception. Other Throwable, such as Error is thrown.

    Attributes
    final
    Annotations
    @inline()

Inherited from AnyRef

Inherited from Any