[nbdev] Problem with Lookup.getDefault().lookupAll()

  • From: Hermann Matthes < >
  • To:
  • Subject: [nbdev] Problem with Lookup.getDefault().lookupAll()
  • Date: Fri, 29 Mar 2013 23:39:09 +0100

Hello all,
I have a problem with the orderLookup.getDefault().lookupAll(ITaskPaneProvider.class) returns my ServiceProviders.

I have 4 ServiceProviders with the following position property:

  • TaskPaneAdminProvider: 1000
  • TaskPaneConfigProvider: 2000
  • TaskPaneCustomizingProvider: 3000
  • TaskPaneMiscellaneousProvider: 10000

This is the sequence I thought Lookup.getDefault().lookupAll() would return them. But the received order is:

  1. TaskPaneCustomizingProvider
  2. TaskPaneMiscellaneousProvider
  3. TaskPaneAdminProvider
  4. TaskPaneConfigProvider
Whats my fault?

Hermann


[nbdev] Problem with Lookup.getDefault().lookupAll()

Hermann Matthes 03/29/2013

[nbdev] Re: Problem with Lookup.getDefault().lookupAll()

Wade Chandler 03/29/2013

[nbdev] Re: Problem with Lookup.getDefault().lookupAll()

Hermann Matthes 03/30/2013

[nbdev] Re: Problem with Lookup.getDefault().lookupAll()

Wade Chandler 03/30/2013

[nbdev] Re: Problem with Lookup.getDefault().lookupAll()

Hermann Matthes 03/30/2013

[nbdev] Re: Problem with Lookup.getDefault().lookupAll()

Wade Chandler 03/30/2013

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close