Suppose the property ‘books’ is declared like:
package com.nt.beans;
public class Engine
{ public Engine() { System.out.println("Engine ::0-param constructor"); } public void start() { System.out.println("Engine started...."); } public void stop() { System.out.println("Engine stopped...."); } } |
Lets see how to configure a bean property ‘books’ of type ‘java.util.Properties’.
Post a Comment