MentaContainer

Rev

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

Rev 40 Rev 41
Line 25... Line 25...
25
         * The instance will be fully initialized (constructor and/or setters) and fully wired.
25
         * The instance will be fully initialized (constructor and/or setters) and fully wired.
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 Object get(String key);
-
 
-
 
30
        public <T> T get(String key);
31
       
31
       
32
        /**
32
        /**
33
         * Configure a bean to be returned with the given implementation when {@link #get(String)} is called.
33
         * Configure a bean to be returned with the given implementation when {@link #get(String)} is called.
34
         *
34
         *
35
         * @param key The key representing the bean to return. The name of the bean in the container.
35
         * @param key The key representing the bean to return. The name of the bean in the container.