}
}
// Get a DDI appropriate for the actor's director.
private DDI _getDDI(Environment env) {
DDIFactory pluginFactory = (DDIFactory) _directorToDDIMap
.get(getDirector().getClass().getName());
if (pluginFactory != null) {
return pluginFactory.create(this, _actor, _theContext, env);
} else {
// default to Dataflow case.
return new Dataflow(this, _actor, _theContext, env);
}
}