Class ScopedServiceTrackerMapFactory<T>
java.lang.Object
com.liferay.osgi.service.tracker.collections.map.ScopedServiceTrackerMapFactory<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ScopedServiceTrackerMap<T>create(org.osgi.framework.BundleContext bundleContext, Class<T> clazz, String property, String filterString, Supplier<T> defaultServiceSupplier) static <T> ScopedServiceTrackerMap<T>create(org.osgi.framework.BundleContext bundleContext, Class<T> clazz, String property, String filterString, Supplier<T> defaultServiceSupplier, Runnable onChangeRunnable) static <T> ScopedServiceTrackerMap<T>create(org.osgi.framework.BundleContext bundleContext, Class<T> clazz, String property, Supplier<T> defaultServiceSupplier)
-
Constructor Details
-
ScopedServiceTrackerMapFactory
public ScopedServiceTrackerMapFactory()
-
-
Method Details
-
create
public static <T> ScopedServiceTrackerMap<T> create(org.osgi.framework.BundleContext bundleContext, Class<T> clazz, String property, String filterString, Supplier<T> defaultServiceSupplier) -
create
-
create
public static <T> ScopedServiceTrackerMap<T> create(org.osgi.framework.BundleContext bundleContext, Class<T> clazz, String property, Supplier<T> defaultServiceSupplier)
-