Following piece of code creates a bean with static method makeInstance of sampleBean2 class.
Archive for май, 2010
Java tutorial/code – How to define a bean which is created using a static factory method
май 20th, 2010
admin Java tutorial/code – How to make beans aliases
май 20th, 2010
admin Aliases are used in many situations for example if a component defines a resource by some name and another component want to use that resource by different name suiting to naming of that component aliasing is useful . See following piece of code to make alias of a bean. Here CAdataSource aliased to CBdataSource and [...]
RSS Feed
Twitter

Posted in

