Class ImplementationLazy
java.lang.Object
org.apache.jena.enhanced.Implementation
org.aksw.jenax.arq.util.implementation.ImplementationDelegate
org.aksw.jenax.arq.util.implementation.ImplementationDelegateBase
org.aksw.jenax.arq.util.implementation.ImplementationLazy
Implementation that defers creation of a delegate to the first
access to its methods. This can greatly increase application
startup times when the initialization of the actual implementation
performs reflection and byte code fiddling using cglib (weaving).
- Author:
- raven
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Supplier<org.apache.jena.enhanced.Implementation>protected Class<?>Fields inherited from class org.aksw.jenax.arq.util.implementation.ImplementationDelegateBase
delegate -
Constructor Summary
ConstructorsConstructorDescriptionImplementationLazy(Supplier<org.apache.jena.enhanced.Implementation> ctor, Class<?> targetClass) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.jena.enhanced.ImplementationMethods inherited from class org.aksw.jenax.arq.util.implementation.ImplementationDelegate
canWrap, wrap
-
Field Details
-
ctor
-
targetClass
-
-
Constructor Details
-
Method Details
-
getDelegate
protected org.apache.jena.enhanced.Implementation getDelegate()- Overrides:
getDelegatein classImplementationDelegateBase
-