public ScopeController getScopeController() { return controllerPlugin.getInjectionContext().getScopeController(); }
public ScopeController getScopeController() { return controllerPlugin.getInjectionContext().getScopeController(); }
protected final void beginScoping() throws Exception { if (scopingContext != null) { throw failure("Already scoping"); } mgr.getScopeController().begin(scopingContext = new ScopingContextImpl()); }
protected final void beginScoping() throws Exception { if (scopingContext != null) { throw failure("Already scoping"); } mgr.getScopeController().begin(scopingContext = new ScopingContextImpl()); }
protected final void endScoping() throws Exception { if (scopingContext == null) { throw failure("Not scoping"); } mgr.getScopeController().end(); for (Scoped scoped : scopingContext.getEntries().values()) { scoped.destroy(); } scopingContext = null; }
protected final void endScoping() throws Exception { if (scopingContext == null) { throw failure("Not scoping"); } mgr.getScopeController().end(); for (Scoped scoped : scopingContext.getEntries().values()) { scoped.destroy(); } scopingContext = null; }