ServiceInstanceListener Constructors

定义

重载

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)
参数
createCommunicationListener
Function<StatelessServiceContext, CommunicationListener>

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

Creates the ServiceInstanceListener

public ServiceInstanceListener(Function<StatelessServiceContext, CommunicationListener> createCommunicationListener, String name)
参数
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

适用于