View Javadoc

1   package org.astrogrid.applications.component;
2   
3   import org.astrogrid.applications.contracts.Configuration;
4   import org.astrogrid.applications.manager.BaseConfiguration;
5   import org.astrogrid.config.SimpleConfig;
6   
7   /***
8    * A component manager that contains the default CEA components.
9    * This is a minimal, concrete implementation of
10   * {@link org.astrogrid.applications.component.EmptyCEAComponentManager}
11   * and is used to test the latter.
12   *
13   * @author Guy Rixon
14   */
15  public class BaseCEAComponentManager extends EmptyCEAComponentManager {
16    
17    /***
18     * Constructs a BaseCEAComponentManager.
19     */
20    public BaseCEAComponentManager() {
21      super();
22      super.registerDefaultServices(this.pico);
23      this.pico.registerComponentImplementation(Configuration.class,
24                                                BaseConfiguration.class);
25    }
26    
27  }