This method of the DispatchProxy Class retrieves the Java interface that is used as the template for IDispatch calls.
public Class getExposedInterface();
Returns the Java interface that is used as the template for IDispatch calls.