Oracle Fusion Middleware User Messaging Service 11.1.1.7.0 Java API Reference
E14011-05

oracle.ucs.messaging.ws
Class ListenerClient

java.lang.Object
  extended by oracle.ucs.messaging.ws.ListenerClient
All Implemented Interfaces:
Listener

public class ListenerClient
extends java.lang.Object
implements Listener

ListenerClient is used to invoke web service endpoints of the Listener interface. As such it is generally used by the User Messaging Service itself in order to invoke the endpoints that client applications have registered as message or status listeners.

Since:
Monaco

Constructor Summary
ListenerClient(Map<java.lang.String,java.lang.Object> parameters)
          Construct a client capable of invoking an oracle.ucs.messaging.ws.Listener webservice.
 
Method Summary
 void onMessage(Message message, byte[] correlator)
           
 void onStatus(Status status, byte[] correlator)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListenerClient

public ListenerClient(Map<java.lang.String,java.lang.Object> parameters)
Construct a client capable of invoking an oracle.ucs.messaging.ws.Listener webservice. The client is configured via a Map of name-object pairs. Any parameters specified will be passed through to the JAX-WS RequestContext. Thus, any key names specified in the JAX-WS documentation are valid, such as BindingProvider.ENDPOINT_ADDRESS_PROPERTY, BindingProvider.SESSION_MAINTAIN_PROPERTY, etc. Key names from class oracle.ucs.messaging.ws.MessagingConstants and oracle.ucs.messaging.ws.ClientConstants may also be useful.

Parameters:
parameters - A Map of configuration parameters for the client. The values in this map will be passed through to the JAX-WS RequestContext as described above.
Method Detail

onMessage

public void onMessage(Message message,
                      byte[] correlator)
               throws MessagingException
Specified by:
onMessage in interface Listener
Throws:
MessagingException

onStatus

public void onStatus(Status status,
                     byte[] correlator)
              throws MessagingException
Specified by:
onStatus in interface Listener
Throws:
MessagingException

Oracle Fusion Middleware User Messaging Service 11.1.1.7.0 Java API Reference
E14011-05

Copyright © 2009, 2013 Oracle and/or its affiliates. All rights reserved.