01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tcspring;
05:
06: import org.springframework.beans.factory.config.Scope;
07: import org.springframework.beans.factory.support.AbstractBeanFactory;
08:
09: /**
10: * Scope context holder
11: *
12: * @author Eugene Kuleshov
13: */
14: public interface ScopeContext {
15:
16: void setBeanId(Object beanId);
17:
18: void setScope(Scope scope);
19:
20: void setBeanFactory(AbstractBeanFactory beanFactory);
21:
22: Object getBeanId();
23:
24: Scope getScope();
25:
26: AbstractBeanFactory getBeanFactory();
27:
28: }
|