common-util

local.tomas.expr.eval
Class TypeRetrieverFactory

java.lang.Object
  extended by local.tomas.expr.eval.TypeRetrieverFactory

public class TypeRetrieverFactory
extends Object

Factory for TypeRetriever objects.

Author:
Teubner

Constructor Summary
TypeRetrieverFactory()
           
 
Method Summary
 TypeRetriever create()
          Create new TypeRetriever.
static TypeRetrieverFactory getInstance()
          Get singleton instance.
static void setFactoryClass(Class<? extends TypeRetrieverFactory> newFactoryClass)
          Set new factory class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeRetrieverFactory

public TypeRetrieverFactory()
Method Detail

setFactoryClass

public static final void setFactoryClass(Class<? extends TypeRetrieverFactory> newFactoryClass)
Set new factory class.

Parameters:
newFactoryClass - the new factory class

getInstance

public static final TypeRetrieverFactory getInstance()
Get singleton instance.

Returns:
the instance

create

public TypeRetriever create()
Create new TypeRetriever.

Returns:
the type retriever

common-util

Copyright © 2005-2007 Tomas Teubner. All Rights Reserved.