@NotThreadSafe public class CoreFactory extends Object
This was taken from atlassian-ofbiz and placed into its now rightful home of JIRA.
Constructor and Description |
---|
CoreFactory() |
Modifier and Type | Method and Description |
---|---|
static org.ofbiz.core.entity.GenericDelegator |
getGenericDelegator()
Deprecated.
Use
OfBizDelegator or get DelegatorInterface from Pico instead. Since v5.0. |
static void |
globalRefresh()
Clears the
GenericDelegator instance. |
public static void globalRefresh()
GenericDelegator
instance.public static org.ofbiz.core.entity.GenericDelegator getGenericDelegator()
OfBizDelegator
or get DelegatorInterface
from Pico instead. Since v5.0.
Normally you would use OfBizDelegator
instead.
Get OfBizDelegator injected or use ComponentAccessor.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.
Copyright © 2002-2019 Atlassian. All Rights Reserved.