|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.servicemix.nmr.api.service.ServiceHelper
public final class ServiceHelper
| Method Summary | |
|---|---|
static java.util.Map<java.lang.String,java.lang.Object> |
createMap(java.lang.String... data)
|
static Wire |
createWire(java.util.Map<java.lang.String,?> from,
java.util.Map<java.lang.String,java.lang.Object> to)
Creates a Wire instance |
static boolean |
equals(java.util.Map<java.lang.String,?> first,
java.util.Map<java.lang.String,?> second)
Check if two endpoint propery maps are equal. |
static boolean |
matches(java.util.Map<java.lang.String,?> first,
java.util.Map<java.lang.String,?> second)
Check if two endpoint propery maps match. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.util.Map<java.lang.String,java.lang.Object> createMap(java.lang.String... data)
public static boolean equals(java.util.Map<java.lang.String,?> first,
java.util.Map<java.lang.String,?> second)
null, it will return false.
first - the first endpoint property mapsecond - the second endpoint property map
true if the endpoint maps are equal, false if it
public static boolean matches(java.util.Map<java.lang.String,?> first,
java.util.Map<java.lang.String,?> second)
true if, for every key in the first map, there's a matching key
and value in the second map. If either map is null, it will return false.
Compared to the equals(Map, Map) method, this will allow for the second Map to contain more information than
the first Map and still be considered a match
first - the first endpoint property mapsecond - the second endpoint property map
true if the endpoint maps are equal, false if it
public static Wire createWire(java.util.Map<java.lang.String,?> from,
java.util.Map<java.lang.String,java.lang.Object> to)
Wire instance
to - the target for the wire
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||