@@ -0,0 +1,1633 @@
+/**%0A * %0A */%0Apackage opendap.semantics.IRISail;%0Aimport org.openrdf.repository.RepositoryException;%0Aimport org.openrdf.repository.http.HTTPRepository;%0Aimport org.slf4j.Logger;%0Aimport org.slf4j.LoggerFactory;%0A%0Aimport java.util.concurrent.atomic.AtomicBoolean;%0A%0A/**%0A * @author haibo%0A *%0A */%0A%0A    public class IRIHTTPRepository extends HTTPRepository %7B%0A        private static Logger log ;%0A%0A%0A        private AtomicBoolean isRepositoryDown;%0A%0A        public IRIHTTPRepository(String serverURL, String repositoryID) %7B%0A%0A            super(serverURL, repositoryID);%0A%0A            log = LoggerFactory.getLogger(getClass());%0A            isRepositoryDown = new AtomicBoolean();%0A        %7D%0A        public void initialize() throws org.openrdf.repository.RepositoryException %7B%0A            super.initialize();%0A            isRepositoryDown.set(false);%0A        %7D%0A%0A        public Boolean isRepositoryDown() %7B%0A            return isRepositoryDown.get();%0A        %7D%0A%0A        /**%0A         * Does a repository shutdown, but only if the repository is running!.%0A         *%0A         * @throws RepositoryException%0A         */%0A        @Override%0A        public void shutDown() throws RepositoryException %7B%0A%0A            log.debug(%22shutDown(): Shutting down Repository...%22);%0A            if (!isRepositoryDown.get()) %7B%0A                super.shutDown();%0A                isRepositoryDown.set(false);%0A                log.info(%22shutDown(): Semantic Repository Has Been Shutdown.%22);%0A            %7D else %7B%0A                log.info(%22shutDown(): Semantic Repository was already down.%22);%0A            %7D%0A            log.debug(%22shutDown(): Repository shutdown complete.%22);%0A        %7D%0A%0A%7D%0A

add IRIHTTPRepository.java