return new ServiceTypeGoal(goal.getContext(), ENTITY_MANAGER_PREFIX + managerName + ENTITY_MANAGER_SUFIX);
}
@Override
public IGoal[] subGoalDone(IGoal subgoal, Object result, GoalState state) {
IGoal goal = produceNextSubgoal(subgoal, (IEvaluatedType) result, state);
if (goal != null) {
return new IGoal[] { goal };
}
return IGoal.NO_GOALS;
}