private static SCProductScreenshotLocalServiceFactory _getFactory() {
    if (_factory == null) {
      _factory = (SCProductScreenshotLocalServiceFactory) BeanLocatorUtil.locate(_FACTORY);
    }

    return _factory;
  }
  public static SCProductScreenshotLocalService getTxImpl() {
    if (_txImpl == null) {
      _txImpl = (SCProductScreenshotLocalService) BeanLocatorUtil.locate(_TX_IMPL);
    }

    return _txImpl;
  }
示例#3
0
  private static ShoppingCouponUtil _getUtil() {
    if (_util == null) {
      _util = (ShoppingCouponUtil) com.liferay.portal.kernel.bean.BeanLocatorUtil.locate(_UTIL);
    }

    return _util;
  }
  private static DLFileShortcutFinderUtil _getUtil() {
    if (_util == null) {
      _util =
          (DLFileShortcutFinderUtil) com.liferay.portal.kernel.bean.BeanLocatorUtil.locate(_UTIL);
    }

    return _util;
  }
  protected void setUp() throws Exception {
    super.setUp();

    _persistence = (ShoppingCouponPersistence) BeanLocatorUtil.locate(_TX_IMPL);
  }
  protected void setUp() throws Exception {
    super.setUp();

    _persistence = (ActivityTrackerPersistence) BeanLocatorUtil.locate(_TX_IMPL);
  }