public class

CoreFactory

extends Object
java.lang.Object
   ↳ com.atlassian.core.ofbiz.CoreFactory

This class is deprecated.
See individual methods for individual replacements. Since v5.0.

Class Overview

This is the Factory for "atlassian-core".

This was taken from atlassian-ofbiz and placed into its now rightful home of JIRA.

Summary

Public Constructors
CoreFactory()
Public Methods
static GenericDelegator getGenericDelegator()
This method is deprecated. Use OfBizDelegator or get org.ofbiz.core.entity.DelegatorInterface from Pico instead. Since v5.0.
static void globalRefresh()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public CoreFactory ()

Public Methods

public static GenericDelegator getGenericDelegator ()

This method is deprecated.
Use OfBizDelegator or get org.ofbiz.core.entity.DelegatorInterface from Pico instead. Since v5.0.

Old way to get a GenericDelegator.

Normally you would use OfBizDelegator instead. Get OfBizDelegator injected or use getOfBizDelegator().

If you really want the raw Entity Engine "delegator", get the instance of DelegatorInterface from Pico. You can call ComponentAccessor#getComponent(DelegatorInterface.class) if you need static access.

Returns
  • GenericDelegator

public static void globalRefresh ()