Package org.jruby
Class RubyModule.CacheEntryFactory
java.lang.Object
org.jruby.RubyModule.CacheEntryFactory
- Direct Known Subclasses:
RubyModule.WrapperCacheEntryFactory
- Enclosing class:
RubyModule
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasCacheEntryFactory(Class cacheEntryFactoryClass) Test all WrapperCacheEntryFactory instances in the chain for assignability from the given class.abstract CacheEntrynewCacheEntry(String id, DynamicMethod method, RubyModule sourceModule, int token)
-
Constructor Details
-
CacheEntryFactory
protected CacheEntryFactory()
-
-
Method Details
-
newCacheEntry
public abstract CacheEntry newCacheEntry(String id, DynamicMethod method, RubyModule sourceModule, int token) -
hasCacheEntryFactory
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
-