org.eclipse.gemini.blueprint.config.internal.adapter
Class ToStringClassAdapter

java.lang.Object
  extended by org.eclipse.gemini.blueprint.config.internal.adapter.ToStringClassAdapter
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<String>

public class ToStringClassAdapter
extends Object
implements org.springframework.beans.factory.FactoryBean<String>

Simple adapter class used for maintaing configuration compatibility when using parameter with classes instead of class names.

Author:
Costin Leau

Method Summary
 String getObject()
           
 Class<? extends String> getObjectType()
           
 boolean isSingleton()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getObject

public String getObject()
                 throws Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean<String>
Throws:
Exception

getObjectType

public Class<? extends String> getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean<String>

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean<String>


Copyright © 2006-2013. All Rights Reserved.