Esempio n. 1
0
  /** 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);
  }