|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.apple.mrj.jdirect.MethodClosureUPP
A MethodClosure is a thunk which enables a shared library to call
into Java.
A MethodClosureUPP is a special case of MethodClosure where the
C code is expecting to call a UniversalProcPtr (i.e. 68K code) instead
of a regular function pointer.
MethodClosure
Constructor Summary | |
protected |
MethodClosureUPP(Object targetObject,
String methodName,
String methodSignature,
int procInfo)
Deprecated. Constructs a closure thunk that C code can call to invoke a particular method on a particular object. |
Method Summary | |
void |
dispose()
Deprecated. You must maintain a reference to this object and call the dispose method when you want the closure thunk in the app's heap to be freed. |
int |
getProc()
Deprecated. Returns a UniversalProcPtr |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected MethodClosureUPP(Object targetObject, String methodName, String methodSignature, int procInfo)
targetObject
- the object whose method will be called (cannot be this).methodName
- the name of the method to be calledmethodSignature
- the signature (e.g. "(II)V") of the method to be calledMethod Detail |
public void dispose()
public int getProc()
|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.