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