/** Starts the deploy. */ @Override protected void startImpl() { super.startImpl(); deploy(); handleAlarm(_alarm); }
/** Stops the deploy. */ @Override protected void stopImpl() { _alarm.dequeue(); if (_deployService != null) _deployService.removeUpdateListener(this); super.stopImpl(); }
/** Configuration checks on init. */ @Override protected void initImpl() throws ConfigException { super.initImpl(); if (getExpandDirectory() == null) throw new ConfigException( L.l("<expand-directory> must be specified for deployment of archive expansion.")); if (getArchiveDirectory() == null) throw new ConfigException( L.l("<archive-directory> must be specified for deployment of archive expansion.")); String id = getId(); _directoryManager = new ExpandDirectoryManager( id, getExpandDirectory(), getExpandPrefix(), getExpandSuffix(), _requireFiles); _archiveManager = new ExpandArchiveManager(id, getArchiveDirectory(), getExtension()); _repositoryManager = new ExpandRepositoryManager(id); }