|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.inject.AbstractModule org.mule.module.guice.AbstractMuleGuiceModule
public abstract class AbstractMuleGuiceModule
A mule specific Guice module that allows users to override the 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.
Provides
annotation.
Its recommended that you put all your Mule configuration objects in a separate Guice module.
Field Summary | |
---|---|
protected MuleContext |
muleContext
|
Constructor Summary | |
---|---|
AbstractMuleGuiceModule()
|
Method Summary | |
---|---|
void |
configureMuleContext(MuleContext muleContext)
|
protected EndpointBuilder |
createEndpointBuilder(String uri)
Creates an EndpointBuilder instance for the endpoint uri. |
Methods inherited from class com.google.inject.AbstractModule |
---|
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected MuleContext muleContext
Constructor Detail |
---|
public AbstractMuleGuiceModule()
Method Detail |
---|
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 endpoint
MuleException
- if the builder cannot be created for any reason
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |