Package org.rococoa.internal

Examples of org.rococoa.internal.OCInvocationCallbacks


     * @deprecated because the OC proxy object is never released.
     *  Use {@link Rococoa#proxy} instead.
     */
    @Deprecated
    public static ID wrap(Object javaObject) {
        OCInvocationCallbacks callbacks = new OCInvocationCallbacks(javaObject);
        ID idOfOCProxy = Foundation.newOCProxy(callbacks);
        // idOfOCProxy is owned by us, and we have to release it at some stage
        return new ProxyID(idOfOCProxy, callbacks);
    }
View Full Code Here


     * @deprecated because the OC proxy object is never released.
     *  Use {@link Rococoa#proxy} instead.
     */
    @Deprecated
    public static ID wrap(Object javaObject) {
        OCInvocationCallbacks callbacks = new OCInvocationCallbacks(javaObject);
        ID idOfOCProxy = Foundation.newOCProxy(callbacks);
            // idOfOCProxy is owned by us, and we have to release it at some stage
        return new ProxyID(idOfOCProxy, callbacks);
    }
View Full Code Here

TOP

Related Classes of org.rococoa.internal.OCInvocationCallbacks

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.