MentaContainer

Rev

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

Rev 88 Rev 91
Line 26... Line 26...
26
         *
26
         *
27
         * @param key The key representing the bean to return. The name of the bean in the container.
27
         * @param key The key representing the bean to return. The name of the bean in the container.
28
         * @return The fully initialized and wired bean.
28
         * @return The fully initialized and wired bean.
29
         */
29
         */
30
        public <T> T get(String key);
30
        public <T> T get(String key);
-
 
31
       
-
 
32
        public Class<? extends Object> getType(String key);
31
       
33
       
32
        /**
34
        /**
33
         * Configure a bean to be returned with the given implementation when {@link #get(String)} is called.
35
         * Configure a bean to be returned with the given implementation when {@link #get(String)} is called.
34
         *
36
         *
35
         * @param key The key representing the bean to return. The name of the bean in the container.
37
         * @param key The key representing the bean to return. The name of the bean in the container.