001/* 002 * Copyright 2002-2018 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.beans.factory; 018 019/** 020 * A marker superinterface indicating that a bean is eligible to be notified by the 021 * Spring container of a particular framework object through a callback-style method. 022 * The actual method signature is determined by individual subinterfaces but should 023 * typically consist of just one void-returning method that accepts a single argument. 024 * 025 * <p>Note that merely implementing {@link Aware} provides no default functionality. 026 * Rather, processing must be done explicitly, for example in a 027 * {@link org.springframework.beans.factory.config.BeanPostProcessor}. 028 * Refer to {@link org.springframework.context.support.ApplicationContextAwareProcessor} 029 * for an example of processing specific {@code *Aware} interface callbacks. 030 * 031 * @author Chris Beams 032 * @author Juergen Hoeller 033 * @since 3.1 034 */ 035public interface Aware { 036 037}