java.util.Properties
37383940414243444546474849
{ throw new ComponentConfigurationException( "This configurator can only process implementations of " + MapOrientedComponent.class.getName() ); } MapConverter converter = new MapConverter(); Map context = (Map) converter.fromConfiguration( converterLookup, configuration, null, null, containerRealm.getClassLoader(), expressionEvaluator, listener ); ( (MapOrientedComponent) component ).setComponentConfiguration( context ); }
155156157158159160161162163164165
//registerDefaultConverter( new BigIntegerConverter() ); } private void registerDefaultCompositeConverters() { registerDefaultConverter( new MapConverter() ); registerDefaultConverter( new ArrayConverter() ); registerDefaultConverter( new CollectionConverter() );
539540541542543544545546547548549550551552553554555556557558
{ throw new ComponentInstantiationException( "Error adding requirement to MapOrientedComponent ", e ); } } MapConverter converter = new MapConverter(); ConverterLookup converterLookup = new DefaultConverterLookup(); DefaultExpressionEvaluator expressionEvaluator = new DefaultExpressionEvaluator(); PlexusConfiguration configuration = container.getConfigurationSource().getConfiguration( descriptor ); if ( configuration != null ) { try { Map context = (Map) converter.fromConfiguration(converterLookup, configuration, null, null, realm, expressionEvaluator,
457458459460461462463464465466467468469470471472473474
} mapOrientedComponent.addComponentRequirement(requirement, value); } MapConverter converter = new MapConverter(); ConverterLookup converterLookup = new DefaultConverterLookup(); DefaultExpressionEvaluator expressionEvaluator = new DefaultExpressionEvaluator(); PlexusConfiguration configuration = container.getConfigurationSource().getConfiguration( descriptor ); if ( configuration != null ) { Map context = (Map) converter.fromConfiguration(converterLookup, configuration, null, null, realm, expressionEvaluator,
157158159160161162163164165166167
registerDefaultConverter( new UriConverter() ); } private void registerDefaultCompositeConverters() { registerDefaultConverter( new MapConverter() ); registerDefaultConverter( new ArrayConverter() ); registerDefaultConverter( new CollectionConverter() );
490491492493494495496497498499500501502503504505506507
{ throw new ComponentConfigurationException( "This configurator can only process implementations of " + MapOrientedComponent.class.getName() ); } MapConverter converter = new MapConverter(); Map context = (Map) converter.fromConfiguration( converterLookup, configuration, null, null, containerRealm, expressionEvaluator, listener ); ( (MapOrientedComponent) component ).setComponentConfiguration( context ); }
160161162163164165166167168169170
registerDefaultConverter( new EnumConverter() ); } private void registerDefaultCompositeConverters() { registerDefaultConverter( new MapConverter() ); registerDefaultConverter( new ArrayConverter() ); registerDefaultConverter( new CollectionConverter() );
156157158159160161162163164165166