RMIServerSocketFactory ssf = new RemotingRMIServerSocketFactory(getServerSocketFactory(), BACKLOG_DEFAULT, bindHost, getTimeout());
RMIClientSocketFactory csf = getRMIClientSocketFactory(clientConnectHost);
stub = UnicastRemoteObject.exportObject(this, bindPort, csf, ssf);
log.debug("Binding registry to " + "remoting/RMIServerInvoker/" + bindPort);
registry.rebind("remoting/RMIServerInvoker/" + bindPort, this);
unmarshaller = MarshalFactory.getUnMarshaller(getLocator(), this.getClass().getClassLoader());
marshaller = MarshalFactory.getMarshaller(getLocator(), this.getClass().getClassLoader());
}