|
Spring Integration | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.integration.selector.PayloadTypeSelector
public class PayloadTypeSelector
A MessageSelector implementation that checks the type of the
Message payload. The payload type must be assignable to at least one
of the selector's accepted types.
| Constructor Summary | |
|---|---|
PayloadTypeSelector(java.lang.Class<?>... types)
Create a selector for the provided types. |
|
| Method Summary | |
|---|---|
boolean |
accept(Message<?> message)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PayloadTypeSelector(java.lang.Class<?>... types)
| Method Detail |
|---|
public boolean accept(Message<?> message)
accept in interface MessageSelector
|
Spring Integration | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||