Exemplo n.º 1
0
 public void Dispose()
 {
     beanConfigurations   = null;
     nameToBeanConfMap    = null;
     aliasToBeanNameMap   = null;
     beanNameToAliasesMap = null;
     linkController       = null;
     parent = null;
     beanContextInitializer = null;
     typeInfoProvider       = null;
     props = null;
 }
Exemplo n.º 2
0
        public BeanContextFactory(ILinkController linkController, IBeanContextInitializer beanContextInitializer, IProxyFactory proxyFactory, ITypeInfoProvider typeInfoProvider, Properties properties,
                                  BeanContextFactory parent)
        {
            ParamChecker.AssertParamNotNull(linkController, "linkController");
            ParamChecker.AssertParamNotNull(beanContextInitializer, "beanContextInitializer");
            ParamChecker.AssertParamNotNull(proxyFactory, "proxyFactory");
            ParamChecker.AssertParamNotNull(properties, "properties");

            this.linkController         = linkController;
            this.beanContextInitializer = beanContextInitializer;
            this.proxyFactory           = proxyFactory;
            this.typeInfoProvider       = typeInfoProvider;
            this.props  = properties;
            this.parent = parent;
        }