public ServiceGroupContext(ConfigurationContext parent, AxisServiceGroup axisServiceGroup) { super(parent); this.axisServiceGroup = axisServiceGroup; serviceContextMap = new HashMap<String, ServiceContext>(); // initially set the id to the axisServiceGroup if (axisServiceGroup != null) { setId(axisServiceGroup.getServiceGroupName()); } }
public ServiceGroupContext(ConfigurationContext parent, AxisServiceGroup axisServiceGroup) { super(parent); this.axisServiceGroup = axisServiceGroup; serviceContextMap = new HashMap<String, ServiceContext>(); // initially set the id to the axisServiceGroup if (axisServiceGroup != null) { setId(axisServiceGroup.getServiceGroupName()); } }
public void execute(ConfigurationContext configContext) throws ClusteringFault { ServiceGroupContext sgCtx = configContext.getServiceGroupContext(serviceGroupContextId); // If the ServiceGroupContext is not found, create it if (sgCtx == null) { AxisServiceGroup axisServiceGroup = configContext.getAxisConfiguration().getServiceGroup(serviceGroupName); if(axisServiceGroup == null){ return; } sgCtx = new ServiceGroupContext(configContext, axisServiceGroup); sgCtx.setId(serviceGroupContextId); configContext.addServiceGroupContextIntoSoapSessionTable(sgCtx); // TODO: Check this } if (log.isDebugEnabled()) { log.debug("Gonna update SG prop in " + serviceGroupContextId + "===" + sgCtx); } propertyUpdater.updateProperties(sgCtx); }
public void execute(ConfigurationContext configContext) throws ClusteringFault { ServiceGroupContext sgCtx = configContext.getServiceGroupContext(serviceGroupContextId); // If the ServiceGroupContext is not found, create it if (sgCtx == null) { AxisServiceGroup axisServiceGroup = configContext.getAxisConfiguration().getServiceGroup(serviceGroupName); if(axisServiceGroup == null){ return; } sgCtx = new ServiceGroupContext(configContext, axisServiceGroup); sgCtx.setId(serviceGroupContextId); configContext.addServiceGroupContextIntoSoapSessionTable(sgCtx); // TODO: Check this } if (log.isDebugEnabled()) { log.debug("Gonna update SG prop in " + serviceGroupContextId + "===" + sgCtx); } propertyUpdater.updateProperties(sgCtx); }
private static ServiceContext fillServiceContextAndServiceGroupContext(AxisService axisService, ConfigurationContext configurationContext) throws AxisFault { String serviceGroupContextId = UIDGenerator.generateURNString(); ServiceGroupContext serviceGroupContext = configurationContext.createServiceGroupContext(axisService.getAxisServiceGroup()); serviceGroupContext.setId(serviceGroupContextId); configurationContext.addServiceGroupContextIntoSoapSessionTable(serviceGroupContext); return serviceGroupContext.getServiceContext(axisService); }
private static ServiceContext fillServiceContextAndServiceGroupContext(AxisService axisService, ConfigurationContext configurationContext) throws AxisFault { String serviceGroupContextId = UIDGenerator.generateURNString(); ServiceGroupContext serviceGroupContext = configurationContext.createServiceGroupContext(axisService.getAxisServiceGroup()); serviceGroupContext.setId(serviceGroupContextId); configurationContext.addServiceGroupContextIntoSoapSessionTable(serviceGroupContext); return serviceGroupContext.getServiceContext(axisService); }
sgCtx.setId(serviceGroupContextId); if (scope.equals(Constants.SCOPE_APPLICATION)) { configurationContext.
sgCtx.setId(serviceGroupContextId); if (scope.equals(Constants.SCOPE_APPLICATION)) { configurationContext.
serviceGroupContext.setId(serviceGroupContextId); messageContext.setServiceGroupContextId(serviceGroupContextId); addServiceGroupContextIntoSoapSessionTable(serviceGroupContext);
serviceGroupContext.setId(serviceGroupContextId); messageContext.setServiceGroupContextId(serviceGroupContextId); addServiceGroupContextIntoSoapSessionTable(serviceGroupContext);