com.opensymphony.xwork2.util
Class ObjectTypeDeterminerFactory

java.lang.Object
  extended by com.opensymphony.xwork2.util.ObjectTypeDeterminerFactory

public class ObjectTypeDeterminerFactory
extends Object

Factory for getting an instance of ObjectTypeDeterminer.

Will use com.opensymphony.xwork2.util.GenericsObjectTypeDeterminer by default.

Author:
plightbo, Rainer Hermanns, Rene Gielen
See Also:
ObjectTypeDeterminer, DefaultObjectTypeDeterminer

Constructor Summary
ObjectTypeDeterminerFactory()
           
 
Method Summary
static ObjectTypeDeterminer getInstance()
          Gets the instance of ObjectTypeDeterminer to be used.
static void setInstance(ObjectTypeDeterminer instance)
          Sets a new instance of ObjectTypeDeterminer to be used.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectTypeDeterminerFactory

public ObjectTypeDeterminerFactory()
Method Detail

setInstance

public static void setInstance(ObjectTypeDeterminer instance)
Sets a new instance of ObjectTypeDeterminer to be used.

Parameters:
instance - instance of ObjectTypeDeterminer

getInstance

public static ObjectTypeDeterminer getInstance()
Gets the instance of ObjectTypeDeterminer to be used.

Returns:
instance of ObjectTypeDeterminer


Copyright © 2007 OpenSymphony. All Rights Reserved.