public JMXServiceURL bindServer(Object server, JMXServiceURL url, Map environment) throws IOException
{
RMIServerImpl rmiServer = (RMIServerImpl)server;
Stub stub = (Stub)PortableRemoteObject.toStub(rmiServer);
stub.connect(getORB(environment));
return super.bindServer(server, url, environment);
}
protected String encodeStub(RMIServerImpl rmiServer, Map environment) throws IOException
{