Examples of SessionProperties


Examples of com.sun.enterprise.config.serverbeans.SessionProperties

     * Initializes the instance-level session properties (read from
     * config.web-container.session-config.session-properties in domain.xml).
     */
    private void initInstanceSessionProperties() {

        SessionProperties spBean =
                serverConfigLookup.getInstanceSessionProperties();

        if (spBean == null || spBean.getProperty() == null) {
            return;
        }

        List<Property> props = spBean.getProperty();
        if (props == null) {
            return;
        }

        for (Property prop : props) {
View Full Code Here

Examples of com.sun.enterprise.config.serverbeans.SessionProperties

     * Initializes the instance-level session properties (read from
     * config.web-container.session-config.session-properties in domain.xml).
     */
    private void initInstanceSessionProperties() {

        SessionProperties spBean =
                serverConfigLookup.getInstanceSessionProperties();

        if (spBean == null || spBean.getProperty() == null) {
            return;
        }

        List<Property> props = spBean.getProperty();
        if (props == null) {
            return;
        }

        for (Property prop : props) {
View Full Code Here

Examples of com.sun.enterprise.config.serverbeans.SessionProperties

                    }
                }                                                    
            }                    
        }
     
        SessionProperties spBean =
            serverConfigLookup.getInstanceSessionProperties();
        if (spBean != null) {
            // session timeout-in-seconds
            String timeoutSecondsString = spBean.getTimeoutInSeconds();
            if (timeoutSecondsString != null) {
                try {
                    sessionMaxInactiveInterval = Integer.parseInt(timeoutSecondsString);
                    if (_logger.isLoggable(Level.FINEST)) {
                        _logger.finest("sessionMaxInactiveInterval set = " +
View Full Code Here

Examples of com.sun.enterprise.config.serverbeans.SessionProperties

     * Initializes the instance-level session properties (read from
     * config.web-container.session-config.session-properties in domain.xml).
     */
    private void initInstanceSessionProperties() {

        SessionProperties spBean =
                serverConfigLookup.getInstanceSessionProperties();

        if (spBean == null || spBean.getProperty() == null) {
            return;
        }

        List<Property> props = spBean.getProperty();
        if (props == null) {
            return;
        }

        for (Property prop : props) {
View Full Code Here

Examples of com.sun.enterprise.config.serverbeans.SessionProperties

                    }
                }                                                    
            }                    
        }
     
        SessionProperties spBean =
            serverConfigLookup.getInstanceSessionProperties();
        if (spBean != null) {
            // session timeout-in-seconds
            String timeoutSecondsString = spBean.getTimeoutInSeconds();
            if (timeoutSecondsString != null) {
                try {
                    sessionMaxInactiveInterval = Integer.parseInt(timeoutSecondsString);
                    if (_logger.isLoggable(Level.FINEST)) {
                        _logger.finest("sessionMaxInactiveInterval set = " +
View Full Code Here

Examples of com.sun.enterprise.deployment.runtime.web.SessionProperties

    protected void configureSessionSettings(WebBundleDescriptor wbd,
                                            WebModuleConfig wmInfo) {

        SessionConfig cfg = null;
        SessionManager smBean = null;
        SessionProperties sessionPropsBean = null;
        CookieProperties cookieBean = null;

        if (iasBean != null) {
            cfg = iasBean.getSessionConfig();
            if (cfg != null) {
View Full Code Here

Examples of com.sun.enterprise.deployment.runtime.web.SessionProperties

     */
    public boolean endElement(XMLElement element) {
        if (RuntimeTagNames.SESSION_DESCRIPTOR.equals(element.getQName())) {
            com.sun.enterprise.deployment.runtime.web.SessionConfig runtimeSessionConfig =
                    getRuntimeSessionConfig();
            SessionProperties sessionProperties = runtimeSessionConfig.getSessionProperties();
            if (sessionProperties == null) {
                sessionProperties = new SessionProperties();
                runtimeSessionConfig.setSessionProperties(sessionProperties);
            }
            addWebProperty(sessionProperties, TIMEOUT_SECONDS, Integer.toString(timeoutSecs));
            if (cookieTrackingMode && urlTrackingMode) {
View Full Code Here

Examples of com.sun.enterprise.deployment.runtime.web.SessionProperties

            scNode = appendChild(root, RuntimeTagNames.SESSION_DESCRIPTOR);
        }

        if (runtimeSessionConfig != null) {
            // timeout-secs
            SessionProperties sessionProperties = runtimeSessionConfig.getSessionProperties();
            if (sessionProperties != null && sessionProperties.sizeWebProperty() > 0) {
                for (WebProperty prop : sessionProperties.getWebProperty()) {
                    String name = prop.getAttributeValue(WebProperty.NAME);
                    String value = prop.getAttributeValue(WebProperty.VALUE);
                    if (TIMEOUT_SECONDS.equals(name)) {
                        appendTextChild(scNode, RuntimeTagNames.TIMEOUT_SECS, value);
                        break;
View Full Code Here

Examples of net.sourceforge.squirrel_sql.client.session.properties.SessionProperties

  public synchronized void setSessionProperties(SessionProperties data)
  {
    if (_sessionProps != data)
    {
      final SessionProperties oldValue = _sessionProps;
      _sessionProps = data;
      getPropertyChangeReporter().firePropertyChange(IPropertyNames.SESSION_PROPERTIES,
                        oldValue, _sessionProps);
    }
  }
View Full Code Here

Examples of net.sourceforge.squirrel_sql.client.session.properties.SessionProperties

      try
      {
         final Statement stmt = conn.createStatement();
         try
         {
            final SessionProperties props = session.getProperties();
            if (props.getContentsLimitRows())
            {
               try
               {
                  stmt.setMaxRows(props.getContentsNbrRowsToShow());
               }
               catch (Exception ex)
               {
                  s_log.error("Error on Statement.setMaxRows()", ex);
               }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.