001/*
002 * Copyright 2002-2011 the original author or authors.
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 *      https://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016
017package org.springframework.core.convert.support;
018
019import org.springframework.core.convert.ConversionService;
020import org.springframework.core.convert.converter.ConverterRegistry;
021
022/**
023 * Configuration interface to be implemented by most if not all {@link ConversionService}
024 * types. Consolidates the read-only operations exposed by {@link ConversionService} and
025 * the mutating operations of {@link ConverterRegistry} to allow for convenient ad-hoc
026 * addition and removal of {@link org.springframework.core.convert.converter.Converter
027 * Converters} through. The latter is particularly useful when working against a
028 * {@link org.springframework.core.env.ConfigurableEnvironment ConfigurableEnvironment}
029 * instance in application context bootstrapping code.
030 *
031 * @author Chris Beams
032 * @since 3.1
033 * @see org.springframework.core.env.ConfigurablePropertyResolver#getConversionService()
034 * @see org.springframework.core.env.ConfigurableEnvironment
035 * @see org.springframework.context.ConfigurableApplicationContext#getEnvironment()
036 */
037public interface ConfigurableConversionService extends ConversionService, ConverterRegistry {
038
039}