static public MBeanServer create(URI target) {
// Setup the client side container..
Interceptor firstInterceptor = new RemoteTransportInterceptor(target);
firstInterceptor = new MarshalingInterceptor(firstInterceptor);
firstInterceptor = new NotificationRemoterInterceptor(firstInterceptor);
ProxyContainer clientContainer = new ProxyContainer(firstInterceptor);
return (MBeanServer) clientContainer.createProxy(
MBeanServer.class.getClassLoader(),