01: package net.sf.cglib.transform.impl;
02:
03: /**
04: *
05: * @author baliuka
06: */
07: public class PersistenceCapableImpl implements PersistenceCapable {
08:
09: Object persistenceManager;
10: Object pc;//transformed class instance
11:
12: /** Creates a new instance of PersistenceCapableImpl,
13: transformed class uses this constructor */
14:
15: public PersistenceCapableImpl(Object _this ) {
16: this .pc = _this ;
17:
18: }
19:
20: public void setPersistenceManager(Object manager) {
21:
22: persistenceManager = manager;
23: System.out.println("setPersistenceManager:" + manager);
24: }
25:
26: public Object getPersistenceManager() {
27: return persistenceManager;
28: }
29:
30: }
|