Package org.apache.isis.runtimes.dflt.runtime.installers

Examples of org.apache.isis.runtimes.dflt.runtime.installers.InstallerLookupDefault


            addConfigurationResourcesForViewers(isisConfigurationBuilder, servletContext);

            isisConfigurationBuilder.add(WebAppConstants.WEB_APP_DIR, webappDir);
            isisConfigurationBuilder.add(SystemConstants.NOSPLASH_KEY, "true");

            final InstallerLookup installerLookup = new InstallerLookupDefault();

            injector = createGuiceInjector(isisConfigurationBuilder, deploymentType, installerLookup);

            final IsisSystem system = injector.getInstance(IsisSystem.class);
View Full Code Here


        final IsisConfigurationBuilder isisConfigurationBuilder = new IsisConfigurationBuilderDefault(configDirIfAny);
        isisConfigurationBuilder.add(SystemConstants.NOSPLASH_KEY, "" + true); // switch
                                                                               // off
                                                                               // splash

        final InstallerLookupDefault installerLookup = new InstallerLookupDefault();
        isisConfigurationBuilder.injectInto(installerLookup);
        installerLookup.init();

        IsisSystemUsingInstallersWithinJunit system = null;
        AuthenticationSession session = null;
        try {
            // init the system; cf similar code in Isis and
View Full Code Here

        this.optionHandlerDeploymentType = optionHandlerDeploymentType;

        // setup logging immediately
        loggingConfigurer.configureLogging(determineConfigDirectory(), args);

        this.installerLookup = new InstallerLookupDefault();

        addOptionHandler(optionHandlerDeploymentType);
        this.optionHandlerViewer = addStandardOptionHandlersAndValidators(this.installerLookup);
    }
View Full Code Here

    private final List<IsisConfigurationBuilderPrimer> isisConfigurationBuilderPrimers = Lists.newArrayList();
    private final List<String> viewerNames = Lists.newArrayList();

    private static InstallerLookupDefault defaultInstallerLookup() {
        return new InstallerLookupDefault();
    }
View Full Code Here

            throw e;
        }
    }

    private IsisSystem createSystem(final DeploymentType deploymentType, final IsisConfigurationBuilder isisConfigurationBuilder) {
        this.installerLookup = new InstallerLookupDefault();
        isisConfigurationBuilder.injectInto(installerLookup);

        final Injector injector = createGuiceInjector(deploymentType, isisConfigurationBuilder, installerLookup);
        final IsisSystem system = injector.getInstance(IsisSystem.class);
        return system;
View Full Code Here

        this.optionHandlerDeploymentType = optionHandlerDeploymentType;

        // setup logging immediately
        loggingConfigurer.configureLogging(determineConfigDirectory(), args);

        this.installerLookup = new InstallerLookupDefault();

        addOptionHandler(optionHandlerDeploymentType);
        this.optionHandlerViewer = addStandardOptionHandlersAndValidators(this.installerLookup);
    }
View Full Code Here

    private final List<IsisConfigurationBuilderPrimer> isisConfigurationBuilderPrimers = Lists.newArrayList();
    private final List<String> viewerNames = Lists.newArrayList();

    private static InstallerLookupDefault defaultInstallerLookup() {
        return new InstallerLookupDefault();
    }
View Full Code Here

            addConfigurationResourcesForViewers(isisConfigurationBuilder, servletContext);

            isisConfigurationBuilder.add(WebAppConstants.WEB_APP_DIR, webappDir);
            isisConfigurationBuilder.add(SystemConstants.NOSPLASH_KEY, "true");

            final InstallerLookup installerLookup = new InstallerLookupDefault();

            injector = createGuiceInjector(isisConfigurationBuilder, deploymentType, installerLookup);

            final IsisSystem system = injector.getInstance(IsisSystem.class);
View Full Code Here

        }
    }

    private IsisSystem createSystem(final DeploymentType deploymentType,
        final IsisConfigurationBuilder isisConfigurationBuilder) {
        this.installerLookup = new InstallerLookupDefault();
        isisConfigurationBuilder.injectInto(installerLookup);

        final Injector injector = createGuiceInjector(deploymentType, isisConfigurationBuilder, installerLookup);
        final IsisSystem system = injector.getInstance(IsisSystem.class);
        return system;
View Full Code Here

        final Description description = methodDescription(method);

        final IsisConfigurationBuilder isisConfigurationBuilder = new IsisConfigurationBuilderDefault(configDirIfAny);
        isisConfigurationBuilder.add(SystemConstants.NOSPLASH_KEY, "" + true); // switch off splash

        final InstallerLookupDefault installerLookup = new InstallerLookupDefault();
        isisConfigurationBuilder.injectInto(installerLookup);
        installerLookup.init();

        IsisSystemUsingInstallersWithinJunit system = null;
        AuthenticationSession session = null;
        try {
            // init the system; cf similar code in Isis and IsisServletContextInitializer
View Full Code Here

TOP

Related Classes of org.apache.isis.runtimes.dflt.runtime.installers.InstallerLookupDefault

Copyright © 2018 www.massapicom. 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.