com.sun.jbi.management.repository

Class Repository

    • Field Detail

      • DIR_SUFFIX_PATTERN

        protected static final String DIR_SUFFIX_PATTERN
        The Directory suffix pattern. This is the suffix of a directory name when a directory by the actual name exists. It is ".(n)+" example SunFileBinding.12
        See Also:
        Constant Field Values
    • Method Detail

      • cleanRepository

        public void cleanRepository()
      • setRepositoryInitTime

        public void setRepositoryInitTime(long initTime)
        Set repository init time, this could be NFS time
        Parameters:
        initTime -
      • archiveExists

        public boolean archiveExists(ArchiveType type,
                            String name)
        Used to determine if a particular archive is stored in the repository.
      • getArchive

        public Archive getArchive(Object archiveId)
        Retrieve archive details for the specified id.
      • getArchive

        public Archive getArchive(ArchiveType type,
                         String name)
        Retrieve archive details for the specified id.
      • findArchiveDirectory

        public String findArchiveDirectory(ArchiveType type,
                                  String name)
        Returns the path to the directory where the archive is stored, or null if archive does not exist in the repository.
      • findArchive

        public String findArchive(ArchiveType type,
                         String name)
        Returns the path to the specified archive, or null if it does not exist in the repository.
      • getTempStore

        public File getTempStore()
        Returns a file pointer to the repository temp store.
      • purge

        public void purge()
        Purges the repository, removing all archives.
      • getArchiveEntityNames

        public List<String> getArchiveEntityNames(ArchiveType type)
        Returns:
        an list of names of entities of type ArchiveType, which are stored in the repository and are not marked for deletion.

Copyright © 2011-2016 OpenESB Community. All Rights Reserved.