org.ofbiz.core.entity
Class GenericDelegatorUtils

java.lang.Object
  extended by org.ofbiz.core.entity.GenericDelegatorUtils

public class GenericDelegatorUtils
extends Object

Utility class for pseudo-unit tests that need a delegator.

Since:
v5.2

Constructor Summary
GenericDelegatorUtils()
           
 
Method Summary
static org.ofbiz.core.entity.GenericDelegator createGenericDelegator(String delegatorName)
          Creates a *new* GenericDelegator instance.
static org.ofbiz.core.entity.GenericDelegator defaultGenericDelegator()
          Returns a new default GenericDelegatord.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericDelegatorUtils

public GenericDelegatorUtils()
Method Detail

defaultGenericDelegator

public static org.ofbiz.core.entity.GenericDelegator defaultGenericDelegator()
                                                                      throws org.ofbiz.core.entity.GenericEntityException
Returns a new default GenericDelegatord.

Returns:
a GenericDelegator
Throws:
GenericEntityException
See Also:
createGenericDelegator(String)

createGenericDelegator

public static org.ofbiz.core.entity.GenericDelegator createGenericDelegator(String delegatorName)
                                                                     throws org.ofbiz.core.entity.GenericEntityException
Creates a *new* GenericDelegator instance.

Parameters:
delegatorName - a String indicating the delegator name
Returns:
a GenericDelegator
Throws:
GenericEntityException


Copyright © 2002-2013 Atlassian. All Rights Reserved.