Package org.glassfish.web.deployment.descriptor

Examples of org.glassfish.web.deployment.descriptor.SessionConfigDescriptor


    public void accept(WebBundleDescriptor descriptor) {
        bundleDescriptor = descriptor;
        application = descriptor.getApplication();

        if (descriptor.getSessionConfig() == null) {
            descriptor.setSessionConfig(new SessionConfigDescriptor());
        }
        if (descriptor.isDistributable() == null) {
            descriptor.setDistributable(Boolean.FALSE);
        }
    }
View Full Code Here


    * @return the descriptor instance to associate with this XMLNode
    */
   @Override
    public SessionConfigDescriptor getDescriptor() {
        if (descriptor == null) {
            descriptor = new SessionConfigDescriptor();
        }
        return descriptor;
    }
View Full Code Here

TOP

Related Classes of org.glassfish.web.deployment.descriptor.SessionConfigDescriptor

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.