1 28 29 package com.caucho.jca.cfg; 30 31 import com.caucho.config.ConfigException; 32 import com.caucho.log.Log; 33 import com.caucho.util.L10N; 34 35 import java.util.logging.Logger ; 36 37 40 public class AdminObjectConfig extends ObjectConfig { 41 private static final L10N L = new L10N(AdminObjectConfig.class); 42 private static final Logger log = Log.open(AdminObjectConfig.class); 43 44 private Class _interfaceClass; 45 private Class _objectClass; 46 47 public AdminObjectConfig() 48 { 49 } 50 51 54 public void setAdminobjectInterface(Class cl) 55 { 56 _interfaceClass = cl; 57 } 58 59 62 public Class getAdminObjectInterface() 63 { 64 return _interfaceClass; 65 } 66 67 70 public void setAdminobjectClass(Class cl) 71 throws ConfigException 72 { 73 _objectClass = cl; 74 75 setType(cl); 76 } 77 78 81 public Class getAdminObjectClass() 82 { 83 return _objectClass; 84 } 85 } 86 | Popular Tags |