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