public interface ResourcesGenerator
ExtensionModel.
Although extensions resolve their functionality mainly on runtime, some configuration resources such as XML schemas, service registration files, spring bundles, or whatever resource the runtime requires need to be generated in compile or run time.
To determine which resources need to be generated, a standard SPI
mechanism will be used to obtain instances of GeneratedResourceFactory.
Those factories will be used to create the resources needed by each extension.
| Modifier and Type | Method and Description |
|---|---|
List<GeneratedResource> |
generateFor(org.mule.runtime.api.meta.model.ExtensionModel extensionModel)
Generates resources for the given
extension by propagating
the given extensionModel through all the discovered
GeneratedResourceFactory instances. |
List<GeneratedResource> generateFor(org.mule.runtime.api.meta.model.ExtensionModel extensionModel)
extension by propagating
the given extensionModel through all the discovered
GeneratedResourceFactory instances.
The generated resources are written to disk and returned for further processing.
extensionModel - a ExtensionModelCopyright © 2017 MuleSoft, Inc.. All rights reserved.