Examples of unregister()


Examples of org.bukkit.scoreboard.Team.unregister()

                String name = args[2];
                Team team = mainScoreboard.getTeam(name);
                if (team == null) {
                    sender.sendMessage(ChatColor.RED + "No team was found by the name '" + name + "'");
                } else {
                    team.unregister();
                    sender.sendMessage("Removed team " + name);
                }
            } else if (args[1].equalsIgnoreCase("empty")) {
                if (args.length != 3) {
                    sender.sendMessage(ChatColor.RED + "/scoreboard teams clear <name>");
View Full Code Here

Examples of org.codehaus.loom.interfaces.SystemManager.unregister()

                SystemManager.class.getName() );

        final SystemManager mxExporter =
            systemManager.getSubContext( null, "component" );

        mxExporter.unregister( "Embeddor" );

        for( int i = 0; i < m_entries.length; i++ )
        {
            final EmbeddorEntry entry = m_entries[ i ];
            mxExporter.unregister( entry.getLoggerName() );
View Full Code Here

Examples of org.eclipse.ecf.remoteservice.IRemoteServiceRegistration.unregister()

    IRemoteServiceReference[] allRefs = containerAdapter.getAllRemoteServiceReferences(IConcatService.class.getName(), null);
    assertNotNull(allRefs);
    assertTrue(allRefs.length == 1);
   
    // Unregister
    registration.unregister();
  }

  public void testGetAllLocalRemoteServiceReference() throws Exception {
    // First register some service locally
    IRemoteServiceRegistration registration = containerAdapter.registerRemoteService(new String[] { IConcatService.class.getName() }, createConcatService(), null);
View Full Code Here

Examples of org.eclipse.jface.text.IEditingSupportRegistry.unregister()

      if (target != null)
        target.endCompoundChange();

      if (fViewer instanceof IEditingSupportRegistry) {
        IEditingSupportRegistry registry= (IEditingSupportRegistry) fViewer;
        registry.unregister(helper);
      }
      fInserting= false;
    }
  }
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.finders.EventContextMenuFinder.unregister()

      List<MenuItem> menus = finder.findMenus(withMnemonic);
      if (menus.isEmpty())
        throw new WidgetNotFoundException("Could not find a menu item");
      return new SWTBotMenu(menus.get(0));
    } finally {
      finder.unregister();
    }
  }

  /**
   * Convenience API for {@link #contextMenu(String)}
View Full Code Here

Examples of org.exoplatform.services.security.ConversationRegistry.unregister()

      ConversationRegistry conversationRegistry =
         (ConversationRegistry)getContainer(httpSession.getServletContext()).getComponentInstanceOfType(
            ConversationRegistry.class);

      ConversationState conversationState = conversationRegistry.unregister(stateKey);

      if (conversationState != null)
         if (log.isDebugEnabled())
            log.debug("Remove conversation state " + httpSession.getId());
View Full Code Here

Examples of org.exoplatform.services.security.IdentityRegistry.unregister()

         (IdentityRegistry)container.getComponentInstanceOfType(IdentityRegistry.class);

      // The check need for case when login failed
      if (this.userId != null)
      {
         identityRegistry.unregister(this.userId);
      }
   }
}
View Full Code Here

Examples of org.gatein.wsrp.services.PortCustomizerRegistry.unregister()

        registry.register(BEA_POLICY_IGNORING_CUSTOMIZER);
    }

    public void stop() {
        final PortCustomizerRegistry registry = PortCustomizerRegistry.getInstance();
        registry.unregister(WSS4J_CUSTOMIZER);
        registry.unregister(BEA_POLICY_IGNORING_CUSTOMIZER);
    }

}
View Full Code Here

Examples of org.glassfish.gmbal.ManagedObjectManager.unregister()

    private void unregisterGmbal(StatsProviderRegistryElement spre) {
        //unregister the statsProvider from Gmbal
        ManagedObjectManager mom = spre.getManagedObjectManager();
        if (mom != null) {
            mom.unregister(spre.getStatsProvider());
            try {
                mom.close();
            }
            catch (IOException ioe) {
                logger.log(Level.SEVERE, "gmbalUnRegistrationFailed", ioe);
View Full Code Here

Examples of org.gudy.azureus2.core3.disk.impl.DiskManagerRecheckInstance.unregister()

              }
               }finally{
                
                   complete_recheck_in_progress  = false;
                  
                   recheck_inst.unregister();
               }
            }          
       }.start();
  }
 
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.