session scope bindings

@return
197514
public ObservableMap<String, Property<?>> getBindings() {
    if (bindings == null) {
      bindings = FXCollections.observableHashMap();
    }
    return bindings;
  }
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;
   }
124608
public Session getOpenSession() {
        Session openSession = getSession();
        if (openSession != null && openSession.isOpened()) {
            return openSession;
        }
        return null;
    }
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;
   }
885121
public function getScopes(SessionEntity $session)
    {
        // TODO: Check this before pushing
        $result = $this->getConnection()->table('oauth_session_scopes')
                  ->select('oauth_scopes.*')
                  ->join('oauth_scopes', 'oauth_session_scopes.scope_id', '=', 'oauth_scopes.id')
                  ->where('oauth_session_scopes.session_id', $session->getId())
                  ->get();

        $scopes = [];

        foreach ($result as $scope) {
            $scopes[] = (new ScopeEntity($this->getServer()))->hydrate([
                'id' => $scope->id,
                'description' => $scope->description,
            ]);
        }

        return $scopes;
    }
284985
public static function scopes()
    {
        return collect(static::$scopes)->map(function ($description, $id) {
            return new Scope($id, $description);
        })->values();
    }
859038
public static void setSessionPassivationAllowed (final boolean bSessionPassivationAllowed)
  {
    s_aSessionPassivationAllowed.set (bSessionPassivationAllowed);
    if (LOGGER.isInfoEnabled ())
      LOGGER.info ("Session passivation is now " + (bSessionPassivationAllowed ? "enabled" : "disabled"));

    // For passivation to work, the session scopes may not be invalidated at the
    // end of the global scope!
    final ScopeSessionManager aSSM = ScopeSessionManager.getInstance ();
    aSSM.setDestroyAllSessionsOnScopeEnd (!bSessionPassivationAllowed);
    aSSM.setEndAllSessionsOnScopeEnd (!bSessionPassivationAllowed);

    // Ensure that all session web scopes have the activator set or removed
    for (final ISessionWebScope aSessionWebScope : WebScopeSessionManager.getAllSessionWebScopes ())
    {
      final HttpSession aHttpSession = aSessionWebScope.getSession ();
      if (bSessionPassivationAllowed)
      {
        // Ensure the activator is present
        if (aHttpSession.getAttribute (SESSION_ATTR_SESSION_SCOPE_ACTIVATOR) == null)
          aHttpSession.setAttribute (SESSION_ATTR_SESSION_SCOPE_ACTIVATOR,
                                     new SessionWebScopeActivator (aSessionWebScope));
      }
      else
      {
        // Ensure the activator is not present
        aHttpSession.removeAttribute (SESSION_ATTR_SESSION_SCOPE_ACTIVATOR);
      }
    }
  }
190539
public void setScope(String scope) {
        if (scope.equalsIgnoreCase("page")) {
            this.scope = PageContext.PAGE_SCOPE;
        } else if (scope.equalsIgnoreCase("request")) {
            this.scope = PageContext.REQUEST_SCOPE;
        } else if (scope.equalsIgnoreCase("session")) {
            this.scope = PageContext.SESSION_SCOPE;
        } else if (scope.equalsIgnoreCase("application")) {
            this.scope = PageContext.APPLICATION_SCOPE;
        }
        // TODO: Add error handling?  Needs direction from spec.
    }
887229
public SessionEntities getSessions() {
		SessionEntities sessionEntities = restClient.get("sessions", SessionEntities.class,
				new HashMap<String, String>());
		return sessionEntities;
	}
1103145
public java.util.List<Session> getSessions() {
        if (sessions == null) {
            sessions = new com.amazonaws.internal.SdkInternalList<Session>();
        }
        return sessions;
    }
206208
private Session getJSessionScope(PageContext pc, RefBoolean isNew) throws PageException {
	HttpSession httpSession = pc.getSession();
	ApplicationContext appContext = pc.getApplicationContext();
	Object session = null;// this is from type object, because it is possible that httpSession return object from
	// prior restart

	int s = (int) appContext.getSessionTimeout().getSeconds();
	if (maxSessionTimeout < s) maxSessionTimeout = s;

	if (httpSession != null) {
	    httpSession.setMaxInactiveInterval(maxSessionTimeout + 60);
	    session = httpSession.getAttribute(appContext.getName());
	}
	else {
	    Map<String, Scope> context = getSubMap(cfSessionContexts, appContext.getName());
	    session = context.get(pc.getCFID());
	}

	JSession jSession = null;
	if (session instanceof JSession) {
	    jSession = (JSession) session;
	    try {
		if (jSession.isExpired()) {
		    jSession.touch();
		}
		info(getLog(), "use existing JSession for " + appContext.getName() + "/" + pc.getCFID());

	    }
	    catch (ClassCastException cce) {
		error(getLog(), cce);
		// if there is no HTTPSession
		if (httpSession == null) return getCFSessionScope(pc, isNew);

		jSession = new JSession();
		httpSession.setAttribute(appContext.getName(), jSession);
		isNew.setValue(true);
	    }
	}
	else {
	    // if there is no HTTPSession
	    if (httpSession == null) return getCFSessionScope(pc, isNew);

	    info(getLog(), "create new JSession for " + appContext.getName() + "/" + pc.getCFID());
	    jSession = new JSession();
	    httpSession.setAttribute(appContext.getName(), jSession);
	    isNew.setValue(true);
	    Map<String, Scope> context = getSubMap(cfSessionContexts, appContext.getName());
	    context.put(pc.getCFID(), jSession);
	}
	jSession.touchBeforeRequest(pc);
	return jSession;
    }
857136
public synchronized static Session getSession() {
        if(session == null){
            Properties properties = IOUtil.loadProperties("jdbc.properties");
            session = getSession(properties);
        }

        return session;
    }
122571
protected static Map<String, Object> getSessionAttributes(){
        //TODO: cache session attributes map since this method can be called multiple times during a request.

        HttpSession session = RequestContext.getHttpRequest().getSession(true);
        Enumeration names = session.getAttributeNames();
        Map<String, Object> values = new HashMap<>();
        while (names.hasMoreElements()) {
            Object name = names.nextElement();
            values.put(name.toString(), session.getAttribute(name.toString()));
        }
        return values;
    }
1330924
public List<String> getScopes(final int scopeIndex) {
    this.checkInitialized();
    return this.scopes.getOrDefault(Integer.valueOf(scopeIndex), SemanticHighlightingRegistry.UNKNOWN_SCOPES);
  }
696439
public java.util.List<com.google.iam.v1.BindingDelta> getBindingDeltasList() {
    return bindingDeltas_;
  }
847405
@Override
    public NGScope scope() {
        NGScope scope = NGScope.create();
        scope.put(getName(), "=");
        return scope;
    }
877118
public Operations getOperationsForScope(OperationScope... scopes) {
        final Operations result = new Operations();
        final List<Operation> r = new ArrayList<Operation>();
        if (getOperations() != null) {
            for (Operation op : getOperations()) {
                if (op.getScope() != null) {
                    String s = op.getScope().trim();
                    for (int i = 0; i < scopes.length; i++) {
                        OperationScope scope = scopes[i];
                        if (scope.is(s)) {
                            r.add(op);
                            break;
                        }
                    }
                }
            }
            result.setOperations(r);
        }
        return result;
    }