return this.server.getConnectors()[0].getLocalPort();
}
public void scan(KnowledgeAgent kagent) {
final CountDownLatch latch = new CountDownLatch( 1 );
KnowledgeAgentEventListener l = new KnowledgeAgentEventListener() {
<BUG>public void resourceCompilationFailed(ResourceCompilationFailedEvent event) {
}</BUG>
public void knowledgeBaseUpdated(KnowledgeBaseUpdatedEvent event) {
}
public void beforeResourceProcessed(BeforeResourceProcessedEvent event) {

return this.server.getConnectors()[0].getLocalPort();
}
public void scan(KnowledgeAgent kagent) {
final CountDownLatch latch = new CountDownLatch( 1 );
KnowledgeAgentEventListener l = new KnowledgeAgentEventListener() {
public void resourceCompilationFailed(ResourceCompilationFailedEvent event) {
throw new RuntimeException("Unable to compile Knowledge"+ event );
}
public void knowledgeBaseUpdated(KnowledgeBaseUpdatedEvent event) {
}
public void beforeResourceProcessed(BeforeResourceProcessedEvent event) {
