this is bakery project ,where ,there is a class named cakebaker() and dependent on two class named as frosting and syrup. there are two interfaces for frosting and syrup and both have function called getfrostingtype and getsyruptype. along with that,two implementation of these two class which means four class of cake frosting and cake syrup. Dependency injection into frosting and syrup injected dependencies into cake baker as well as cakebaker() call the bakecake() class. annotation used= @component,@conditionalOnProperty,@Autowired,@configuration
shlokGIT/cake_bakery
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|