1
|
package eu.dnetlib.index.actors;
|
2
|
|
3
|
import akka.actor.ActorSystem;
|
4
|
import eu.dnetlib.miscutils.factory.Factory;
|
5
|
import org.apache.commons.logging.Log;
|
6
|
import org.apache.commons.logging.LogFactory;
|
7
|
|
8
|
public class ActorSystemFactory implements Factory<ActorSystem> {
|
9
|
|
10
|
private static final Log log = LogFactory.getLog(ActorSystemFactory.class); // NOPMD by marko on 11/24/08 5:02 PM
|
11
|
|
12
|
@Override
|
13
|
public ActorSystem newInstance() {
|
14
|
ActorSystem actorSystem = ActorSystem.create("dnet");
|
15
|
log.info("created new actorSystem: " + actorSystem.name());
|
16
|
return actorSystem;
|
17
|
}
|
18
|
|
19
|
}
|