Class AbstractCursorHandler

  • All Implemented Interfaces:
    java.lang.reflect.InvocationHandler
    Direct Known Subclasses:
    CursorConnection, CursorResultSet, CursorStatement

    public abstract class AbstractCursorHandler
    extends java.lang.Object
    implements java.lang.reflect.InvocationHandler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String cursorName  
      protected int fetchSize  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractCursorHandler​(java.lang.String cursorName, int fetchSize)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCursorName()  
      int getFetchSize()  
      protected java.lang.Object invoke​(java.lang.Object obj, java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object... args)  
      protected static <T> T newHandler​(java.lang.reflect.InvocationHandler handler, java.lang.Class<T> implClass)  
      void setCursorName​(java.lang.String cursorName)  
      void setFetchSize​(int fetchSize)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.reflect.InvocationHandler

        invoke
    • Field Detail

      • cursorName

        protected java.lang.String cursorName
      • fetchSize

        protected int fetchSize
    • Constructor Detail

      • AbstractCursorHandler

        protected AbstractCursorHandler​(java.lang.String cursorName,
                                        int fetchSize)
    • Method Detail

      • setCursorName

        public void setCursorName​(java.lang.String cursorName)
      • getCursorName

        public java.lang.String getCursorName()
      • setFetchSize

        public void setFetchSize​(int fetchSize)
      • getFetchSize

        public int getFetchSize()
      • invoke

        protected java.lang.Object invoke​(java.lang.Object obj,
                                          java.lang.Object proxy,
                                          java.lang.reflect.Method method,
                                          java.lang.Object... args)
                                   throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • newHandler

        protected static <T> T newHandler​(java.lang.reflect.InvocationHandler handler,
                                          java.lang.Class<T> implClass)
                                   throws java.lang.IllegalAccessException,
                                          java.lang.IllegalArgumentException,
                                          java.lang.InstantiationException,
                                          java.lang.reflect.InvocationTargetException,
                                          java.lang.NoSuchMethodException,
                                          java.lang.SecurityException
        Throws:
        java.lang.IllegalAccessException
        java.lang.IllegalArgumentException
        java.lang.InstantiationException
        java.lang.reflect.InvocationTargetException
        java.lang.NoSuchMethodException
        java.lang.SecurityException