public String getRemoteClassName ( ) { String strClassName = this . getClass ( ) . getName ( ) . toString ( ) ; int iThinPos = strClassName . indexOf ( Constants . THIN_SUBPACKAGE ) ; return strClassName . substring ( 0 , iThinPos ) + strClassName . substring ( iThinPos + Constants . THIN_SUBPACKAGE . length ( ) ) ; }
Get the remote class name . Just remove thin from this class name! .