コード例 #1
0
  private static SCProductScreenshotLocalServiceFactory _getFactory() {
    if (_factory == null) {
      _factory = (SCProductScreenshotLocalServiceFactory) BeanLocatorUtil.locate(_FACTORY);
    }

    return _factory;
  }
コード例 #2
0
  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;
  }
コード例 #4
0
  private static DLFileShortcutFinderUtil _getUtil() {
    if (_util == null) {
      _util =
          (DLFileShortcutFinderUtil) com.liferay.portal.kernel.bean.BeanLocatorUtil.locate(_UTIL);
    }

    return _util;
  }
コード例 #5
0
  protected void setUp() throws Exception {
    super.setUp();

    _persistence = (ShoppingCouponPersistence) BeanLocatorUtil.locate(_TX_IMPL);
  }
コード例 #6
0
  protected void setUp() throws Exception {
    super.setUp();

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