Class Cleaner.SpyInvocationHandler

  • All Implemented Interfaces:
    java.lang.reflect.InvocationHandler
    Enclosing class:
    Cleaner

    static class Cleaner.SpyInvocationHandler
    extends java.lang.Object
    implements java.lang.reflect.InvocationHandler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.apache.maven.execution.ExecutionListener delegate  
    • Constructor Summary

      Constructors 
      Constructor Description
      SpyInvocationHandler​(org.apache.maven.execution.ExecutionListener delegate)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object invoke​(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • delegate

        private final org.apache.maven.execution.ExecutionListener delegate
    • Constructor Detail

      • SpyInvocationHandler

        SpyInvocationHandler​(org.apache.maven.execution.ExecutionListener delegate)
    • Method Detail

      • invoke

        public java.lang.Object invoke​(java.lang.Object proxy,
                                       java.lang.reflect.Method method,
                                       java.lang.Object[] args)
                                throws java.lang.Throwable
        Specified by:
        invoke in interface java.lang.reflect.InvocationHandler
        Throws:
        java.lang.Throwable