| java.lang.Object com.rift.coad.daemon.messageservice.rpc.RPCMessageHandler
RPCMessageHandler | public class RPCMessageHandler implements InvocationHandler(Code) | | This object handles the creation of a RPC message.
author: Brett Chaldecott |
Field Summary | |
protected Logger | log |
Constructor Summary | |
public | RPCMessageHandler(String from, Class targetInterface, String targetURL, boolean reply) | public | RPCMessageHandler(String from, Class targetInterface, List services, boolean broadcast, boolean reply) | public | RPCMessageHandler(String from, Class targetInterface, String targetURL, String correlationId) | public | RPCMessageHandler(String from, Class targetInterface, List services, boolean broadcast, String correlationId) | public | RPCMessageHandler(InitialContext context, String jndiURL, String from, Class targetInterface, String targetURL) | public | RPCMessageHandler(InitialContext context, String jndiURL, String from, Class targetInterface, List services, boolean broadcast) |
RPCMessageHandler | public RPCMessageHandler(String from, Class targetInterface, String targetURL, boolean reply) throws RPCMessageClientException(Code) | | Creates a new instance of RPCMessageHandler
Parameters: from - The address the message will come from. Parameters: targetInterface - The interface the message will wrap to. Parameters: targetURL - The target url for the request. Parameters: reply - TRUE if the message should reply, FALSE if it a oneway call. exception: RPCMessageClientException - |
RPCMessageHandler | public RPCMessageHandler(String from, Class targetInterface, List services, boolean broadcast, boolean reply) throws RPCMessageClientException(Code) | | Creates a new instance of RPCMessageHandler
Parameters: from - The address the message will come from. Parameters: targetInterface - The interface the message will wrap to. Parameters: services - The list of services. Parameters: broadcast - True if the messages must be sent all the systems thatsupply the listed services. Parameters: reply - TRUE if the message should reply, FALSE if it a oneway call. exception: RPCMessageClientException - |
RPCMessageHandler | public RPCMessageHandler(String from, Class targetInterface, String targetURL, String correlationId) throws RPCMessageClientException(Code) | | Creates a new instance of RPCMessageHandler
Parameters: from - The address the message will come from. Parameters: targetInterface - The interface the message will wrap to. Parameters: targetURL - The target url for the request. Parameters: correlationId - The correlation id for the message. exception: RPCMessageClientException - |
RPCMessageHandler | public RPCMessageHandler(String from, Class targetInterface, List services, boolean broadcast, String correlationId) throws RPCMessageClientException(Code) | | Creates a new instance of RPCMessageHandler
Parameters: from - The address the message will come from. Parameters: targetInterface - The interface the message will wrap to. Parameters: services - The list of services. Parameters: broadcast - True if the messages must be sent all the systems thatsupply the listed services. Parameters: correlationId - The correlation id for the message. exception: RPCMessageClientException - |
RPCMessageHandler | public RPCMessageHandler(InitialContext context, String jndiURL, String from, Class targetInterface, String targetURL) throws RPCMessageClientException(Code) | | Creates a new instance of RPCMessageHandler
Parameters: context - The context that will be used to retrieve the service. Parameters: jndiURL - The url of the MessageProducer. Parameters: from - The address the message will come from. Parameters: targetInterface - The interface the message will wrap to. Parameters: targetURL - The target url for the request. exception: RPCMessageClientException - |
RPCMessageHandler | public RPCMessageHandler(InitialContext context, String jndiURL, String from, Class targetInterface, List services, boolean broadcast) throws RPCMessageClientException(Code) | | Creates a new instance of RPCMessageHandler
Parameters: context - The context that will be used to retrieve the service. Parameters: jndiURL - The url of the MessageProducer. Parameters: from - The address the message will come from. Parameters: targetInterface - The interface the message will wrap to. Parameters: services - The list of services the message will be sent to. Parameters: broadcast - True if the messages must be sent all the systems thatsupply the listed services. exception: RPCMessageClientException - |
invoke | public Object invoke(Object proxy, Method method, Object[] args) throws Throwable(Code) | | This method is responsible for handling the invocation request.
The results. Parameters: proxy - The proxy that the call is being made on. Parameters: method - The method that the call has been made on. Parameters: args - The arguments passed to that method. exception: Throwable - |
|
|