KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tctest > spring > bean > BaseSingletonWithTransientField


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.bean;
5
6 public class BaseSingletonWithTransientField {
7
8   protected transient boolean transientValue;
9
10   public boolean isTransientValue() {
11     return transientValue;
12   }
13
14   public BaseSingletonWithTransientField() {
15     this.transientValue = true;
16   }
17
18   public void setTransientValue(boolean transientValue) {
19     this.transientValue = transientValue;
20   }
21
22 }
23
Popular Tags