public void remove ( String name ) { EndpointService < L , S > service = endpointServices . remove ( name ) ; if ( service != null ) { service . stop ( ) ; log . infoRemovedEndpointService ( service . toString ( ) ) ; } }
This will stop the given endpoint service and remove it from the list of endpoint services .