Examples of JarRepository


Examples of org.apache.catalina.JarRepository

            authenticatorConfig();
        }

        // Find and configure overlays
        if (ok) {
            JarRepository jarRepository = context.getJarRepository();
            JarFile[] jars = jarRepository.findJars();
            for (int i = 0; i < jars.length; i++) {
                if (jars[i].getEntry(Globals.OVERLAY_PATH) != null) {
                    if (context.getResources() instanceof ProxyDirContext) {
                        ProxyDirContext resources = (ProxyDirContext) context.getResources();
                        JARDirContext overlay = new JARDirContext();
View Full Code Here

Examples of org.apache.catalina.JarRepository

     * @param jarRepository The newly associated JarRepository
     */
    public synchronized void setJarRepository(JarRepository jarRepository) {

        // Change components if necessary
        JarRepository oldJarRepository = this.jarRepository;
        if (oldJarRepository == jarRepository)
            return;
        this.jarRepository = jarRepository;

        // Stop the old component if necessary
View Full Code Here

Examples of org.apache.ivy.plugins.repository.jar.JarRepository

public class JarResolver extends RepositoryResolver {

    private URL url;

    public JarResolver() {
        setRepository(new JarRepository());
    }
View Full Code Here

Examples of play.doc.JarRepository

     *                documentation should be served from the root of the JAR.
     * @param fallbackToJar Whether the doc handler should fall back to the jar repo for docs.
     */
    public static BuildDocHandler fromDirectoryAndJar(File directory, JarFile jarFile, String base, boolean fallbackToJar) {
        FileRepository fileRepo = new FilesystemRepository(directory);
        FileRepository jarRepo = new JarRepository(jarFile, Option.apply(base));
        FileRepository manualRepo;
        if (fallbackToJar) {
            manualRepo = new AggregateFileRepository(new FileRepository[] { fileRepo, jarRepo });
        } else {
            manualRepo = fileRepo;
View Full Code Here

Examples of play.doc.JarRepository

     * @param jarFile The JAR file to server the documentation from.
     * @param base    The directory within the JAR file to serve the documentation from, or null if the
     *                documentation should be served from the root of the JAR.
     */
    public static BuildDocHandler fromJar(JarFile jarFile, String base) {
        FileRepository repo = new JarRepository(jarFile, Option.apply(base));
        return new DocumentationHandler(repo);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.