Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
src/main/java/org/agilewiki/jactor/components/factory/GetActorFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package org.agilewiki.jactor.components.factory; | ||
|
||
import org.agilewiki.jactor.bind.JBConcurrentRequest; | ||
|
||
/** | ||
* Returns the actor factory assigned to a given actor type. | ||
*/ | ||
public class GetActorFactory extends JBConcurrentRequest<ActorFactory> { | ||
/** | ||
* An actor type name. | ||
*/ | ||
private String actorType; | ||
|
||
/** | ||
* Create a request. | ||
* | ||
* @param actorType An actor type name. | ||
*/ | ||
public GetActorFactory(String actorType) { | ||
this.actorType = actorType; | ||
} | ||
|
||
/** | ||
* Returns an actor type name. | ||
* | ||
* @return An actor type name. | ||
*/ | ||
public String getActorType() { | ||
return actorType; | ||
} | ||
} |