php.java.bridge
Class ConstructorCache

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

public class ConstructorCache
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 ConstructorCache.Entry
           
 
Constructor Summary
ConstructorCache()
           
 
Method Summary
 java.lang.reflect.Constructor get(ConstructorCache.Entry entry)
           
 ConstructorCache.Entry getEntry(java.lang.String name, java.lang.Object[] args)
           
 void put(ConstructorCache.Entry entry, java.lang.reflect.Constructor method)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstructorCache

public ConstructorCache()
Method Detail

get

public java.lang.reflect.Constructor get(ConstructorCache.Entry entry)

put

public void put(ConstructorCache.Entry entry,
                java.lang.reflect.Constructor method)

getEntry

public ConstructorCache.Entry getEntry(java.lang.String name,
                                       java.lang.Object[] args)