this.statefulKsessionName = statefulKsessionName;
this.kresults = kresults;
}
public Object execute(Context context) {
KnowledgeCommandContext kcContext = new KnowledgeCommandContext( context,
(KnowledgeBuilder) context.get( this.kbuilderIdentifier ),
(KnowledgeBase) context.get( this.kbaseIdentifier ),
(StatefulKnowledgeSession) context.get( this.statefulKsessionName ),
(ExecutionResultImpl) context.get( this.kresults ) );
return ((GenericCommand) command).execute( kcContext );