Package org.codehaus.plexus.component.configurator.converters

Examples of org.codehaus.plexus.component.configurator.converters.ConfigurationConverter


            if ( childType == null )
            {
                childType = type.getComponentType();
            }

            ConfigurationConverter converter = converterLookup.lookupConverterForType( childType );

            Object object = converter.fromConfiguration( converterLookup, c, childType, baseType, classLoader,
                                                         expressionEvaluator, listener );

            values.add( object );
        }
View Full Code Here


    }

    public ConfigurationConverter lookupConverterForType( Class<?> type )
        throws ComponentConfigurationException
    {
        ConfigurationConverter retValue = null;

        if ( converterMap.containsKey( type ) )
        {
            retValue = converterMap.get( type );
        }
View Full Code Here

    }

    public ConfigurationConverter lookupConverterForType( Class<?> type )
        throws ComponentConfigurationException
    {
        ConfigurationConverter retValue = converterMap.get( type );

        if ( retValue == null )
        {
            if ( customConverters != null )
            {
View Full Code Here

                        throw new ComponentConfigurationException( "Error loading class '" + className + "'", e );
                    }
                }
            }

            ConfigurationConverter converter = converterLookup.lookupConverterForType( childType );

            Object object = converter.fromConfiguration( converterLookup, c, childType, baseType, classLoader,
                                                         expressionEvaluator, listener );

            Collection collection = (Collection) retValue;
            collection.add( object );
        }
View Full Code Here

            if ( childType == null )
            {
                childType = type.getComponentType();
            }

            ConfigurationConverter converter = converterLookup.lookupConverterForType( childType );
           
            Object object = converter.fromConfiguration( converterLookup,
                                                         childConfiguration,
                                                         childType,
                                                         baseType,
                                                         classLoader,
                                                         expressionEvaluator,
View Full Code Here

TOP

Related Classes of org.codehaus.plexus.component.configurator.converters.ConfigurationConverter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.