Examples of register()


Examples of net.jcores.jre.options.KillSwitch.register()

                }
            }
        });

        // Register the future
        if (killswitch != null) killswitch.register(submit);
    }

    /**
     * Executes the given function once after the given delay (delay in the
     * sense of time until the first execution happens).

Examples of net.jini.core.lookup.ServiceRegistrar.register()

                    throw new RuntimeException(e.toString());
                }
                logger.log(Level.FINE, "registering test service "
                                              +i+" with lookup service "+loc);
                ServiceRegistration srvcReg =
                 lookupProxy.register(new ServiceItem(srvcID,testService,null),
                                      Long.MAX_VALUE);
    Lease srvcLease = null;
    try {
        srvcReg = (ServiceRegistration) getConfig().prepare(
           "test.reggieServiceRegistrationPreparer",

Examples of net.rim.blackberry.api.messagelist.ApplicationIndicatorRegistry.register()

            }

            ApplicationIndicator indicator;
            if( args.length > 1 ) {
                // Set icon and value
                indicator = reg.register( icon, false, false );
                indicator.set( icon, ( (Integer) args[ 1 ] ).intValue() );
            } else {
                // Set icon only
                indicator = reg.register( icon, true, false );
                indicator.setIcon( icon );

Examples of net.rim.device.api.browser.plugin.BrowserContentProviderRegistry.register()

    public static void libMain(final String[] args) {
        final BrowserContentProviderRegistry converterRegistry =
                BrowserContentProviderRegistry.getInstance();

        if (converterRegistry != null) {
            converterRegistry.register(new BrowserPlugin());
        }
    }
}

Examples of net.sbbi.upnp.ServicesEventing.register()

      counter++;
      ServicesEventing instance = ServicesEventing.getInstance();
      try {
     
        instance.unRegister(avtService, handler);
      instance.register( avtService, handler, 86400 );
    } catch (IOException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }
    }

Examples of net.sf.libgrowl.GrowlConnector.register()

 
  public void send(String clientIp, String password, Message message){
    String messageText = message.getMessageText();
    GrowlConnector growl = new GrowlConnector(clientIp);
    growl.setPassword(password);
    growl.register(jenkinsApp,  new NotificationType[] { buildNotify } );

    Notification jenkinsNotify = new Notification(jenkinsApp, buildNotify, buildName, messageText);
    jenkinsNotify.setSticky(true);
    jenkinsNotify.setCallBackURL(message.getUrl());

Examples of net.solosky.maplefetion.client.dialog.ServerDialog.register()

       
        ActionEventFuture future = new ActionEventFuture();
      ActionEventListener listener = new FutureActionEventListener(future);
     
      //注册服务器
      serverDialog.register(presence, listener);
      Dialog.assertActionEvent(future.waitActionEventWithException(), ActionEventType.SUCCESS);
     
      //用户验证
      future.clear();
      serverDialog.userAuth(presence, listener);

Examples of net.sourceforge.purrpackage.recording.Closer.register()

        final Source source = finder.getSource(sourceFileName);
        if (source == null) {
            throw new SourceReaderException("Could not find source file for "
                    + sourceFileName);
        }
        c.register(new Closeable() {

            @Override
            public void close() throws IOException {
                source.close();
            }

Examples of net.xeoh.nexus.Nexus.register()

            final T newT = clsses.newInstance();
            final Collection<? extends Service> service = InternalService.wrap(newT);

            newT.commonCore($);
            newT.init();
            nexus.register(service);

            return newT;
        } catch (InstantiationException e) {
            e.printStackTrace();
        } catch (IllegalAccessException e) {

Examples of nextapp.echo2.webcontainer.util.IdTable.register()

     */
    public void testReferenceRelease() {
        IdTable idManager = new IdTable();
        TestObject testObject = new TestObject();
        String id = testObject.getRenderId();
        idManager.register(testObject);
        assertNotNull(idManager.getObject(id));
       
        testObject = null;
        for (int i = 0; i < 10; ++i) {
            System.gc();
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.