public JmxServerBuilder environmentProperties ( Properties environmentProperties ) { HashMap < String , Object > properties = new HashMap <> ( environmentProperties . size ( ) ) ; for ( Map . Entry < Object , Object > entry : environmentProperties . entrySet ( ) ) { properties . put ( entry . getKey ( ) . toString ( ) , entry . getValue ( ) ) ; } endpoint . getEndpointConfiguration ( ) . setEnvironmentProperties ( properties ) ; return this ; }
Sets the environment properties .