com.atlassian.jira.ofbiz
Class OfBizFactory

java.lang.Object
  extended by com.atlassian.jira.ofbiz.OfBizFactory

public class OfBizFactory
extends Object

A factory for Unit Tests to get an OfBizDelegator or GenericDelegator. Normally it would be recommended to use a mock OfBizDelegator. This factory is included for compatibility with existing tests that rely on getting a "real" GenericDelegator.

Since:
v5.1

Constructor Summary
OfBizFactory()
           
 
Method Summary
static org.ofbiz.core.entity.GenericDelegator getGenericDelegator()
           
static OfBizDelegator getOfBizDelegator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OfBizFactory

public OfBizFactory()
Method Detail

getGenericDelegator

public static org.ofbiz.core.entity.GenericDelegator getGenericDelegator()

getOfBizDelegator

public static OfBizDelegator getOfBizDelegator()


Copyright © 2002-2014 Atlassian. All Rights Reserved.