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

Field Summary
private static ObjectTypeDeterminer instance
           
private static Log LOG
           
 
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
 

Field Detail

LOG

private static final Log LOG

instance

private static ObjectTypeDeterminer instance
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 © 2000-2008 Apache Software Foundation. All Rights Reserved.