+
Injecting Mule Managers into Anypoint Connectors
DevKit can inject several Mule managers into your module via the standard injection annotation @Inject
.
For example, to access Mule’s expression manager:
@Inject
private ExpressionManager expressionManager;
Remember:
|
The following is a list of the available objects for injection:
-
MuleContext
-
TransactionManager
-
SeverNotificationManager
-
QueueManager
-
MuleConfiguration
-
LifecycleManager
-
ClassLoader
-
ExpressionManager
-
EndpointFactory
-
MuleClient
-
SystemExceptionHandler
-
SecurityManager
-
ObjectStoreManager
-
WorkManager
-
Registry