com.atlassian.core.ofbiz
Class CoreFactory

java.lang.Object
  extended by com.atlassian.core.ofbiz.CoreFactory

Deprecated. See individual methods for individual replacements. Since v5.0.

public class CoreFactory
extends Object

This is the Factory for "atlassian-core".

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


Constructor Summary
CoreFactory()
          Deprecated.  
 
Method Summary
static org.ofbiz.core.entity.GenericDelegator getGenericDelegator()
          Deprecated. Use OfBizDelegator or get DelegatorInterface from Pico instead. Since v5.0.
static void globalRefresh()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoreFactory

public CoreFactory()
Deprecated. 
Method Detail

globalRefresh

public static void globalRefresh()
Deprecated. 

getGenericDelegator

public static org.ofbiz.core.entity.GenericDelegator getGenericDelegator()
Deprecated. Use OfBizDelegator or get DelegatorInterface from Pico instead. Since v5.0.

Old way to get a GenericDelegator.

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.

Returns:
GenericDelegator


Copyright © 2002-2014 Atlassian. All Rights Reserved.