/**
* Registers the plugin container with a remote server, if there is one. A no-op if we are not talking to a remote
* server in which we need to be registered.
*/
private void registerWithServer() {
AgentRegistrar registrar = PluginContainer.getInstance().getAgentRegistrar();
if (registrar != null) {
try {
registrar.register(10000L);
// now that we are registered, let's kick off an inventory report
// just to make sure the server has our initial inventory
inventoryThreadPoolExecutor.submit((Runnable) this.serverScanExecutor);
} catch (Exception e) {