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