Class DirectoryBasedRepository

java.lang.Object
com.sun.enterprise.module.common_impl.AbstractRepositoryImpl
com.sun.enterprise.module.common_impl.DirectoryBasedRepository
All Implemented Interfaces:
Repository

public class DirectoryBasedRepository extends AbstractRepositoryImpl
This class is a directory based repository implementation. This mean that all jar file residing a particular directory will be elligible to be added to this repository instance. Jar File will need to be compliant with the module definition spec which mean have a manifest file with the correct elements OR a separate manifest file with the same file name with a .mf extension.
  • Field Details

    • repository

      protected final File repository
    • intervalInMs

      private final int intervalInMs
    • timer

      private Timer timer
    • isTimerThreadDaemon

      private boolean isTimerThreadDaemon
    • subDirectories

      private List<File> subDirectories
  • Constructor Details

    • DirectoryBasedRepository

      public DirectoryBasedRepository(String name, File repository)
      Creates a new instance of DirectoryBasedRepository
    • DirectoryBasedRepository

      public DirectoryBasedRepository(String name, File repository, boolean isTimerThreadDaemon)
  • Method Details