public interface EntryPointResolver
EntryPointResolver
resolves a method to call on the given
Component when an event is received for the service.
Note that one instance of an entry point will be created for a component. This means the type of the component will always be
of the same type for the life of the instance. Resolvers must be thread safe since multiple requests on the same component can
happen concurrently. The recommended approach is to use atomic values and concurrent collections where needed rather than
synchronizing the invoke method, which could impact performanceModifier and Type | Method and Description |
---|---|
InvocationResult |
invoke(Object component,
MuleEventContext context) |
InvocationResult invoke(Object component, MuleEventContext context) throws Exception
Exception
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.