1 package jfun.yan.spring; 2 3 4 import jfun.yan.Component; 5 import jfun.yan.xml.SingletonMode; 6 7 import org.springframework.beans.factory.DisposableBean; 8 import org.springframework.context.ApplicationContext; 9 10 16 public interface SpringContext { 17 20 String getTagName(); 21 22 25 String getId(); 26 29 ApplicationContext getApplicationContext(); 30 31 35 void manageDisposableBean(DisposableBean db); 36 37 42 void addBeanPostProcessor(String key, Component bpp); 43 44 51 Object convert(Class target_type, Object val); 52 53 59 Component cast(Class target_type, Component c); 60 61 64 SingletonMode getSingleton(); 65 66 69 boolean isSingletonAttributeSet(); 70 71 74 boolean isGloballyDefined(); 75 } 76 | Popular Tags |