Interface ConstructorInvocation

All Superinterfaces:
Invocation, Joinpoint

public interface ConstructorInvocation extends Invocation
Description of an invocation to a constructor, given to an interceptor upon constructor-call. A constructor invocation is a joinpoint and can be intercepted by a constructor interceptor.
See Also:
  • Method Details

    • getConstructor

      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