Package org.gatein.wci.session

Examples of org.gatein.wci.session.SessionTask


      if (!crossContextLogout)
         return;

      final String sessId = sess.getId();
      ServletContainerFactory.getServletContainer().visit(new SessionTaskVisitor(sessId, new SessionTask()
      {
         @Override
         public boolean executeTask(HttpSession session)
         {
            ClassLoader portalContainerCL = Thread.currentThread().getContextClassLoader();
View Full Code Here


      if (!crossContextLogout)
         return;

      final String sessId = sess.getId();
      ServletContainerFactory.getServletContainer().visit(new SessionTaskVisitor(sessId, new SessionTask()
      {
         @Override
         public boolean executeTask(HttpSession session)
         {
            session.invalidate();
View Full Code Here

      {
         return;
      }

      final String sessId = sess.getId();
      ServletContainerFactory.getServletContainer().visit(new SessionTaskVisitor(sessId, new SessionTask()
      {
         @Override
         public boolean executeTask(HttpSession session)
         {
            session.invalidate();
View Full Code Here

      if (!crossContextLogout)
         return;

      final String sessId = sess.getId();
      ServletContainerFactory.getServletContainer().visit(new SessionTaskVisitor(sessId, new SessionTask()
      {
         @Override
         public boolean executeTask(HttpSession session)
         {
            ClassLoader portalContainerCL = Thread.currentThread().getContextClassLoader();
View Full Code Here

        HttpSession session = req.getSession(false);
        if (session != null) {
            String sessionId = session.getId();

            // Backup attributes in sessions of portal and all portlet applications
            ServletContainerFactory.getServletContainer().visit(new SessionTaskVisitor(sessionId, new SessionTask(){

                @Override
                public boolean executeTask(HttpSession session) {
                    if (log.isTraceEnabled()) {
                        log.trace("Starting with backup attributes for context: " + session.getServletContext().getContextPath());
View Full Code Here

        HttpSession session = req.getSession(false);
        if (session != null) {
            String sessionId = session.getId();

            // Restore attributes in sessions of portal and all portlet applications
            ServletContainerFactory.getServletContainer().visit(new SessionTaskVisitor(sessionId, new SessionTask(){

                @Override
                public boolean executeTask(HttpSession session) {
                    if (log.isTraceEnabled()) {
                        log.trace("Starting with restoring attributes for context: " + session.getServletContext().getContextPath());
View Full Code Here

      {
         return;
      }

      final String sessId = sess.getId();
      ServletContainerFactory.getServletContainer().visit(new SessionTaskVisitor(sessId, new SessionTask()
      {
         @Override
         public boolean executeTask(HttpSession session)
         {
            ClassLoader portalContainerCL = Thread.currentThread().getContextClassLoader();
View Full Code Here

TOP

Related Classes of org.gatein.wci.session.SessionTask

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.