public static class TypeResolutionStrategy.Active extends Object implements TypeResolutionStrategy
LoadedTypeInitializer
as a part of class loading using reflection. This implies that the initializers
are executed before (as a first action of) a type initializer is executed.Modifier and Type | Class and Description |
---|---|
protected static class |
TypeResolutionStrategy.Active.Resolved
A resolved version of an active type resolution strategy.
|
TypeResolutionStrategy.Active, TypeResolutionStrategy.Disabled, TypeResolutionStrategy.Lazy, TypeResolutionStrategy.Passive
Constructor and Description |
---|
Active()
Creates a new active type resolution strategy that uses a default nexus accessor.
|
Active(NexusAccessor nexusAccessor)
Creates a new active type resolution strategy that uses the supplied nexus accessor.
|
Modifier and Type | Method and Description |
---|---|
TypeResolutionStrategy.Resolved |
resolve()
Resolves a type resolution strategy for actual application.
|
public Active()
public Active(NexusAccessor nexusAccessor)
nexusAccessor
- The nexus accessor to use.public TypeResolutionStrategy.Resolved resolve()
TypeResolutionStrategy
resolve
in interface TypeResolutionStrategy
Copyright © 2014–2017. All rights reserved.