1. package com.sun.corba.se.spi.orbutil.proxy ;
  2. import java.io.Serializable ;
  3. import java.lang.reflect.InvocationHandler ;
  4. public interface CompositeInvocationHandler extends InvocationHandler,
  5. Serializable
  6. {
  7. /** Add an invocation handler for all methods on interface interf.
  8. */
  9. void addInvocationHandler( Class interf, InvocationHandler handler ) ;
  10. /** Set the default invocation handler to use if none of the
  11. * invocation handlers added by calls to addInvocationHandler apply.
  12. */
  13. void setDefaultHandler( InvocationHandler handler ) ;
  14. }