public class BusinessMessageManagerImpl extends Object implements BusinessMessageManager
| 构造器和说明 |
|---|
BusinessMessageManagerImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
doValidate(BusinessMessageTarget businessMessageTarget) |
void |
process(MessageReceiver receiver,
BusinessMessageRequest request)
The request will be processed immediately but the message won't be send out immediately
which is decided by the underlying impl ( in some occasion, the message ending is suspend ,
the sender won't send the message until the message ending is re-active)
|
void |
process(String target,
BusinessMessageRequest request)
The request will be processed immediately but the message won't be send out immediately
which is decided by the underlying impl ( in some occasion, the message ending is suspend ,
the sender won't send the message until the message ending is re-active)
|
void |
register(BusinessMessageRequestHandler handler)
The message request handler
|
void |
register(BusinessMessageResponseHandler handler)
The message is sent in sync or async mode ,
the response handler will be called when required.
|
void |
register(BusinessMessageTargetParser parser)
The message target parser
|
public void register(BusinessMessageResponseHandler handler)
BusinessMessageManagerregister 在接口中 BusinessMessageManagerhandler - the response handlerpublic void register(BusinessMessageTargetParser parser)
BusinessMessageManagerregister 在接口中 BusinessMessageManagerparser - the target parserpublic void register(BusinessMessageRequestHandler handler)
BusinessMessageManagerregister 在接口中 BusinessMessageManagerpublic void process(String target, BusinessMessageRequest request)
BusinessMessageManagerprocess 在接口中 BusinessMessageManagerprotected void doValidate(BusinessMessageTarget businessMessageTarget)
public void process(MessageReceiver receiver, BusinessMessageRequest request)
BusinessMessageManagerprocess 在接口中 BusinessMessageManagerCopyright © 2016. All rights reserved.