MentaContainer

Rev

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

Rev 45 Rev 51
Line 56... Line 56...
56
         * @param component The component for the IoC.
56
         * @param component The component for the IoC.
57
         * @return The component passed as a parameter.
57
         * @return The component passed as a parameter.
58
         * @see Component
58
         * @see Component
59
         */
59
         */
60
        public Component ioc(String key, Component component);
60
        public Component ioc(String key, Component component);
-
 
61
       
-
 
62
        /**
-
 
63
         * Set up IoC based on the component passed. Specify whether this will be a singleton component.
-
 
64
         *
-
 
65
         * @param key The key representing the bean to return. The name of the bean in the container.
-
 
66
         * @param component The component for the IoC.
-
 
67
         * @param isSingleton Should this component be treated as a singleton?
-
 
68
         * @return The component passed as a parameter.
-
 
69
         * @see Component
-
 
70
         */
-
 
71
        public Component ioc(String key, Component component, boolean isSingleton);
61
       
72
       
62
        /**
73
        /**
63
         * Configure a bean dependency to be auto-wired by the container. In general you want the
74
         * Configure a bean dependency to be auto-wired by the container. In general you want the
64
         * type of the dependency to be an interface, for loosely couple dependencies. It works like that:<br/><br/>
75
         * type of the dependency to be an interface, for loosely couple dependencies. It works like that:<br/><br/>
65
         *
76
         *