1 4 package com.tc.object.config.schema; 5 6 7 import java.util.Arrays ; 8 9 12 public class SpringApp { 13 14 private boolean sessionSupport; 15 private Lock[] locks; 16 private InstrumentedClass[] includes; 17 private AppContext[] appContexts; 18 private String name; 19 private boolean fastProxy; 20 private String [] transientFields; 21 22 public SpringApp(boolean sessionSupport, Lock[] locks, InstrumentedClass[] includes, AppContext[] appContexts, 23 String name, boolean fastProxy, String [] transientFields) { 24 25 this.sessionSupport = sessionSupport; 26 this.locks = locks; 27 this.includes = includes; 28 this.appContexts = appContexts; 29 this.name = name; 30 this.fastProxy = fastProxy; 31 this.transientFields = transientFields; 32 } 33 34 public boolean sessionSupport() { 35 return sessionSupport; 36 } 37 38 public Lock[] locks() { 39 return locks; 40 } 41 42 public InstrumentedClass[] includes() { 43 return includes; 44 } 45 46 public AppContext[] appContexts() { 47 return appContexts; 48 } 49 50 public String name() { 51 return name; 52 } 53 54 public boolean fastProxy() { 55 return fastProxy; 56 } 57 58 public String [] transientFields() { 59 return transientFields; 60 } 61 62 public String toString() { 63 return "SPRING: " + name + "\nSESSION: " + sessionSupport + "\nLOCKS:\n\n" + Arrays.asList(locks) 64 + "\nINCLUDES:\n\n" + Arrays.asList(includes) + "\n" + Arrays.asList(appContexts) + "\nFASTPROXY: " + fastProxy 65 + "\nTRANSIENT FIELDS:\n\n" + Arrays.asList(transientFields); 66 } 67 } 68 | Popular Tags |