Class SystemBundleUtil

Object
com.liferay.portal.kernel.module.util.SystemBundleUtil

public class SystemBundleUtil extends Object
Author:
Shuyang Zhou
  • Constructor Details

    • SystemBundleUtil

      public SystemBundleUtil()
  • Method Details

    • callService

      public static <S, R, E extends Throwable> R callService(Class<S> serviceClass, com.liferay.petra.function.UnsafeFunction<S,R,E> unsafeFunction) throws E
      Throws:
      E extends Throwable
    • callService

      public static <S, R, E extends Throwable> R callService(String serviceClassName, com.liferay.petra.function.UnsafeFunction<S,R,E> unsafeFunction) throws E
      Throws:
      E extends Throwable
    • createFilter

      public static org.osgi.framework.Filter createFilter(String filterString)
    • getBundleContext

      public static org.osgi.framework.BundleContext getBundleContext()
    • newServiceLatch

      public static ServiceLatch newServiceLatch()