public FullApplicationContext( boolean wfsEnabled, boolean wmsEnabled ) {
super();
beans = new HashMap();
beans.put("catalog", new DefaultGeoServerCatalog());
beans.put("controller", new PreferenceStoreImpl(new BlankStore()));
wfsDTO.setService(new ServiceDTO());
wfsDTO.getService().setEnabled(wfsEnabled );
beans.put("wfs", new WFS(wfsDTO));