@Deprecated public abstract class AbstractMuleGuiceModule extends com.google.inject.AbstractModule
configureMuleContext(org.mule.api.MuleContext)
method
to do any Mule configuration such as register notifications. Most users will not need to override this method so the
AbstractModule
can be used.
Note that Mule objects such as Connectors and Agents can be registered in a Guice module too. To do this create provider methods
on a module and mark with the Provides
annotation.
Its recommended that you put all your Mule configuration objects in a separate Guice module.Modifier and Type | Field and Description |
---|---|
protected MuleContext |
muleContext
Deprecated.
|
Constructor and Description |
---|
AbstractMuleGuiceModule()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
configureMuleContext(MuleContext muleContext)
Deprecated.
|
protected EndpointBuilder |
createEndpointBuilder(String uri)
Deprecated.
Creates an
EndpointBuilder instance for the endpoint uri. |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
protected MuleContext muleContext
public void configureMuleContext(MuleContext muleContext)
protected EndpointBuilder createEndpointBuilder(String uri) throws MuleException
EndpointBuilder
instance for the endpoint uri. The builder can be used to add
further configuration options and then used to create either OutboundEndpoint
or
InboundEndpoint
instances.uri
- the address URI for the endpointMuleException
- if the builder cannot be created for any reasonCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.