MentaContainer

Rev

Rev 91 | Rev 94 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 91 Rev 93
Line 52... Line 52...
52
         * @see Scope
52
         * @see Scope
53
         */
53
         */
54
        public ConfigurableFactory ioc(String key, Class<?extends Object> klass);
54
        public ConfigurableFactory ioc(String key, Class<?extends Object> klass);
55
       
55
       
56
        /**
56
        /**
57
         * Set up IoC based on the component passed. The scope assumed is NONE.
-
 
-
 
57
         * Set up IoC based on the factory passed. The scope assumed is NONE.
58
         *
58
         *
59
         * @param key The key representing the bean to return. The name of the bean in the container.
59
         * @param key The key representing the bean to return. The name of the bean in the container.
60
         * @param component The component for the IoC.
-
 
-
 
60
         * @param factory The component for the IoC.
61
         * @return The component passed as a parameter.
61
         * @return The component passed as a parameter.
62
         * @see Factory
62
         * @see Factory
63
         */
63
         */
64
        public Factory ioc(String key, Factory component);
-
 
-
 
64
        public Factory ioc(String key, Factory factory);
65
       
65
       
66
        /**
66
        /**
67
         * Set up IoC based on the component passed. Specify the scope of the component.
67
         * Set up IoC based on the component passed. Specify the scope of the component.
68
         *
68
         *
69
         * @param key The key representing the bean to return. The name of the bean in the container.
69
         * @param key The key representing the bean to return. The name of the bean in the container.