org.bridj.objc
Class ObjCProxy

java.lang.Object
  extended by org.bridj.NativeObject
      extended by org.bridj.objc.ObjCObject
          extended by org.bridj.objc.ObjCProxy
All Implemented Interfaces:
NativeObjectInterface

public class ObjCProxy
extends ObjCObject


Field Summary
 
Fields inherited from class org.bridj.NativeObject
peer, typeInfo
 
Constructor Summary
protected ObjCProxy()
           
  ObjCProxy(Object invocationTarget)
           
 
Method Summary
 void addProtocol(String name)
           
 void forwardInvocation(Pointer<NSInvocation> pInvocation)
           
 Object getInvocationTarget()
           
 Pair<NSMethodSignature,Method> getMethodAndSignature(SEL sel)
           
 Pointer<NSMethodSignature> methodSignatureForSelector(SEL sel)
           
 
Methods inherited from class org.bridj.objc.ObjCObject
description, equals, hash, hashCode, init, isEqual, isKindOf, isKindOfClassNamed, isMemberOf, isMemberOfClassNamed, methodFor, perform, perform$with, perform$with$with, respondsTo, stringValue, toString
 
Methods inherited from class org.bridj.NativeObject
clone
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjCProxy

protected ObjCProxy()

ObjCProxy

public ObjCProxy(Object invocationTarget)
Method Detail

addProtocol

public void addProtocol(String name)
                 throws ClassNotFoundException
Throws:
ClassNotFoundException

getInvocationTarget

public Object getInvocationTarget()

methodSignatureForSelector

public Pointer<NSMethodSignature> methodSignatureForSelector(SEL sel)

getMethodAndSignature

public Pair<NSMethodSignature,Method> getMethodAndSignature(SEL sel)

forwardInvocation

public void forwardInvocation(Pointer<NSInvocation> pInvocation)


Copyright © 2009-2012. All Rights Reserved.