Package akka.actor
Interface AbstractProps
-
- All Known Implementing Classes:
Props$
public interface AbstractProps
Java API: Factory for Props instances.INTERNAL API
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
checkCreatorClosingOver(java.lang.Class<?> clazz)
<T extends Actor>
Propscreate(Creator<T> creator)
Deprecated.Use Props.create(actorClass, creator) instead, since this can't be used with Java 8 lambda.Props
create(java.lang.Class<?> clazz, java.lang.Object... args)
Java API: create a Props given a class and its constructor arguments.Props
create(java.lang.Class<?> clazz, scala.collection.immutable.Seq<java.lang.Object> args)
Java API: create a Props given a class and its constructor arguments.<T extends Actor>
Propscreate(java.lang.Class<T> actorClass, Creator<T> creator)
Create new Props from the givenCreator
with the type set to the given actorClass.void
validate(java.lang.Class<?> clazz)
INTERNAL API
-
-
-
Method Detail
-
checkCreatorClosingOver
void checkCreatorClosingOver(java.lang.Class<?> clazz)
-
create
Props create(java.lang.Class<?> clazz, java.lang.Object... args)
Java API: create a Props given a class and its constructor arguments.
-
create
Props create(java.lang.Class<?> clazz, scala.collection.immutable.Seq<java.lang.Object> args)
Java API: create a Props given a class and its constructor arguments.
-
create
<T extends Actor> Props create(Creator<T> creator)
Deprecated.Use Props.create(actorClass, creator) instead, since this can't be used with Java 8 lambda. Since 2.5.18.Create new Props from the givenCreator
.You can not use a Java 8 lambda with this method since the generated classes don't carry enough type information.
Use the Props.create(actorClass, creator) instead.
-
create
<T extends Actor> Props create(java.lang.Class<T> actorClass, Creator<T> creator)
Create new Props from the givenCreator
with the type set to the given actorClass.
-
validate
void validate(java.lang.Class<?> clazz)
INTERNAL API
-
-