@Override protected void beforeExecute(Thread t, Runnable r) { if (!(r instanceof ZoieRunnable)) throw new RuntimeException( "Not a properly submitted zoie job"); ZoieContext.setContext(((ZoieRunnable) r).ctx); super.beforeExecute(t, ((ZoieRunnable) r).innerRunnable); }
@Override protected void beforeExecute(Thread t, Runnable r) { if (! (r instanceof ZoieRunnable)) throw new RuntimeException("Not a properly submitted zoie job"); ZoieContext.setContext(((ZoieRunnable)r).ctx); super.beforeExecute(t, ((ZoieRunnable)r).innerRunnable); }
@Override protected void beforeExecute(Thread t, Runnable r) { if (!(r instanceof ZoieRunnable)) throw new RuntimeException( "Not a properly submitted zoie job"); ZoieContext.setContext(((ZoieRunnable) r).ctx); super.beforeExecute(t, ((ZoieRunnable) r).innerRunnable); }