* @return <code>true</code> if the method is defined; otherwise <code>false</code>.
*/
private boolean isMethodDefinedBySource(String methodName)
{
RemotingDestination remotingDestination = (RemotingDestination)getDestination();
FactoryInstance factoryInstance = remotingDestination.getFactoryInstance();
Class c = factoryInstance.getInstanceClass();
if (c == null)
return true; // No source class; ignore validation and generate an error at runtime.
Method[] methods = c.getMethods();
int n = methods.length;
for (int i = 0; i < n; i++)