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. abstract 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).

  2. abstract 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.

  3. abstract 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).

  4. abstract 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.

Concrete Value Members

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

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

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

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

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    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. final def eq(arg0: AnyRef): Boolean

    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. final def getClass(): java.lang.Class[_]

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

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

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

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

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

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

    Definition Classes
    AnyRef
  19. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  23. final 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.

    Annotations
    @inline()

Inherited from AnyRef

Inherited from Any