Package org.apache.webbeans.spi

Examples of org.apache.webbeans.spi.ContextsService.endContext()


    }

    public void destroySingletonContext(Object parameter)
    {
        ContextsService contextService = getContextsService();
        contextService.endContext(Singleton.class, parameter);
    }

    public void initConversationContext(Object context)
    {
        try
View Full Code Here


    }

    public void destroyConversationContext()
    {
        ContextsService contextService = getContextsService();
        contextService.endContext(ConversationScoped.class, null);
    }

    /**
     * Gets the standard context with given scope type.
     *
 
View Full Code Here

    public void beforeUndeployment(@Observes BeforeUnDeploy event)
    {
        ContextsService service = lifecycle.get().getContextService();

        //service.startContext(ApplicationScoped.class, null);
        service.endContext(ApplicationScoped.class, null);
    }

    public void beforeMethod(@Observes Before event)
    {
        ContextsService service = lifecycle.get().getContextService();
View Full Code Here

            return;
        }

        ContextsService service = lc.getContextService();

        service.endContext(ConversationScoped.class, null);
        service.endContext(SessionScoped.class, null);
        service.endContext(RequestScoped.class, null);
    }

View Full Code Here

        }

        ContextsService service = lc.getContextService();

        service.endContext(ConversationScoped.class, null);
        service.endContext(SessionScoped.class, null);
        service.endContext(RequestScoped.class, null);
    }


}
View Full Code Here

        ContextsService service = lc.getContextService();

        service.endContext(ConversationScoped.class, null);
        service.endContext(SessionScoped.class, null);
        service.endContext(RequestScoped.class, null);
    }


}
View Full Code Here

   public void destroyRequest(@Observes After event)
   {
      ContextsService service = this.lifecycle.get().getContextService();

      service.endContext(ConversationScoped.class, null);
      service.endContext(RequestScoped.class, null);
   }

   public void destroySession(@Observes BeforeUnDeploy event)
   {
      ContextsService service = this.lifecycle.get().getContextService();
View Full Code Here

   public void destroySession(@Observes BeforeUnDeploy event)
   {
      ContextsService service = this.lifecycle.get().getContextService();

      //service.endContext(ApplicationScoped.class, null);
      service.endContext(SessionScoped.class, null);
   }
  
}
View Full Code Here

  
   public void destroyRequest(@Observes After event)
   {
      ContextsService service = this.lifecycle.get().getContextService();

      service.endContext(ConversationScoped.class, null);
      service.endContext(RequestScoped.class, null);
   }

   public void destroySession(@Observes BeforeUnDeploy event)
   {
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.