setDispatcherTypes
Convenience method to set dispatcher types using the specified elements.
Parameters
first
the first dispatcher type
rest
additional dispatcher types
Sets the dispatcher types that should be used with the registration.
Parameters
dispatcherTypes
the dispatcher types