Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » aop » aspectj » [javadoc | source]
org.springframework.aop.aspectj
public class: DeclareParentsAdvisor [javadoc | source]
java.lang.Object
   org.springframework.aop.aspectj.DeclareParentsAdvisor

All Implemented Interfaces:
    IntroductionAdvisor

Introduction advisor delegating to the given object. Implements AspectJ annotation-style behavior for the DeclareParents annotation.
Constructor:
 public DeclareParentsAdvisor(Class interfaceType,
    String typePattern,
    Class defaultImpl) 
    Create a new advisor for this DeclareParents field.
    Parameters:
    interfaceType - static field defining the introduction
    typePattern - type pattern the introduction is restricted to
    defaultImpl - the default implementation class
 public DeclareParentsAdvisor(Class interfaceType,
    String typePattern,
    Object delegateRef) 
    Create a new advisor for this DeclareParents field.
    Parameters:
    interfaceType - static field defining the introduction
    typePattern - type pattern the introduction is restricted to
    delegateRef - the delegate implementation object
Method from org.springframework.aop.aspectj.DeclareParentsAdvisor Summary:
getAdvice,   getClassFilter,   getInterfaces,   isPerInstance,   validateInterfaces
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.aop.aspectj.DeclareParentsAdvisor Detail:
 public Advice getAdvice() 
 public ClassFilter getClassFilter() 
 public Class[] getInterfaces() 
 public boolean isPerInstance() 
 public  void validateInterfaces() throws IllegalArgumentException