public class

GenericDelegatorUtils

extends Object
java.lang.Object
   ↳ org.ofbiz.core.entity.GenericDelegatorUtils

Class Overview

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

Summary

Public Constructors
GenericDelegatorUtils()
Public Methods
static GenericDelegator createGenericDelegator(String delegatorName)
Creates a *new* GenericDelegator instance.
static GenericDelegator defaultGenericDelegator()
Returns a new default GenericDelegatord.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public GenericDelegatorUtils ()

Public Methods

public static GenericDelegator createGenericDelegator (String delegatorName)

Creates a *new* GenericDelegator instance.

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

public static GenericDelegator defaultGenericDelegator ()

Returns a new default GenericDelegatord.

Returns
  • a GenericDelegator
Throws
GenericEntityException
GenericEntityException