Examples of install()


Examples of org.jboss.ejb3.packagemanager.installer.Installer.install()

      this.preInstallPackage(pkgContext);
      // install files in this package
      for (InstallFileType fileToInstall : pkgContext.getInstallationFiles())
      {
         Installer installer = getInstaller(fileToInstall);
         installer.install(pkgContext, fileToInstall);
      }
      // post-installation step
      this.postInstallPackage(pkgContext);
      // store the pre/post uninstall scripts (if any) at a particular location
      // so that they can be used during uninstallation of this package
View Full Code Here

Examples of org.jboss.forge.addon.manager.AddonManager.install()

               new FileResourceFactory(), new MavenContainer()));

      for (String addonId : addonIds)
      {
         AddonId id = AddonId.fromCoordinates(addonId);
         addonManager.install(id).perform();
      }
   }
}
View Full Code Here

Examples of org.jboss.forge.addon.manager.impl.AddonManagerImpl.install()

         AddonManagerImpl addonManager = new AddonManagerImpl(forge, resolver);

         for (AddonId addon : addons)
         {
            logger.info("Installing " + addon);
            InstallRequest request = addonManager.install(addon);
            logger.info(request.toString());
            request.perform();
         }
      }
      catch (Exception e)
View Full Code Here

Examples of org.jboss.forge.furnace.manager.AddonManager.install()

      AddonManager addonManager = new AddonManagerImpl(forge, addonResolver);

      for (String addonId : addonIds)
      {
         AddonId id = AddonId.fromCoordinates(addonId);
         InstallRequest install = addonManager.install(id, repository);
         if (!install.getActions().isEmpty())
         {
            getLog().info("" + install);
            install.perform();
         }
View Full Code Here

Examples of org.jboss.forge.furnace.manager.impl.AddonManagerImpl.install()

      AddonManager addonManager = new AddonManagerImpl(forge, addonResolver);

      for (String addonId : addonIds)
      {
         AddonId id = AddonId.fromCoordinates(addonId);
         InstallRequest install = addonManager.install(id, repository);
         if (!install.getActions().isEmpty())
         {
            getLog().info("" + install);
            install.perform();
         }
View Full Code Here

Examples of org.jboss.forge.projects.AbstractProject.install()

      result.add(MavenDependencyFacet.class);
      result.add(MavenResourceFacet.class);
     
      MavenFacetImpl mavenFacetImpl = new MavenFacetImpl();
      mavenFacetImpl.setOrigin(project);
      if (!project.install(mavenFacetImpl))
      {
         throw new IllegalStateException("Could not install Maven into Project located at ["
                  + dir.getFullyQualifiedName() + "]");
      }
View Full Code Here

Examples of org.jboss.forge.projects.Project.install()

      result.add(MavenDependencyFacet.class);
      result.add(MavenResourceFacet.class);
     
      MavenFacetImpl mavenFacetImpl = new MavenFacetImpl();
      mavenFacetImpl.setOrigin(project);
      if (!project.install(mavenFacetImpl))
      {
         throw new IllegalStateException("Could not install Maven into Project located at ["
                  + dir.getFullyQualifiedName() + "]");
      }
View Full Code Here

Examples of org.jboss.kernel.spi.dependency.KernelController.install()

      builder.addMethodUninstallCallback("removeBootstrap");
      builder.ignoreStart(); // We invoke start manually, don't let MC do it
      try
      {
         log.debug("Installing " + this + " into MC under key: " + mcServerBindName);
         controller.install(builder.getBeanMetaData(), this);
      }
      catch (Throwable t)
      {
         throw new Exception("Error in installing " + mcServerBindName + " during startup", t);
      }
View Full Code Here

Examples of org.jboss.msc.service.BatchBuilder.install()

            }
        }

        if (status == Status.ACTIVE) {
            try {
                batchBuilder.install();
            } catch (ServiceRegistryException e) {
                handleRollback();
            }
        }
View Full Code Here

Examples of org.jboss.msc.service.ServiceBuilder.install()

        final ServiceBuilder describedServiceBuilder = serviceTarget.addService(describedServiceName, describedService);
        describedService.registerAliases(describedServiceBuilder);
        final ConfigVisitor visitor = new DefaultConfigVisitor(describedServiceBuilder, state, module, deploymentIndex);
        beanConfig.visit(visitor);
        describedServiceBuilder.setInitialMode(beanConfig.getMode().getMode());
        describedServiceBuilder.install();
    }
}
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.