KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > directory > ldapstudio > browser > core > events > CoreEventRunner


1 package org.apache.directory.ldapstudio.browser.core.events;
2
3
4 /**
5  * Default implementation of {@link EventRunner} that executes an {@link EventRunnable}
6  * withing the current thread.
7  *
8  * @author <a HREF="mailto:dev@directory.apache.org">Apache Directory Project</a>
9  * @version $Rev$, $Date$
10  */

11 public class CoreEventRunner implements EventRunner
12 {
13
14     /**
15      * {@inheritDoc}
16      *
17      * This implementation executes the given {@link EventRunnable} within
18      * the current thread.
19      */

20     public void execute( EventRunnable runnable )
21     {
22         runnable.run();
23     }
24
25 }
26
Popular Tags