oracle.ucs.messaging.ws
Class ListenerClient
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
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
Copyright © 2009, 2013 Oracle and/or its affiliates. All rights reserved.