Examples of install()


Examples of org.gudy.azureus2.plugins.installer.StandardPlugin.install()

          public void azureusCoreRunning(AzureusCore core) {
            try {
              PluginInstaller installer = core.getPluginManager().getPluginInstaller();
              StandardPlugin itunes_plugin = installer.getStandardPlugin("azitunes");
             
              itunes_plugin.install(false);
             
            } catch (Throwable e) {
             
              Debug.printStackTrace(e);
            }
View Full Code Here

Examples of org.hivedb.configuration.HiveConfigurationSchema.install()

   * @throws Exception
   */
  @Test
  public void testInstallDerby() throws Exception {
    HiveConfigurationSchema schema = new HiveConfigurationSchema(getConnectString(TEST_DB));
    schema.install();
  }
 
  @Override
  public Collection<String> getDatabaseNames() {
    return Arrays.asList(new String[]{TEST_DB});
View Full Code Here

Examples of org.hivedb.hibernate.ConfigurationReader.install()

// TODO remove
public class TerraformingHiveFactory {
  public static Hive colonize(String uri, List<Class<?>> persistedClasses) {
    new HiveConfigurationSchemaInstaller(uri).run();
    ConfigurationReader reader = new ConfigurationReader(persistedClasses);
    reader.install(uri);
    return Hive.load(uri, CachingDataSourceProvider.getInstance());
  }
}
View Full Code Here

Examples of org.huihoo.willow.ContextDeployer.install()

        log.debug(sm.getString("contextConfig.deployXPDL", files[i]));
        long t1 = System.currentTimeMillis();
        try
        {
          URL url = new URL("file", null, xpdl.getCanonicalPath());
          deployer.install(xpdl.getName(), url);
        }
        catch (Throwable t)
        {
          log(sm.getString("contextConfig.deployXPDL.error", files[i]), t);
        }
View Full Code Here

Examples of org.jboss.as.osgi.service.ModuleRegistrationTracker.install()

        context.addStep(new OperationStepHandler() {
            @Override
            public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
                newControllers.add(FrameworkBootstrapService.addService(serviceTarget, resource, deploymentTracker, extensions, verificationHandler));
                newControllers.add(registrationTracker.install(serviceTarget, verificationHandler));
                context.completeStep(OperationContext.RollbackHandler.NOOP_ROLLBACK_HANDLER);
            }
        }, OperationContext.Stage.RUNTIME);

        context.addStep(new AbstractDeploymentChainStep() {
View Full Code Here

Examples of org.jboss.aspects.remoting.test.common.RemoteKernelController.install()

      InitialContext ctx = new InitialContext(props);
      RemoteKernelController controller = (RemoteKernelController) ctx.lookup("RemoteKernelController");
      System.out.println(controller);
     
      AbstractBeanMetaData bmd = new AbstractBeanMetaData("VMIdentifier", VMIdentifierImpl.class.getName());
      controller.install(bmd);
     
      VMIdentifier identifierHere = new VMIdentifierImpl();
     
      VMID firstHere = identifierHere.getCurrentVMID();
      VMID secondHere = identifierHere.getCurrentVMID();
View Full Code Here

Examples of org.jboss.dependency.plugins.action.ControllerContextAction.install()

/*    */
/*    */   public void install(ControllerContext context, ControllerState fromState, ControllerState toState) throws Throwable
/*    */   {
/* 49 */     ControllerContextAction action = getAction(context, toState);
/* 50 */     if (action != null)
/* 51 */       action.install(context);
/*    */   }
/*    */
/*    */   public void uninstall(ControllerContext context, ControllerState fromState, ControllerState toState)
/*    */   {
/* 56 */     ControllerContextAction action = getAction(context, fromState);
View Full Code Here

Examples of org.jboss.dependency.plugins.helpers.StatelessController.install()

         builder.ignoreDestroy();
         builder.setAccessMode(getInjectionMode(interceptMC));
         KernelControllerContext ctx = new AbstractKernelControllerContext(null, builder.getBeanMetaData(), null);

         StatelessController ctrl = new StatelessController(controller);
         ctrl.install(ctx);
         if (ctx.getError() != null)
         {
            throw ctx.getError();
         }
         if (ctrl.getStates().isBeforeState(ctx.getState(), ControllerState.INSTALLED))
View Full Code Here

Examples of org.jboss.dependency.plugins.spi.action.ControllerContextAction.install()

  
   public void install(ControllerContext context, ControllerState fromState, ControllerState toState) throws Throwable
   {
      ControllerContextAction action = getAction(context, toState);
      if (action != null)
         action.install(context);
   }

   public void uninstall(ControllerContext context, ControllerState fromState, ControllerState toState)
   {
      ControllerContextAction action = getAction(context, fromState);
View Full Code Here

Examples of org.jboss.dependency.spi.Controller.install()

            addDependencies(context, Arrays.asList(depends));

         if (log.isTraceEnabled())
            log.trace("Installing bean shell script: " + bshScriptName);

         controller.install(context);
      }
      catch (Throwable t)
      {
         throw DeploymentException.rethrowAsDeploymentException("Unable to deploy bean shell script.", t);
      }
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.