1 package org.wamblee.system;
3 import javax.sql.DataSource;
5 public class Application extends AbstractComponent {
6 private static RequiredInterface[] required() {
8 new RequiredInterface[] {
9 new DefaultRequiredInterfaceDescriptor("datasource", DataSource.class),
10 new DefaultRequiredInterfaceDescriptor("integer", Integer.class)
14 public Application() {
15 super("application", new ProvidedInterface[0], required());
19 protected void doStart(String aContext) {
20 // Empty, no services provided externally.
24 protected void doStop() {