Sets the MBean server on which the query is to be performed.
The setting is valid for the thread performing the set.
It is copied to any threads created by that thread at the moment
of their creation.
For historical reasons, this method is not static, but its
behavior does not depend on the instance on which it is
called.
server.set(s);