public class SpringConfig
extends org.mule.runtime.api.component.AbstractComponent
implements org.mule.runtime.api.ioc.ConfigurableObjectProvider, org.mule.runtime.api.lifecycle.Disposable, org.mule.runtime.api.meta.NamedObject
ObjectProvider that gives access to object to the mule artifact from an spring
ApplicationContext.| Constructor and Description |
|---|
SpringConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.mule.runtime.api.ioc.ObjectProviderConfiguration configuration) |
boolean |
containsObject(String name) |
void |
dispose() |
org.springframework.context.support.ClassPathXmlApplicationContext |
getApplicationContext() |
String |
getName() |
Optional<Object> |
getObject(String name) |
Optional<Object> |
getObjectByType(Class<?> objectType) |
<T> Map<String,T> |
getObjectsByType(Class<T> type) |
Map<String,String> |
getParameters() |
Optional<Boolean> |
isObjectSingleton(String name) |
void |
setApplicationContext(org.springframework.context.support.ClassPathXmlApplicationContext applicationContext) |
void |
setName(String name) |
void |
setParameters(Map<String,String> parameters) |
getAnnotation, getAnnotations, getLocation, getRootContainerLocation, setAnnotationspublic void configure(org.mule.runtime.api.ioc.ObjectProviderConfiguration configuration)
configure in interface org.mule.runtime.api.ioc.ConfigurableObjectProviderpublic Optional<Object> getObject(String name)
getObject in interface org.mule.runtime.api.ioc.ObjectProviderpublic Optional<Object> getObjectByType(Class<?> objectType)
getObjectByType in interface org.mule.runtime.api.ioc.ObjectProviderpublic Optional<Boolean> isObjectSingleton(String name)
isObjectSingleton in interface org.mule.runtime.api.ioc.ObjectProviderpublic boolean containsObject(String name)
containsObject in interface org.mule.runtime.api.ioc.ObjectProviderpublic <T> Map<String,T> getObjectsByType(Class<T> type)
getObjectsByType in interface org.mule.runtime.api.ioc.ObjectProviderpublic void dispose()
dispose in interface org.mule.runtime.api.lifecycle.Disposablepublic String getName()
getName in interface org.mule.runtime.api.meta.NamedObjectpublic org.springframework.context.support.ClassPathXmlApplicationContext getApplicationContext()
public void setApplicationContext(org.springframework.context.support.ClassPathXmlApplicationContext applicationContext)
public void setName(String name)
Copyright © 2025 MuleSoft, Inc.. All rights reserved.