protected Class < ? > [ ] getHandlerInterfaces ( final String serviceName ) { if ( remoteInterface != null ) { return new Class < ? > [ ] { remoteInterface } ; } else if ( Proxy . isProxyClass ( handler . getClass ( ) ) ) { return handler . getClass ( ) . getInterfaces ( ) ; } else { return new Class < ? > [ ] { handler . getClass ( ) } ; } }
Returns the handler s class or interfaces . The variable serviceName is ignored in this class .