JBoss Reflection 2.2.1.SP1

org.jboss.reflect.spi
Class ProgressionConvertorFactory

java.lang.Object
  extended by org.jboss.reflect.spi.ProgressionConvertorFactory

public class ProgressionConvertorFactory
extends Object

Singleton progression instance factory. We can change the progression convertor with system property or setting the convertor class name at the singleton factory instance. This way we can still change the convertor at runtime before actual usage - in MC beans definition or other IoC - via XML.

Author:
Ales Justin

Constructor Summary
ProgressionConvertorFactory()
           
 
Method Summary
 ProgressionConvertor getConvertor()
           
static ProgressionConvertorFactory getInstance()
           
 void setConvertorClassName(String convertorClassName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgressionConvertorFactory

public ProgressionConvertorFactory()
Method Detail

getInstance

public static ProgressionConvertorFactory getInstance()

getConvertor

public ProgressionConvertor getConvertor()
                                  throws Throwable
Throws:
Throwable

setConvertorClassName

public void setConvertorClassName(String convertorClassName)

JBoss Reflection 2.2.1.SP1

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.