On 6/25/10 12:50, Donald Whytock wrote:
Hi...Trying to extend ServiceTracker rather than use a
ServiceTrackerCustomizer, but when I try new ServiceTracker(context,
filter, null) I get a Cannot Find Symbol for constructor
ServiceTracker(BundleContext, String,<nullable>).

The ServiceTracker javadoc talks about what happens if the customizer
parameter is null, so I assume it can be null?

Sure it can. Are you sure you have access to the class in your project set up?

-> richard

p.s. The middle string parameter is not a filter, but the name of a class...if you want to use a filter you need to create a filter.

Don

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to