ContentServerService contentServerService = factory.getRemotePojo(ContentServerService.class);
EventServerService eventServerService = factory.getRemotePojo(EventServerService.class);
BundleServerService bundleServerService = factory.getRemotePojo(BundleServerService.class);
DriftServerService driftServerService = factory.getRemotePojo(DriftServerService.class);
ServerServices serverServices = new ServerServices();
serverServices.setCoreServerService(coreServerService);
serverServices.setDiscoveryServerService(discoveryServerService);
serverServices.setMeasurementServerService(measurementServerService);
serverServices.setOperationServerService(operationServerService);
serverServices.setConfigurationServerService(configurationServerService);
serverServices.setResourceFactoryServerService(resourceFactoryServerSerfice);
serverServices.setContentServerService(contentServerService);
serverServices.setEventServerService(eventServerService);
serverServices.setBundleServerService(bundleServerService);
serverServices.setDriftServerService(driftServerService);
pc_config.setServerServices(serverServices);
} catch (Exception e) {
LOG.error(e, AgentI18NResourceKeys.FAILED_TO_CREATE_PLUGIN_CONTAINER_SERVER_SERVICES, e);
return false;