donaldp     01/04/14 05:09:53

  Modified:    src/java/org/apache/phoenix/engine PhoenixEmbeddor.java
  Log:
  Moved Embeddor to Atlantis
  
  Revision  Changes    Path
  1.2       +7 -8      
jakarta-avalon-phoenix/src/java/org/apache/phoenix/engine/PhoenixEmbeddor.java
  
  Index: PhoenixEmbeddor.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-avalon-phoenix/src/java/org/apache/phoenix/engine/PhoenixEmbeddor.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PhoenixEmbeddor.java      2001/04/12 05:32:54     1.1
  +++ PhoenixEmbeddor.java      2001/04/14 12:09:53     1.2
  @@ -17,6 +17,7 @@
   import org.apache.avalon.Disposable;
   import org.apache.avalon.Initializable;
   import org.apache.avalon.atlantis.Kernel;
  +import org.apache.avalon.atlantis.Embeddor;
   import org.apache.avalon.camelot.CamelotUtil;
   import org.apache.avalon.camelot.Container;
   import org.apache.avalon.camelot.Deployer;
  @@ -55,11 +56,6 @@
        * Set parameters for this component.
        * This must be called after contextualize() and before initialize()
        *
  -     * @param parameters the Parameters for embeddor
  -     * @exception ConfigurationException if an error occurs
  -     */
  -
  -  /**
        * Make sure to provide all the neccessary information through
        * these parameters. All information it needs consists of strings.
        * Neccessary are:
  @@ -82,6 +78,9 @@
        * (in .sar format).<br />
        * When ommited, no applications are loaded.</li>
        * </ul>
  +     *
  +     * @param parameters the Parameters for embeddor
  +     * @exception ConfigurationException if an error occurs
        */
       public void setParameters( final Parameters parameters )
           throws ConfigurationException
  @@ -127,14 +126,14 @@
   
                   // wait() for shutdown() to take action...
                   try { synchronized( this ) { wait(); } }
  -                catch (InterruptedException e) {}
  +                catch( final InterruptedException e ) {}
               }
           }
  -        catch ( Exception e )
  +        catch( final Exception e )
           {
               // whoops!
               getLogger().fatalError( "There was a fatal error while running 
phoenix.", e );
  -            System.exit( 1 );
  +            throw e;
           }
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to