final void init ( WSJdbcObject parent ) { if ( parent != null ) { parentWrapper = parent ; dsConfig = parent . dsConfig ; freeResourcesOnClose = parent . freeResourcesOnClose ; } if ( freeResourcesOnClose ) // then initialize data structures to track them { arrays = new LinkedList < Array > ( ) ; blobs = new LinkedList < Blob > ( ) ; clobs = new LinkedList < Clob > ( ) ; resources = new LinkedList < Closeable > ( ) ; xmls = new LinkedList < SQLXML > ( ) ; } }
Initialize the parent wrapper field and copy some fields from the parent wrapper .