1 15 16 package com.jdon.container; 17 18 import java.util.List ; 19 20 import com.jdon.aop.interceptor.InterceptorsChain; 21 import com.jdon.container.visitor.ComponentVisitor; 22 import com.jdon.controller.cache.InstanceCache; 23 24 29 public interface ContainerWrapper { 30 31 36 public void register(String name, Class className); 37 38 44 public void register(String name, Class className, String [] constructors); 45 46 51 public void register(String name, Object instance); 52 53 58 public void register(String name); 59 60 65 public void start(); 66 67 72 public void stop(); 73 74 78 public List getAllInstances(); 79 80 85 public Object lookup(String name); 86 87 93 public Object getComponentNewInstance(String name); 94 95 100 public Class getComponentClass(String name); 101 102 106 public void registerChild(String name); 107 108 113 public ContainerWrapper getChild(String name); 114 115 116 } 117 | Popular Tags |