org.microemu.microedition.io
Class ConnectionInvocationHandler

java.lang.Object
  extended by org.microemu.microedition.io.ConnectionInvocationHandler
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class ConnectionInvocationHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler

Dynamic proxy class for GCF Connections returend to MIDlet Used to debug excetions thrown to MIDlet Makes PrivilegedCalls when rinning in Webstart

Author:
vlads

Constructor Summary
ConnectionInvocationHandler(javax.microedition.io.Connection con, boolean needPrivilegedCalls)
           
 
Method Summary
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionInvocationHandler

public ConnectionInvocationHandler(javax.microedition.io.Connection con,
                                   boolean needPrivilegedCalls)
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.lang.Throwable


Copyright © 2001-2009 MicroEmulator Team. All Rights Reserved.