Class DialogScope


  • public class DialogScope
    extends java.lang.Object
    This is a spring scope definition for a dialog scope. The beans of this scope only live during the time a dialog is opened and closed. There can only be one dialog at a time. The handling of the scope bounds is done by DialogAspect which opens and closes the scope based on annotations.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2014 Created on Jan 30, 2014
    • Constructor Summary

      Constructors 
      Constructor Description
      DialogScope()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void closeScope()
      Mark the end of the scope, after the scope is closed, no beans are registered.
      void openScope()
      Mark the beginning of the scope, before the scope is opened no beans are registered.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DialogScope

        public DialogScope()
    • Method Detail

      • openScope

        public void openScope()
        Mark the beginning of the scope, before the scope is opened no beans are registered.
      • closeScope

        public void closeScope()
        Mark the end of the scope, after the scope is closed, no beans are registered.