KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tctest > spring > aj > ConfigurableBean


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tctest.spring.aj;
5
6 import java.io.Serializable JavaDoc;
7
8 import org.springframework.beans.factory.annotation.Configurable;
9
10 @Configurable
11 public class ConfigurableBean implements Serializable JavaDoc {
12   private static final long serialVersionUID = 1L;
13   
14   private String JavaDoc property1;
15   private String JavaDoc property2;
16   
17   public ConfigurableBean() {
18   }
19   
20   public String JavaDoc getProperty1() {
21     return this.property1;
22   }
23   
24   public String JavaDoc getProperty2() {
25     return this.property2;
26   }
27   
28   public void setProperty1(String JavaDoc property1) {
29     this.property1 = property1;
30   }
31   
32   public void setProperty2(String JavaDoc property2) {
33     this.property2 = property2;
34   }
35   
36 }
37
Popular Tags