Gets the session management methods combo box.

@return the session management methods combo box
321565
protected JComboBox<SessionManagementMethodType> getSessionManagementMethodsComboBox() {
		if (sessionManagementMethodsComboBox == null) {
			Vector<SessionManagementMethodType> methods = new Vector<>(
					extension.getSessionManagementMethodTypes());
			sessionManagementMethodsComboBox = new JComboBox<>(methods);
			sessionManagementMethodsComboBox.setSelectedItem(null);

			// Prepare the listener for the change of selection
			sessionManagementMethodsComboBox.addItemListener(new ItemListener() {

				@Override
				public void itemStateChanged(ItemEvent e) {
					if (e.getStateChange() == ItemEvent.SELECTED) {
						// Prepare the new session management method
						log.debug("Selected new Session Management type: " + e.getItem());
						SessionManagementMethodType type = ((SessionManagementMethodType) e.getItem());

						// If no session management method was previously selected or it's a
						// different class, create it now
						if (selectedMethod == null || !type.isTypeForMethod(selectedMethod)) {
							// Create the new session management method
							selectedMethod = type.createSessionManagementMethod(getContextIndex());
						}

						// Show the status panel and configuration button, if needed
						changeMethodConfigPanel(type);
						if (type.hasOptionsPanel())
							shownConfigPanel.bindMethod(selectedMethod);
					}
				}
			});
		}
		return sessionManagementMethodsComboBox;

	}
599417
public java.util.List<String> getConfigure() {
        if (configure == null) {
            configure = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return configure;
    }
1202757
public java.util.List<OperatingSystemConfigurationManager> getConfigurationManagers() {
        if (configurationManagers == null) {
            configurationManagers = new com.amazonaws.internal.SdkInternalList<OperatingSystemConfigurationManager>();
        }
        return configurationManagers;
    }
889198
public Collection<AnnotatedMethod> getMethods() {
        for (Method method : type.getDeclaredMethods()) {
            // only consider methods which have been explicitly declared in the
            // interface
            if (!method.isSynthetic()) {
                Class<?> returnType = method.getReturnType();
                Type genericReturnType = method.getGenericReturnType();
                Class<?>[] parameterTypes = method.getParameterTypes();
                Type[] genericParameterTypes = method.getGenericParameterTypes();
                if (PropertyMethod.GET.matches(method)) {
                    String name = PropertyMethod.GET.getName(method);
                    getters.put(name, method);
                    addType(type, name, returnType, genericReturnType);
                } else if (PropertyMethod.IS.matches(method)) {
                    String name = PropertyMethod.IS.getName(method);
                    getters.put(name, method);
                    addType(type, name, returnType, genericReturnType);
                } else if (PropertyMethod.SET.matches(method)) {
                    String name = PropertyMethod.SET.getName(method);
                    setters.put(name, method);
                    addType(type, name, parameterTypes[0], genericParameterTypes[0]);
                } else {
                    methods.add(method);
                }
            }
        }
        List<AnnotatedMethod> typeMethods = new ArrayList<>();
        Map<String, GetPropertyMethod> getPropertyMethods = new HashMap<>();
        for (Map.Entry<String, Method> methodEntry : getters.entrySet()) {
            String name = methodEntry.getKey();
            Method getter = methodEntry.getValue();
            Class<?> propertyType = types.get(name);
            Type genericType = genericTypes.get(name);
            GetPropertyMethod getPropertyMethod = new GetPropertyMethod(getter, name, propertyType, genericType);
            typeMethods.add(getPropertyMethod);
            getPropertyMethods.put(name, getPropertyMethod);
        }
        for (Map.Entry<String, Method> methodEntry : setters.entrySet()) {
            String name = methodEntry.getKey();
            Method setter = methodEntry.getValue();
            GetPropertyMethod getPropertyMethod = getPropertyMethods.get(name);
            Class<?> propertyType = types.get(name);
            Type genericType = genericTypes.get(name);
            SetPropertyMethod setPropertyMethod = new SetPropertyMethod(setter, getPropertyMethod, name, propertyType, genericType);
            typeMethods.add(setPropertyMethod);
        }
        for (Method method : methods) {
            typeMethods.add(new UserMethod(method));
        }
        return typeMethods;
    }
925858
public Session getSession() throws ControlException {
        if (_session == null) {
            try {
                switch (getDestinationType()) {
                    case Auto:
                        determineDestination();
                        return getSession();
                    case Topic:
                        createTopicSession();
                        break;
                    case Queue:
                        createQueueSession();
                        break;
                }
            }
            catch (JMSException e) {
                throw new ControlException("Failure to get JMS connection or session", e);
            }
        }
        return _session;
    }
1350723
private JPanel getPanelSession() {
		if (panelContext == null) {
			panelContext = new JPanel();
			panelContext.setLayout(new GridBagLayout());

			if (Model.getSingleton().getOptionsParam().getViewParam().getWmUiHandlingOption() == 0) {
				panelContext.setSize(180, 101);
			}

			panelContext.add(new JLabel(Constant.messages.getString("context.label.name")),
					LayoutHelper.getGBC(0, 0, 1, 1.0D));
			panelContext.add(getTxtName(), LayoutHelper.getGBC(0, 1, 1, 1.0D));
			panelContext.add(getChkInScope(), LayoutHelper.getGBC(0, 2, 2, 1.0D));
			panelContext.add(new JLabel(Constant.messages.getString("context.label.desc")),
					LayoutHelper.getGBC(0, 3, 1, 1.0D));
			panelContext.add(getTxtDescription(), LayoutHelper.getGBC(0, 4, 1, 1.0D, 1.0D));
		}
		return panelContext;
	}
1094553
public java.util.List<MaintenanceWindowExecution> getWindowExecutions() {
        if (windowExecutions == null) {
            windowExecutions = new com.amazonaws.internal.SdkInternalList<MaintenanceWindowExecution>();
        }
        return windowExecutions;
    }
669740
public List<InitMethodType<SessionBeanType<T>>> getAllInitMethod()
   {
      List<InitMethodType<SessionBeanType<T>>> list = new ArrayList<InitMethodType<SessionBeanType<T>>>();
      List<Node> nodeList = childNode.get("init-method");
      for(Node node: nodeList)
      {
         InitMethodType<SessionBeanType<T>>  type = new InitMethodTypeImpl<SessionBeanType<T>>(this, "init-method", childNode, node);
         list.add(type);
      }
      return list;
   }
1271645
public List<?> getOptions() {
		if (getLookupTable() == null) {
			SelectionModel model = getComponentModel();
			return model.getOptions();
		} else {
			return APPLICATION_LOOKUP_TABLE.getTable(getLookupTable());
		}
	}
1114291
public List<Long> getTimedOutSessions() {
    List<Long> ret = new ArrayList<>();
    synchronized (mSessions) {
      for (Entry<Long, SessionInfo> entry : mSessions.entrySet()) {
        if (entry.getValue().timeout()) {
          ret.add(entry.getKey());
        }
      }
    }
    return ret;
  }
620533
public List<ActionBinding> getActionBindings() {
		List<ActionBinding> actionBindings = new ArrayList<>();
		for (SimonConsolePlugin plugin : plugins) {
			actionBindings.addAll(plugin.getActionBindings());
		}
		return Collections.unmodifiableList(actionBindings);
	}
622958
public List<SessionConfigType<WebFragmentDescriptor>> getAllSessionConfig()
   {
      List<SessionConfigType<WebFragmentDescriptor>> list = new ArrayList<SessionConfigType<WebFragmentDescriptor>>();
      List<Node> nodeList = model.get("session-config");
      for(Node node: nodeList)
      {
         SessionConfigType<WebFragmentDescriptor>  type = new SessionConfigTypeImpl<WebFragmentDescriptor>(this, "session-config", model, node);
         list.add(type);
      }
      return list;
   }
100832
@Override
    public int getSessionMode() throws JMSRuntimeException {

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(this, tc, "getSessionMode");

        int sessionMode = -1;
        try {
            sessionMode = jmsSession.getAcknowledgeMode();
        } catch (JMSException jmse) {
            throw (JMSRuntimeException) JmsErrorUtils.getJMS2Exception(jmse, JMSRuntimeException.class);
        } finally {
            if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
                SibTr.exit(this, tc, "getSessionMode", new Object[] { sessionMode });
        }

        return sessionMode;
    }
433741
public function getTab()
	{
		if (headers_sent() && !session_id()) {
			return;
		}

		ob_start();
		$count = $this->count;
		$queries = $this->queries;
		require __DIR__ . '/templates/ConnectionPanel.tab.phtml';
		return ob_get_clean();
	}
1273154
public java.util.List<String> getSolutionStacks() {
        if (solutionStacks == null) {
            solutionStacks = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return solutionStacks;
    }
522922
public String getMethodList() {
        List<String> methodList = new ArrayList<String>();
        for (HttpMethod method : m_methods) {
            methodList.add(method.name());
        }
        return Utils.concatenate(methodList, ",");
    }
1107822
public java.util.List<RetentionConfiguration> getRetentionConfigurations() {
        if (retentionConfigurations == null) {
            retentionConfigurations = new com.amazonaws.internal.SdkInternalList<RetentionConfiguration>();
        }
        return retentionConfigurations;
    }