1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2025-12-09 08:52:51 +00:00

Implemented service dependencies

Signed-off-by: Rogiel <rogiel@rogiel.com>
This commit is contained in:
2011-05-17 19:53:08 -03:00
parent 31cc1a97e3
commit 8b5a601ea4
25 changed files with 338 additions and 145 deletions

View File

@@ -48,7 +48,7 @@ public class EhCacheService extends AbstractService implements CacheService {
private Cache interfaceCache;
@Override
public void start() throws ServiceStartException {
protected void doStart() throws ServiceStartException {
manager = new CacheManager();
interfaceCache = createCache("interface-cache");
}
@@ -111,7 +111,7 @@ public class EhCacheService extends AbstractService implements CacheService {
}
@Override
public void stop() throws ServiceStopException {
protected void doStop() throws ServiceStopException {
manager.removalAll();
manager.shutdown();
interfaceCache = null;