Package com.sun.enterprise.deployment.runtime.web

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


     */
    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

            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

TOP

Related Classes of com.sun.enterprise.deployment.runtime.web.SessionProperties

Copyright © 2018 www.massapicom. 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.