public WrapperProxettaFactory setTargetInterface ( final Class targetInterface ) { if ( ! targetInterface . isInterface ( ) ) { throw new ProxettaException ( "Not an interface: " + targetInterface . getName ( ) ) ; } this . targetInterface = targetInterface ; return this ; }
Defines the interface of the resulting class .