001    /*
002     * Copyright (c) 2003, The Regents of the University of California, through
003     * Lawrence Berkeley National Laboratory (subject to receipt of any required
004     * approvals from the U.S. Dept. of Energy). All rights reserved.
005     */
006    package gov.lbl.dsd.sea;
007    
008    import EDU.oswego.cs.dl.util.concurrent.Executor;
009    
010    /**
011     * Interface for construction of executors implementing some kind of threading
012     * policy.
013     * 
014     * @author whoschek@lbl.gov
015     * @author $Author: hoschek3 $
016     * @version $Revision: 1.1 $, $Date: 2004/06/17 18:34:39 $
017     */
018    public interface ExecutorFactory {
019            
020            /**
021             * Creates and returns a new executor implementing some kind of threading
022             * policy.
023             * 
024             * @return the new executor
025             */
026            public Executor createExecutor();
027            
028    }