public class SystemBundleUtil
extends Object
Constructor and Description |
---|
SystemBundleUtil() |
Modifier and Type | Method and Description |
---|---|
static <S,R,E extends Throwable> |
callService(Class<S> serviceClass,
com.liferay.petra.function.UnsafeFunction<S,R,E> unsafeFunction) |
static <S,R,E extends Throwable> |
callService(String serviceClassName,
com.liferay.petra.function.UnsafeFunction<S,R,E> unsafeFunction) |
static org.osgi.framework.Filter |
createFilter(String filterString) |
static org.osgi.framework.BundleContext |
getBundleContext() |
static ServiceLatch |
newServiceLatch() |
public static <S,R,E extends Throwable> R callService(Class<S> serviceClass, com.liferay.petra.function.UnsafeFunction<S,R,E> unsafeFunction) throws E extends Throwable
E extends Throwable
public static <S,R,E extends Throwable> R callService(String serviceClassName, com.liferay.petra.function.UnsafeFunction<S,R,E> unsafeFunction) throws E extends Throwable
E extends Throwable
public static org.osgi.framework.Filter createFilter(String filterString)
public static org.osgi.framework.BundleContext getBundleContext()
public static ServiceLatch newServiceLatch()