Interface ConstructorInvocation

  • All Superinterfaces:
    Invocation, Joinpoint

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

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

    See Also:
    ConstructorInterceptor
    • Method Detail

      • getConstructor

        java.lang.reflect.Constructor getConstructor()
        Gets the constructor being called.

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

        Returns:
        the constructor being called.