All Downloads are FREE. Search and download functionalities are using the official Maven repository.

akka.actor.AbstractProps.scala Maven / Gradle / Ivy

There is a newer version: 2.2.6.3
Show newest version
/**
 * Copyright (C) 2009-2015 Typesafe Inc. 
 */

package akka.actor

import akka.dispatch._
import akka.routing._

import scala.language.existentials
import scala.reflect.ClassTag

/**
 * Java API MOCKUP: Factory for Props instances.
 */
trait AbstractProps {

  private[akka] def validate(clazz: Class[_]) = ()

  def isAbstract(clazz: Class[_]) = ()

  /**
   * Java API: create a Props given a class and its constructor arguments.
   */
  def create(clazz: Class[_], args: AnyRef*): Props = Props(clazz = clazz, args = args.toSeq)

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy