Class SystemBundleUtil
Object
com.liferay.portal.kernel.module.util.SystemBundleUtil
- Author:
- Shuyang Zhou
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <S,
R, E extends Throwable>
RcallService
(Class<S> serviceClass, com.liferay.petra.function.UnsafeFunction<S, R, E> unsafeFunction) static <S,
R, E extends Throwable>
RcallService
(String serviceClassName, com.liferay.petra.function.UnsafeFunction<S, R, E> unsafeFunction) static org.osgi.framework.Filter
createFilter
(String filterString) static org.osgi.framework.BundleContext
static ServiceLatch
-
Constructor Details
-
SystemBundleUtil
public SystemBundleUtil()
-
-
Method Details
-
callService
public static <S,R, R callServiceE extends Throwable> (Class<S> serviceClass, com.liferay.petra.function.UnsafeFunction<S, R, throws EE> unsafeFunction) - Throws:
E extends Throwable
-
callService
public static <S,R, R callServiceE extends Throwable> (String serviceClassName, com.liferay.petra.function.UnsafeFunction<S, R, throws EE> unsafeFunction) - Throws:
E extends Throwable
-
createFilter
-
getBundleContext
public static org.osgi.framework.BundleContext getBundleContext() -
newServiceLatch
-