Timers appear to be persistent in glassfish so now canceling any old
[utils] / system / src / test / java / org / wamblee / system / Application.java
1 package org.wamblee.system;
2
3 import javax.sql.DataSource;
4
5 public class Application extends AbstractSubSystem {
6         private static final ServiceDescriptor[] REQUIRED = 
7                 new ServiceDescriptor[] { 
8                         new DefaultServiceDescriptor(DataSource.class), 
9                         new DefaultServiceDescriptor(Integer.class)
10         };
11         
12         public Application() {
13                 super("application", new ServiceDescriptor[0], REQUIRED); 
14         }
15
16         @Override
17         protected void doInitialize(String aContext, Service[] aRequiredServices) {
18                 // Empty, no services provided externally. 
19         }
20
21 }