org.springframework.aop.support.DelegatePerTargetObjectIntroductionInterceptor Java Examples

The following examples show how to use org.springframework.aop.support.DelegatePerTargetObjectIntroductionInterceptor. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DeclareParentsAdvisor.java    From spring-analysis-note with MIT License 2 votes vote down vote up
/**
 * Create a new advisor for this DeclareParents field.
 * @param interfaceType static field defining the introduction
 * @param typePattern type pattern the introduction is restricted to
 * @param defaultImpl the default implementation class
 */
public DeclareParentsAdvisor(Class<?> interfaceType, String typePattern, Class<?> defaultImpl) {
	this(interfaceType, typePattern,
			new DelegatePerTargetObjectIntroductionInterceptor(defaultImpl, interfaceType));
}
 
Example #2
Source File: DeclareParentsAdvisor.java    From java-technology-stack with MIT License 2 votes vote down vote up
/**
 * Create a new advisor for this DeclareParents field.
 * @param interfaceType static field defining the introduction
 * @param typePattern type pattern the introduction is restricted to
 * @param defaultImpl the default implementation class
 */
public DeclareParentsAdvisor(Class<?> interfaceType, String typePattern, Class<?> defaultImpl) {
	this(interfaceType, typePattern,
			new DelegatePerTargetObjectIntroductionInterceptor(defaultImpl, interfaceType));
}
 
Example #3
Source File: DeclareParentsAdvisor.java    From lams with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Create a new advisor for this DeclareParents field.
 * @param interfaceType static field defining the introduction
 * @param typePattern type pattern the introduction is restricted to
 * @param defaultImpl the default implementation class
 */
public DeclareParentsAdvisor(Class<?> interfaceType, String typePattern, Class<?> defaultImpl) {
	this(interfaceType, typePattern, defaultImpl,
		 new DelegatePerTargetObjectIntroductionInterceptor(defaultImpl, interfaceType));
}
 
Example #4
Source File: DeclareParentsAdvisor.java    From spring4-understanding with Apache License 2.0 2 votes vote down vote up
/**
 * Create a new advisor for this DeclareParents field.
 * @param interfaceType static field defining the introduction
 * @param typePattern type pattern the introduction is restricted to
 * @param defaultImpl the default implementation class
 */
public DeclareParentsAdvisor(Class<?> interfaceType, String typePattern, Class<?> defaultImpl) {
	this(interfaceType, typePattern, defaultImpl,
		 new DelegatePerTargetObjectIntroductionInterceptor(defaultImpl, interfaceType));
}