ConverterHandlerpublic class ConverterHandler extends AMXProxyHandler Base class for specialize proxy handlers. |
Methods Summary |
---|
protected final java.lang.Object | _invoke(java.lang.Object myProxy, java.lang.reflect.Method method, java.lang.Object[] argsIn)
final Object[] args = convertArgs( myProxy, method, argsIn );
final Object temp = super._invoke( myProxy, method, args );
final Object result = (temp == null) ? null : convertResult( method, temp );
if ( result != temp && temp != null )
{
// System.out.println( "Convert occured from class " + temp.getClass().getName() +
// " to " + result.getClass().getName() );
}
return( result );
| protected java.lang.Object[] | convertArgs(java.lang.Object myProxy, java.lang.reflect.Method method, java.lang.Object[] argsIn)Optionally, transform any arguments. The number of arguments must
not be changed, and the original array must not be modified.
return argsIn; // no change
| protected java.lang.Object | convertResult(java.lang.reflect.Method method, java.lang.Object resultIn)Optionally, transform any result.
return resultIn; // no change
|
|