public class ListenerClient extends Object implements Listener
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.| Modifier and Type | Field and Description |
|---|---|
protected static Set<String> |
nonContextParams |
| Constructor and Description |
|---|
ListenerClient(Map<String,Object> parameters)
Construct a client capable of invoking an
oracle.ucs.messaging.ws.Listener webservice.
|
| Modifier and Type | Method and Description |
|---|---|
protected WebServiceFeature[] |
getFeatures(Map<String,Object> parameters) |
protected void |
initializeCommon(BindingProvider bp,
Map<String,Object> parameters) |
void |
onMessage(Message message,
byte[] correlator) |
void |
onStatus(Status status,
byte[] correlator) |
public ListenerClient(Map<String,Object> 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.protected void initializeCommon(BindingProvider bp, Map<String,Object> parameters)
protected WebServiceFeature[] getFeatures(Map<String,Object> parameters)
public void onMessage(Message message, byte[] correlator) throws MessagingException
onMessage in interface ListenerMessagingExceptionpublic void onStatus(Status status, byte[] correlator) throws MessagingException
onStatus in interface ListenerMessagingExceptionCopyright © 2009,2013 Oracle and/or its affiliates. All rights reserved.