Package br.gov.frameworkdemoiselle.context

Examples of br.gov.frameworkdemoiselle.context.ConversationContext.deactivate()


      if (viewActivatedHere){
        tempViewContext.deactivate();
      }
     
      if (conversationActivatedHere){
        tempConversationContext.deactivate();
      }
    }

    if (failure != null) {
      throw new DemoiselleException(failure);
View Full Code Here


   
    if (conversationContext.isActive()){
      logger.debug(bundle.getString("management-debug-stoping-custom-context",
          conversationContext.getClass().getCanonicalName(), managedType.getCanonicalName()));
     
      conversationContext.deactivate();
    }
  }

  public void shutdown(Collection<Class<? extends ManagementExtension>> monitoringExtensions) {
    for (Class<? extends ManagementExtension> monitoringExtensionClass : monitoringExtensions) {
View Full Code Here

      if (sessionContext!=null && Boolean.TRUE.equals(startedContextHere.get("session"))){
        sessionContext.deactivate();
      }
     
      if (conversationContext!=null && Boolean.TRUE.equals(startedContextHere.get("conversation"))){
        conversationContext.deactivate();
      }
     
      //Contexto temporário de visão precisa de tratamento especial
      //para evitar conflito com o contexto presente na extensão demoiselle-jsf
      if (viewContext!=null){
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.