1 17 package org.apache.avalon.excalibur.thread.impl; 18 19 import org.apache.excalibur.thread.Executable; 20 21 27 final class ExecutableExecuteable 28 implements Executable 29 { 30 private org.apache.avalon.framework.activity.Executable m_executable; 32 33 38 protected ExecutableExecuteable( final org.apache.avalon.framework.activity.Executable executable ) 39 { 40 if( null == executable ) 41 { 42 throw new NullPointerException ( "executable" ); 43 } 44 m_executable = executable; 45 } 46 47 53 public void execute() 54 throws Exception  55 { 56 m_executable.execute(); 57 } 58 } 59 | Popular Tags |