protected Object newInstance ( Constructor constructor , Object [ ] parameters ) throws InstantiationException , IllegalAccessException , InvocationTargetException { if ( allowNonPublicClasses ) { constructor . setAccessible ( true ) ; } Object o = constructor . newInstance ( parameters ) ; ComponentAdvsior componentAdvsior = ( ComponentAdvsior ) configInfo . getContainerWrapper ( ) . lookup ( ComponentAdvsior . NAME ) ; Object proxy = null ; if ( componentAdvsior != null ) proxy = componentAdvsior . createProxy ( o ) ; if ( ! proxy . getClass ( ) . isInstance ( o ) ) { Map orignals = getContainerOrignals ( configInfo . getContainerWrapper ( ) ) ; orignals . put ( ( String ) this . getComponentKey ( ) , o ) ; } return proxy ; }
overide InstantiatingComponentAdapter s newInstance