1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2025-12-06 07:32:46 +00:00

Default ConfigurationService is now XMLConfigurationService

The new default Configuration Service is based on XML configuration
files instead of the plain old properties files. XML allows better
flexibility and more with DTD it is possible to do on-editting
validation.
This commit is contained in:
2011-09-18 20:05:34 -03:00
parent a8852341fc
commit eac9bde6c1

View File

@@ -22,7 +22,7 @@ import com.google.inject.Scopes;
import com.l2jserver.service.cache.CacheService; import com.l2jserver.service.cache.CacheService;
import com.l2jserver.service.cache.SoftCacheService; import com.l2jserver.service.cache.SoftCacheService;
import com.l2jserver.service.configuration.ConfigurationService; import com.l2jserver.service.configuration.ConfigurationService;
import com.l2jserver.service.configuration.ProxyConfigurationService; import com.l2jserver.service.configuration.XMLConfigurationService;
import com.l2jserver.service.core.Log4JLoggingService; import com.l2jserver.service.core.Log4JLoggingService;
import com.l2jserver.service.core.LoggingService; import com.l2jserver.service.core.LoggingService;
import com.l2jserver.service.core.threading.ThreadService; import com.l2jserver.service.core.threading.ThreadService;
@@ -80,7 +80,7 @@ public class ServiceModule extends AbstractModule {
bind(VFSService.class).to(Java7VFSService.class).in(Scopes.SINGLETON); bind(VFSService.class).to(Java7VFSService.class).in(Scopes.SINGLETON);
bind(ThreadService.class).to(ThreadServiceImpl.class).in( bind(ThreadService.class).to(ThreadServiceImpl.class).in(
Scopes.SINGLETON); Scopes.SINGLETON);
bind(ConfigurationService.class).to(ProxyConfigurationService.class) bind(ConfigurationService.class).to(XMLConfigurationService.class)
.in(Scopes.SINGLETON); .in(Scopes.SINGLETON);
bind(CacheService.class).to(SoftCacheService.class) bind(CacheService.class).to(SoftCacheService.class)
.in(Scopes.SINGLETON); .in(Scopes.SINGLETON);