public ServiceEndpointServer getServiceEndpointServer() {

        final ServiceEndpointServer serviceEndpointServer = getEndpointServerBuilder().build();

        if (managedServiceDefinitionList != null) {
            managedServiceDefinitionList.forEach(serviceDef -> {
                if (serviceDef.getAlias() == null) {
                    serviceEndpointServer.addServiceWithQueueCallBackHandlers(serviceDef.getServiceObject(),
                            serviceDef.getQueueCallBackHandlers());
                } else {
                    serviceEndpointServer.addServiceObjectWithQueueCallBackHandlers(serviceDef.getAlias(),
                            serviceDef.getServiceObject(), serviceDef.getQueueCallBackHandlers());
                }
            });
        }
        return serviceEndpointServer;

    }
public ServiceEndpointServer getServiceEndpointServer() {

        final ServiceEndpointServer serviceEndpointServer = getEndpointServerBuilder().build();

        if (managedServiceDefinitionList != null) {
            managedServiceDefinitionList.forEach(serviceDef -> {
                if (serviceDef.getAlias() == null) {
                    serviceEndpointServer.addServiceWithQueueCallBackHandlers(serviceDef.getServiceObject(),
                            serviceDef.getQueueCallBackHandlers());
                } else {
                    serviceEndpointServer.addServiceObjectWithQueueCallBackHandlers(serviceDef.getAlias(),
                            serviceDef.getServiceObject(), serviceDef.getQueueCallBackHandlers());
                }
            });
        }
        return serviceEndpointServer;

    }
public ServiceEndpointServer getServiceEndpointServer ( ) { final ServiceEndpointServer serviceEndpointServer = getEndpointServerBuilder ( ) . build ( ) ; if ( managedServiceDefinitionList != null ) { managedServiceDefinitionList . forEach ( serviceDef -> { if ( serviceDef . getAlias ( ) == null ) { serviceEndpointServer . addServiceWithQueueCallBackHandlers ( serviceDef . getServiceObject ( ) , serviceDef . getQueueCallBackHandlers ( ) ) ; } else { serviceEndpointServer . addServiceObjectWithQueueCallBackHandlers ( serviceDef . getAlias ( ) , serviceDef . getServiceObject ( ) , serviceDef . getQueueCallBackHandlers ( ) ) ; } } ) ; } return serviceEndpointServer ; }
Get the ServiceEndpointServer constructed with all of the service endpionts that
you registered

@return new ServiceEndpointServer.
Get the ServiceEndpointServer constructed with all of the service endpionts that you registered