|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.model.resolvers.DefaultEntryPointResolverSet
public class DefaultEntryPointResolverSet
Provides the default implementation of an EntryPointResolverSet
It resolves a method to call on the given service when an event is received.
This object maintains a set of Resolvers that will be used in order to resolve
an entrypoint on a service object until one is found or until the set is
exhausted.
| Constructor Summary | |
|---|---|
DefaultEntryPointResolverSet()
|
|
| Method Summary | |
|---|---|
void |
addEntryPointResolver(EntryPointResolver resolver)
Will add a resolver to the list of resolvers to invoke on a compoent. |
Set<EntryPointResolver> |
getEntryPointResolvers()
|
Object |
invoke(Object component,
MuleEventContext context)
Will attempt to invoke the component by looping through all EntryPointResolver instances registered on this set until
a match is found |
boolean |
removeEntryPointResolver(EntryPointResolver resolver)
Removes a resolver from the list |
void |
setEntryPointResolvers(Set<EntryPointResolver> entryPointResolvers)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultEntryPointResolverSet()
| Method Detail |
|---|
public Object invoke(Object component,
MuleEventContext context)
throws Exception
EntryPointResolverSetEntryPointResolver instances registered on this set until
a match is found
invoke in interface EntryPointResolverSetcomponent - the component to invokecontext - the current event context, this is used to figure out which method to call on the component
Exception - if the invocation itself or an EntryPointResolver failspublic Set<EntryPointResolver> getEntryPointResolvers()
public void setEntryPointResolvers(Set<EntryPointResolver> entryPointResolvers)
public void addEntryPointResolver(EntryPointResolver resolver)
EntryPointResolverSet
addEntryPointResolver in interface EntryPointResolverSetresolver - the resolver to addpublic boolean removeEntryPointResolver(EntryPointResolver resolver)
EntryPointResolverSet
removeEntryPointResolver in interface EntryPointResolverSetresolver - the resolver to remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||