MentaContainer

Rev

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

Rev 2 Rev 4
Line 103... Line 103...
103
         * in the given bean, in other words, populating it.
103
         * in the given bean, in other words, populating it.
104
         *
104
         *
105
         * @param bean The bean to be populated with other beans from the container.
105
         * @param bean The bean to be populated with other beans from the container.
106
         * @return The container itself. (Fluent API)
106
         * @return The container itself. (Fluent API)
107
         */
107
         */
108
        public Container populate(Object bean);
-
 
-
 
108
        public Container populate(Object bean) throws Exception;
-
 
109
       
-
 
110
        /**
-
 
111
         * Check whether the container is configured to provide a bean with name 'key'.
-
 
112
         *
-
 
113
         * @param key The key representing the bean inside the container.
-
 
114
         * @return true if the container contains this bean.
-
 
115
         */
-
 
116
        public boolean contains(String key);
109
}
117
}