org.apache.aries.blueprint.sample
Class CurrencyTypeConverter
java.lang.Object
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
|
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 |
CurrencyTypeConverter
public CurrencyTypeConverter()
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.