/*
 * Copyright 2002-2007 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.springframework.aop;

Marker for AOP proxy interfaces (in particular: introduction interfaces) that explicitly intend to return the raw target object (which would normally get replaced with the proxy object when returned from a method invocation).

Note that this is a marker interface in the style of Serializable, semantically applying to a declared interface rather than to the full class of a concrete object. In other words, this marker applies to a particular interface only (typically an introduction interface that does not serve as the primary interface of an AOP proxy), and hence does not affect other interfaces that a concrete AOP proxy may implement.

Author:Juergen Hoeller
See Also:
Since:2.0.5
/** * Marker for AOP proxy interfaces (in particular: introduction interfaces) * that explicitly intend to return the raw target object (which would normally * get replaced with the proxy object when returned from a method invocation). * * <p>Note that this is a marker interface in the style of {@link java.io.Serializable}, * semantically applying to a declared interface rather than to the full class * of a concrete object. In other words, this marker applies to a particular * interface only (typically an introduction interface that does not serve * as the primary interface of an AOP proxy), and hence does not affect * other interfaces that a concrete AOP proxy may implement. * * @author Juergen Hoeller * @since 2.0.5 * @see org.springframework.aop.scope.ScopedObject */
public interface RawTargetAccess { }