Package org.jruby

Class RubyModule.CacheEntryFactory

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

protected abstract static class RubyModule.CacheEntryFactory extends Object
  • Constructor Details

    • CacheEntryFactory

      protected CacheEntryFactory()
  • Method Details

    • newCacheEntry

      public abstract CacheEntry newCacheEntry(String id, DynamicMethod method, RubyModule sourceModule, int token)
    • hasCacheEntryFactory

      public boolean hasCacheEntryFactory(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