org.mule.util
Class Multicaster
java.lang.Object
org.mule.util.Multicaster
public final class Multicaster
- extends java.lang.Object
Multicaster
is a utility that can call a given method on a
collection of objects that implement one or more common interfaces. The create
method returns a proxy that can be cast to any of the the interfaces passed and be
used like a single object.
Method Summary |
static java.lang.Object |
create(java.lang.Class[] interfaces,
java.util.Collection objects)
|
static java.lang.Object |
create(java.lang.Class[] interfaces,
java.util.Collection objects,
Multicaster.InvokeListener listener)
|
static java.lang.Object |
create(java.lang.Class theInterface,
java.util.Collection objects)
|
static java.lang.Object |
create(java.lang.Class theInterface,
java.util.Collection objects,
Multicaster.InvokeListener listener)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
create
public static java.lang.Object create(java.lang.Class theInterface,
java.util.Collection objects)
create
public static java.lang.Object create(java.lang.Class theInterface,
java.util.Collection objects,
Multicaster.InvokeListener listener)
create
public static java.lang.Object create(java.lang.Class[] interfaces,
java.util.Collection objects)
create
public static java.lang.Object create(java.lang.Class[] interfaces,
java.util.Collection objects,
Multicaster.InvokeListener listener)
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.