Examples of register()


Examples of org.ow2.util.ee.deploy.api.deployer.IDeployerManager.register()

        IDeployerManager deployerManager = new DeployerManager();
        this.embedded.setDeployerManager(deployerManager);
        try {
            JOnASDeployer deployer = new JOnASDeployer();
            deployer.setEmbedded(this.embedded);
            deployerManager.register(deployer);
        } catch (DeployerException e) {
            throw new ResourceAdapterInternalException("Cannot register the JOnAS deployer", e);
        }

Examples of org.ow2.util.ee.deploy.impl.deployer.DeployerManager.register()

        IDeployerManager deployerManager = new DeployerManager();
        this.embedded.setDeployerManager(deployerManager);
        try {
            JOnASDeployer deployer = new JOnASDeployer();
            deployer.setEmbedded(this.embedded);
            deployerManager.register(deployer);
        } catch (DeployerException e) {
            throw new ResourceAdapterInternalException("Cannot register the JOnAS deployer", e);
        }

Examples of org.pdfclown.files.File.register()

        action.put(new PdfName("D"),destination);
      }
      // Associate the action to the document!
      document.getBaseDataObject().put(
        new PdfName("OpenAction"),
        file.register(action) // Adds the action to the file, returning its reference.
        ); document.update(); // Updates the existing document object (fundamental to override previous content).
    }

    // (boilerplate metadata insertion -- ignore it)
    buildAccessories(document,"Primitive objects","manipulating a document at primitive object level");

Examples of org.picketlink.identity.federation.core.factories.JBossAuthCacheInvalidationFactory.TimeCacheExpiry.register()

                        if (expiry != null) {
                            Date expiryDate = expiry.toGregorianCalendar().getTime();

                            logger.trace("Creating Cache Entry for JBoss at [" + new Date() + "] , with expiration set to SAML expiry = " + expiryDate);

                            cacheExpiry.register(securityDomain, expiryDate, principal);
                        } else {
                            logger.samlAssertionWithoutExpiration(assertion.getID());
                        }
                    }
                }

Examples of org.projectforge.plugins.core.PluginsRegistry.register()

  public static void init(final String[] additionalContextFiles, final boolean createTestData, final AbstractPlugin... plugins) throws BeansException, IOException
  {
    final List<String> persistentEntries = new ArrayList<String>();
    final PluginsRegistry pluginsRegistry = PluginsRegistry.instance();
    for (final AbstractPlugin plugin : plugins) {
      pluginsRegistry.register(plugin);
      for (final Class< ? > persistentEntry : plugin.getPersistentEntities()) {
        persistentEntries.add(persistentEntry.getName());
      }
    }
    preInit(additionalContextFiles);

Examples of org.red5.server.WebScope.register()

      scope.setVirtualHosts("*");

          LoaderBase.setRed5ApplicationContext(context.getContextPath(), new JettyApplicationContext(context));

      // Register WebScope in server
      scope.register();
    }
  }

  /** {@inheritDoc} */
    public void deconfigureWebApp() throws Exception {

Examples of org.red5.server.scope.WebScope.register()

    webContext.setMappingStrategy(globalStrategy);

    WebScope scope = (WebScope) appFactory.getBean("web.scope");
    scope.setServer(server);
    scope.setParent(global);
    scope.register();
    scope.start();

    // register the context so we dont try to reinitialize it
    registeredContexts.add(ctx);

Examples of org.restlet.util.SelectionRegistration.register()

                        Level.FINEST,
                        "Registering new NIO interest with selector: "
                                + newRegistration);
            }

            newRegistration.register(getSelector());
            newRegistration = getNewRegistrations().poll();
        }
    }

    /**
 

Examples of org.rhq.core.pc.agent.AgentRegistrar.register()

     */
    private void registerWithServer() {
        AgentRegistrar registrar = PluginContainer.getInstance().getAgentRegistrar();
        if (registrar != null) {
            try {
                registrar.register(10000L);

                // now that we are registered, let's kick off an inventory report
                // just to make sure the server has our initial inventory
                inventoryThreadPoolExecutor.submit((Runnable) this.serverScanExecutor);
            } catch (Exception e) {

Examples of org.rioproject.event.EventHandler.register()

                           "not implement "+EventProducer.class.getName();
            logger.warn(reason);
            throw new ClassCastException(reason);
        }
       
        return (eHandler.register(o, preparedListener, handback, duration));
    }

    /**
     * Left for concrete implementations of this class to implement
     */
 
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.