log event types, fix script execution
This commit is contained in:
@@ -189,9 +189,9 @@ class Core {
|
||||
}
|
||||
|
||||
def binding = new Binding()
|
||||
binding.setProperty("eventBus", eventBus)
|
||||
// TOOD: other bindings?
|
||||
def shell = new GroovyShell(binding)
|
||||
binding.setProperty('eventBus', eventBus)
|
||||
// TOOD: other bindings?
|
||||
def script = shell.parse(f)
|
||||
script.run()
|
||||
}
|
||||
|
@@ -23,7 +23,7 @@ class EventBus {
|
||||
}
|
||||
|
||||
private void publishInternal(Event e) {
|
||||
log.fine "publishing event $e"
|
||||
log.fine "publishing event $e of type ${e.getClass().getSimpleName()}"
|
||||
def currentHandlers
|
||||
final def clazz = e.getClass()
|
||||
synchronized(this) {
|
||||
|
Reference in New Issue
Block a user