org.clazzes.util.osgi
Class ConfigPropertyConverter
java.lang.Object
org.clazzes.util.osgi.ConfigPropertyConverter
- All Implemented Interfaces:
- org.osgi.service.blueprint.container.Converter
public class ConfigPropertyConverter
- extends java.lang.Object
- implements org.osgi.service.blueprint.container.Converter
A blueprint converter to be registered using a <type-converters>
section.
Method Summary |
boolean |
canConvert(java.lang.Object sourceObject,
org.osgi.service.blueprint.container.ReifiedType targetType)
|
java.lang.Object |
convert(java.lang.Object sourceObject,
org.osgi.service.blueprint.container.ReifiedType targetType)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigPropertyConverter
public ConfigPropertyConverter(org.osgi.service.blueprint.container.Converter blueprintConverter)
- Parameters:
blueprintConverter
- The default converter as injected from
the blueprintContainer
bean id.
canConvert
public boolean canConvert(java.lang.Object sourceObject,
org.osgi.service.blueprint.container.ReifiedType targetType)
- Specified by:
canConvert
in interface org.osgi.service.blueprint.container.Converter
convert
public java.lang.Object convert(java.lang.Object sourceObject,
org.osgi.service.blueprint.container.ReifiedType targetType)
throws java.lang.Exception
- Specified by:
convert
in interface org.osgi.service.blueprint.container.Converter
- Throws:
java.lang.Exception
Copyright © 2010. All Rights Reserved.