public class SpringRegistryBootstrap extends AbstractRegistryBootstrap implements org.mule.runtime.api.lifecycle.Initialisable
artifactType, logger, muleContext, OBJECT_KEY, SINGLE_TX, TRANSFORMER_KEY| Constructor and Description |
|---|
SpringRegistryBootstrap(ArtifactType artifactType,
MuleContext muleContext,
OptionalObjectsController optionalObjectsController,
BiConsumer<String,org.springframework.beans.factory.config.BeanDefinition> beanDefinitionRegister) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doRegisterObject(ObjectBootstrapProperty bootstrapProperty) |
protected void |
doRegisterTransformer(TransformerBootstrapProperty bootstrapProperty,
Class<?> returnClass,
Class<? extends Transformer> transformerClass) |
void |
initialise() |
protected void |
registerTransformers() |
public SpringRegistryBootstrap(ArtifactType artifactType, MuleContext muleContext, OptionalObjectsController optionalObjectsController, BiConsumer<String,org.springframework.beans.factory.config.BeanDefinition> beanDefinitionRegister)
artifactType - type of artifact. Bootstrap entries may be associated to an specific type of artifact. If it's not
associated to the related artifact it will be ignored.muleContext - the MuleContext of the artifact.optionalObjectsController - a controller for objects that may be optional. When an object can be optional and mule it's
not able to create it, then it gets ignored.beanDefinitionRegister - a BiConsumer on which the bean definitions are registeredpublic void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableinitialise in class AbstractRegistryBootstraporg.mule.runtime.api.lifecycle.InitialisationExceptionprotected void registerTransformers()
throws org.mule.runtime.api.exception.MuleException
registerTransformers in class AbstractRegistryBootstraporg.mule.runtime.api.exception.MuleExceptionprotected void doRegisterTransformer(TransformerBootstrapProperty bootstrapProperty, Class<?> returnClass, Class<? extends Transformer> transformerClass) throws Exception
doRegisterTransformer in class AbstractRegistryBootstrapExceptionprotected void doRegisterObject(ObjectBootstrapProperty bootstrapProperty) throws Exception
doRegisterObject in class AbstractRegistryBootstrapExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.