org.ow2.shelbie.core.internal.converter.manager
Class ConverterManagerImpl

java.lang.Object
  extended by org.ow2.shelbie.core.internal.converter.manager.ConverterManagerImpl
All Implemented Interfaces:
org.ow2.shelbie.core.IConverterManager

public class ConverterManagerImpl
extends Object
implements org.ow2.shelbie.core.IConverterManager

Author:
Loris Bouzonnet

Constructor Summary
ConverterManagerImpl(org.osgi.framework.BundleContext bundleContext)
           
 
Method Summary
 void addConverter(org.osgi.framework.ServiceReference ref)
           
 Object convert(org.apache.felix.gogo.commands.converter.ReifiedType desiredType, Object in)
           
 Object convert(Type desiredType, Object in)
           
 void removeConverter(org.osgi.framework.ServiceReference ref)
           
 void updateConverter(org.osgi.framework.ServiceReference ref)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConverterManagerImpl

public ConverterManagerImpl(org.osgi.framework.BundleContext bundleContext)
Method Detail

addConverter

public void addConverter(org.osgi.framework.ServiceReference ref)

removeConverter

public void removeConverter(org.osgi.framework.ServiceReference ref)

updateConverter

public void updateConverter(org.osgi.framework.ServiceReference ref)

convert

public Object convert(org.apache.felix.gogo.commands.converter.ReifiedType desiredType,
                      Object in)
               throws Exception
Specified by:
convert in interface org.ow2.shelbie.core.IConverterManager
Throws:
Exception

convert

public Object convert(Type desiredType,
                      Object in)
               throws Exception
Specified by:
convert in interface org.ow2.shelbie.core.IConverterManager
Throws:
Exception


Copyright © 2013 OW2 Consortium. All Rights Reserved.