org.apache.aries.blueprint.sample
Class CurrencyTypeConverter

java.lang.Object
  extended by org.apache.aries.blueprint.sample.CurrencyTypeConverter
All Implemented Interfaces:
org.osgi.service.blueprint.container.Converter

public class CurrencyTypeConverter
extends Object
implements org.osgi.service.blueprint.container.Converter


Constructor Summary
CurrencyTypeConverter()
           
 
Method Summary
 boolean canConvert(Object fromValue, org.osgi.service.blueprint.container.ReifiedType toType)
           
 Object convert(Object source, org.osgi.service.blueprint.container.ReifiedType toType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrencyTypeConverter

public CurrencyTypeConverter()
Method Detail

canConvert

public boolean canConvert(Object fromValue,
                          org.osgi.service.blueprint.container.ReifiedType toType)
Specified by:
canConvert in interface org.osgi.service.blueprint.container.Converter

convert

public Object convert(Object source,
                      org.osgi.service.blueprint.container.ReifiedType toType)
               throws Exception
Specified by:
convert in interface org.osgi.service.blueprint.container.Converter
Throws:
Exception


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.