org.aopalliance.intercept

Interface ConstructorInvocation

  • All Superinterfaces:
    Invocation, Joinpoint


    public interface ConstructorInvocation
    extends Invocation
    Description of an invocation to a constuctor, given to an interceptor upon constructor-call.

    A constructor invocation is a joinpoint and can be intercepted by a constructor interceptor.

    Author:
    Rod Johnson
    See Also:
    ConstructorInterceptor
    • Method Detail

      • getConstructor

        java.lang.reflect.Constructor<?> getConstructor()
        Get the constructor being called.

        This method is a friendly implementation of the Joinpoint.getStaticPart() method (same result).

        Returns:
        the constructor being called