php.java.bridge
Class MethodCache

java.lang.Object
  extended by php.java.bridge.MethodCache

public class MethodCache
extends java.lang.Object

Cache [(object, method, parameters) -> Method] mappings. No synchronization, so use this class per thread or per request only.


Nested Class Summary
static class MethodCache.Entry
           
 
Constructor Summary
MethodCache()
           
 
Method Summary
 java.lang.reflect.Method get(MethodCache.Entry entry)
           
 MethodCache.Entry getEntry(java.lang.String name, java.lang.Class clazz, java.lang.Object[] args)
           
 void put(MethodCache.Entry entry, java.lang.reflect.Method method)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodCache

public MethodCache()
Method Detail

get

public java.lang.reflect.Method get(MethodCache.Entry entry)

put

public void put(MethodCache.Entry entry,
                java.lang.reflect.Method method)

getEntry

public MethodCache.Entry getEntry(java.lang.String name,
                                  java.lang.Class clazz,
                                  java.lang.Object[] args)