T - class of the implementation builder
since 4.1public class ContainerInjectorBuilder<T extends ContainerInjectorBuilder> extends Object
| Constructor and Description |
|---|
ContainerInjectorBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Injector |
build()
Creates the injector for the container
|
protected T |
getThis() |
protected void |
registerObject(String key,
Object value)
Registers an object to make it available as a candidate to be injected
|
T |
withArtifactClassLoaderManager(org.mule.runtime.module.artifact.api.classloader.ArtifactClassLoaderManager artifactClassLoaderManager) |
T |
withCoreExtensions(List<org.mule.runtime.container.api.MuleCoreExtension> coreExtensions) |
T |
withDeploymentService(DeploymentService deploymentService) |
T |
withEventContextService(EventContextService eventContextService) |
T |
withRepositoryService(RepositoryService repositoryService) |
T |
withServiceRepository(org.mule.runtime.api.service.ServiceRepository serviceRepository) |
T |
withToolingService(ToolingService toolingService) |
public T withDeploymentService(DeploymentService deploymentService)
deploymentService - deployment service used on the containerpublic T withServiceRepository(org.mule.runtime.api.service.ServiceRepository serviceRepository)
serviceRepository - service repository used on the containerpublic T withRepositoryService(RepositoryService repositoryService)
repositoryService - respository service used on the containerpublic T withCoreExtensions(List<org.mule.runtime.container.api.MuleCoreExtension> coreExtensions)
coreExtensions - core extensions available on the containerpublic T withToolingService(ToolingService toolingService)
toolingService - tooling service used on the containerpublic T withArtifactClassLoaderManager(org.mule.runtime.module.artifact.api.classloader.ArtifactClassLoaderManager artifactClassLoaderManager)
artifactClassLoaderManager - tracks all the artifact classloaders created on the containerpublic T withEventContextService(EventContextService eventContextService)
public Injector build()
protected final void registerObject(String key, Object value)
key - name of the object to be registeredvalue - object to registerprotected T getThis()
Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.