protected static interface Plugin.Factory.UsingReflection.Instantiator
Modifier and Type | Interface and Description |
---|---|
static class |
Plugin.Factory.UsingReflection.Instantiator.Resolved
An instantiator that is resolved for a given constructor with arguments.
|
static class |
Plugin.Factory.UsingReflection.Instantiator.Unresolved
An instantiator that is not resolved for creating an instance.
|
Modifier and Type | Method and Description |
---|---|
Plugin |
instantiate()
Instantiates the represented plugin.
|
Plugin.Factory.UsingReflection.Instantiator |
replaceBy(Plugin.Factory.UsingReflection.Instantiator.Resolved instantiator)
Returns either this instantiator or the supplied instantiator, depending on the instances' states.
|
Plugin.Factory.UsingReflection.Instantiator replaceBy(Plugin.Factory.UsingReflection.Instantiator.Resolved instantiator)
instantiator
- The alternative instantiator.Plugin instantiate()
Copyright © 2014–2020. All rights reserved.