/* * Contains the default providers used when none are * configured in a factory configuration file. */ static List<EntryInfo> getDefaultProviders() { WebServicesDelegate delegate = null; SecurityServicesUtil svcUtil = SecurityServicesUtil.getInstance(); if (svcUtil != null) { delegate = svcUtil.getHabitat().getComponent(WebServicesDelegate.class); } if (delegate != null) { List<EntryInfo> entries = new ArrayList<EntryInfo>(2); entries.add(new EntryInfo(delegate.getDefaultWebServicesProvider(), null)); entries.add(new EntryInfo(GFServerConfigProvider.class.getName(), null)); return entries; } List<EntryInfo> entries = new ArrayList<EntryInfo>(1); entries.add(new EntryInfo(GFServerConfigProvider.class.getName(), null)); return entries; }