1 package org.wamblee.system;
3 import javax.sql.DataSource;
5 public class Application extends AbstractSubSystem {
6 private static final ServiceDescriptor[] REQUIRED =
7 new ServiceDescriptor[] {
8 new DefaultRequiredServiceDescriptor("datasource", DataSource.class),
9 new DefaultRequiredServiceDescriptor("integer", Integer.class)
12 public Application(ServiceRegistry aRegistry) {
13 super("application", aRegistry, new ServiceDescriptor[0], REQUIRED);
17 protected void doStart(String aContext, Service[] aRequiredServices) {
18 // Empty, no services provided externally.
22 protected void doStop() {