Class CreateSqlObjectHandler

    • Constructor Summary

      Constructors 
      Constructor Description
      CreateSqlObjectHandler​(java.lang.reflect.Method method)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object invoke​(HandleSupplier handleSupplier, java.lang.Object target, java.lang.Object... args)
      Gets invoked to return a value for the method that this handler was bound to.
      • Methods inherited from class java.lang.Object

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

      • method

        private final java.lang.reflect.Method method
    • Constructor Detail

      • CreateSqlObjectHandler

        public CreateSqlObjectHandler​(java.lang.reflect.Method method)
    • Method Detail

      • invoke

        public java.lang.Object invoke​(HandleSupplier handleSupplier,
                                       java.lang.Object target,
                                       java.lang.Object... args)
                                throws java.lang.Exception
        Description copied from interface: ExtensionHandler
        Gets invoked to return a value for the method that this handler was bound to.
        Specified by:
        invoke in interface ExtensionHandler
        Parameters:
        handleSupplier - A HandleSupplier instance for accessing the handle and its related objects
        target - The target object on which the handler should operate
        args - Optional arguments for the handler
        Returns:
        The return value for the method that was bound to the extension handler. Can be null
        Throws:
        java.lang.Exception - Any exception from the underlying code