Package io.activej.inject.impl
Class AbstractUnsyncCompiledBinding<R>
java.lang.Object
io.activej.inject.impl.AbstractUnsyncCompiledBinding<R>
- All Implemented Interfaces:
CompiledBinding<R>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract RdoCreateInstance(AtomicReferenceArray[] scopedInstances, int synchronizedScope) final RgetInstance(AtomicReferenceArray[] scopedInstances, int synchronizedScope)
-
Field Details
-
scope
protected final int scope -
index
protected final int index
-
-
Constructor Details
-
AbstractUnsyncCompiledBinding
protected AbstractUnsyncCompiledBinding(int scope, int index)
-
-
Method Details
-
getInstance
- Specified by:
getInstancein interfaceCompiledBinding<R>
-
doCreateInstance
protected abstract R doCreateInstance(AtomicReferenceArray[] scopedInstances, int synchronizedScope)
-