@Named @Singleton public class DefaultProfileInjector extends Object implements ProfileInjector
Modifier and Type | Class and Description |
---|---|
protected static class |
DefaultProfileInjector.ProfileModelMerger
ProfileModelMerger
|
Constructor and Description |
---|
DefaultProfileInjector() |
Modifier and Type | Method and Description |
---|---|
void |
injectProfile(Model model,
Profile profile,
ModelBuildingRequest request,
ModelProblemCollector problems)
Merges values from the specified profile into the given model.
|
public void injectProfile(Model model, Profile profile, ModelBuildingRequest request, ModelProblemCollector problems)
ProfileInjector
injectProfile
in interface ProfileInjector
model
- The model into which to merge the values defined by the profile, must not be null
.profile
- The (read-only) profile whose values should be injected, may be null
.request
- The model building request that holds further settings, must not be null
.problems
- The container used to collect problems that were encountered, must not be null
.Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.