ServiceInstanceListener Constructors

Definition

Overloads

ServiceInstanceListener(Function<StatelessServiceContext, CommunicationListener> createCommunicationListener)
ServiceInstanceListener(Function<StatelessServiceContext, CommunicationListener> createCommunicationListener, String name)

Creates the ServiceInstanceListener

ServiceInstanceListener(Function<StatelessServiceContext, CommunicationListener> createCommunicationListener)

public ServiceInstanceListener(Function<StatelessServiceContext, CommunicationListener> createCommunicationListener)
Parameters
createCommunicationListener
Function<StatelessServiceContext, CommunicationListener>

ServiceInstanceListener(Function<StatelessServiceContext, CommunicationListener> createCommunicationListener, String name)

Creates the ServiceInstanceListener

public ServiceInstanceListener(Function<StatelessServiceContext, CommunicationListener> createCommunicationListener, String name)
Parameters
createCommunicationListener
Function<StatelessServiceContext, CommunicationListener>

Factory method for creating the communication listener

name
String

Name of the communication listener. This parameter is optional, if the service has only one communication listener