Interface AbstractProps

All Known Implementing Classes:
Props$

public interface AbstractProps
Java API: Factory for Props instances.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    create(Class<?> clazz, Object... args)
    Java API: create a Props given a class and its constructor arguments.
    create(Class<?> clazz, scala.collection.immutable.Seq<Object> args)
    Java API: create a Props given a class and its constructor arguments.
    <T extends Actor>
    Props
    create(Class<T> actorClass, Creator<T> creator)
    Create new Props from the given pekko.japi.Creator with the type set to the given actorClass.
    void
    validate(Class<?> clazz)
    INTERNAL API
  • Method Details

    • checkCreatorClosingOver

      void checkCreatorClosingOver(Class<?> clazz)
    • create

      Props create(Class<?> clazz, Object... args)
      Java API: create a Props given a class and its constructor arguments.
    • create

      Props create(Class<?> clazz, scala.collection.immutable.Seq<Object> args)
      Java API: create a Props given a class and its constructor arguments.
    • create

      <T extends Actor> Props create(Class<T> actorClass, Creator<T> creator)
      Create new Props from the given pekko.japi.Creator with the type set to the given actorClass.
    • validate

      void validate(Class<?> clazz)
      INTERNAL API