1 4 package com.tcspring; 5 6 import org.springframework.beans.factory.config.Scope; 7 import org.springframework.beans.factory.support.AbstractBeanFactory; 8 9 10 15 public class ScopeContextMixin implements ScopeContext { 16 private Object beanId; 17 private Scope scope; 18 private AbstractBeanFactory beanFactory; 19 20 public Object getBeanId() { 21 return beanId; 22 } 23 24 public void setBeanId(Object beanId) { 25 this.beanId = beanId; 26 } 27 28 public void setScope(Scope scope) { 29 this.scope = scope; 30 } 31 32 public Scope getScope() { 33 return scope; 34 } 35 36 public AbstractBeanFactory getBeanFactory() { 37 return beanFactory; 38 } 39 40 public void setBeanFactory(AbstractBeanFactory beanFactory) { 41 this.beanFactory = beanFactory; 42 } 43 44 } 45 46 | Popular Tags |