1 13 package com.tonbeller.jpivot.table; 14 15 import javax.servlet.http.HttpSession ; 16 17 import com.tonbeller.wcf.controller.RequestContext; 18 19 23 public abstract class PartBuilderDecorator extends PartBuilderSupport { 24 PartBuilder delegate; 25 26 protected PartBuilderDecorator(PartBuilder delegate) { 27 this.delegate = delegate; 28 } 29 30 public void startBuild(RequestContext context) { 31 super.startBuild(context); 32 delegate.startBuild(context); 33 } 34 35 public void stopBuild() { 36 delegate.stopBuild(); 37 super.stopBuild(); 38 } 39 40 public void initialize(RequestContext context, TableComponent table) throws Exception { 41 super.initialize(context, table); 42 delegate.initialize(context, table); 43 } 44 45 public void destroy(HttpSession session) throws Exception { 46 super.destroy(session); 47 delegate.destroy(session); 48 } 49 50 } 51 | Popular Tags |