org.eidola.kernel
Class Compiler
java.lang.Object
|
+--org.eidola.kernel.Compiler
- All Implemented Interfaces:
- EventListener
- public class Compiler
- extends Object
- implements EventListener
An EventListener which compiles containers as they broadcast CompileRequired
events. Engine
creates one of these and attaches a queue and a group of threads.
The compilation process runs as follows:
- Version:
- [Development version]
- Author:
- Paul Cantrell
- See Also:
Container.compile()
,
Container.Compilation
,
CompileRequired
,
Engine
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Compiler
public Compiler()
handleEvent
public void handleEvent(Event event)
- If the event is a
CompileRequired
, this handler
calls Container.compile()
for the event's source.
- Specified by:
handleEvent
in interface EventListener
- Following copied from interface:
org.eidola.kernel.event.EventListener
- Parameters:
event
- The event to handle.