org.jruby
Class RubyModule.CacheEntryFactory

java.lang.Object
  extended by org.jruby.RubyModule.CacheEntryFactory
Direct Known Subclasses:
RubyModule.WrapperCacheEntryFactory
Enclosing class:
RubyModule

protected abstract static class RubyModule.CacheEntryFactory
extends java.lang.Object


Constructor Summary
protected RubyModule.CacheEntryFactory()
           
 
Method Summary
 boolean hasCacheEntryFactory(java.lang.Class cacheEntryFactoryClass)
          Test all WrapperCacheEntryFactory instances in the chain for assignability from the given class.
abstract  CacheEntry newCacheEntry(DynamicMethod method, int token)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RubyModule.CacheEntryFactory

protected RubyModule.CacheEntryFactory()
Method Detail

newCacheEntry

public abstract CacheEntry newCacheEntry(DynamicMethod method,
                                         int token)

hasCacheEntryFactory

public boolean hasCacheEntryFactory(java.lang.Class cacheEntryFactoryClass)
Test all WrapperCacheEntryFactory instances in the chain for assignability from the given class.

Parameters:
cacheEntryFactoryClass - the class from which to test assignability
Returns:
whether the given class is assignable from any factory in the chain


Copyright © 2002-2009 JRuby Team. All Rights Reserved.