1 23 24 29 30 package com.sun.enterprise.config.serverbeans; 31 32 import com.sun.enterprise.config.pluggable.ConfigBeanInterceptor; 33 34 38 public class ConfigEnvironmentImpl extends com.sun.enterprise.config.impl.ConfigEnvironmentImpl { 39 40 41 public ConfigEnvironmentImpl() { 42 } 43 44 private static final String _HANDLER = 45 "com.sun.enterprise.config.serverbeans.ServerValidationHandler"; 46 private static final String _ROOT_CLASS = 47 "com.sun.enterprise.config.serverbeans.Domain"; 48 49 public String getHandler() { 50 return _HANDLER; 51 } 52 53 public String getRootClass() { 54 return _ROOT_CLASS; 55 } 56 57 public synchronized ConfigBeanInterceptor getConfigBeanInterceptor() { 58 ConfigBeanInterceptor cbi = super.getConfigBeanInterceptor(); 59 if (null != cbi) { 60 return cbi; 61 } 62 cbi = new ServerBeanInterceptor(); 63 setConfigBeanInterceptor(cbi); 64 return cbi; 65 } 66 } 67 | Popular Tags |