public KnowledgeAgent execute( Context context ) {
KnowledgeBase kbase = ( (KnowledgeCommandContext) context ).getKnowledgeBase();
KnowledgeAgentConfiguration kaConfig = KnowledgeAgentFactory.newKnowledgeAgentConfiguration();
kaConfig.setProperty( "drools.agent.newInstance", "false" );
KnowledgeAgent kagent = KnowledgeAgentFactory.newKnowledgeAgent( this.kAgentId, kbase, kaConfig );
SystemEventListener systemEventListener = new SystemEventListener() {
public void info(String string) {
System.out.println("INFO: "+string);
}