1 29 30 package com.caucho.amber.cfg; 31 32 import com.caucho.amber.manager.AmberPersistenceUnit; 33 import com.caucho.amber.type.AbstractEnhancedType; 34 import com.caucho.bytecode.JAnnotation; 35 import com.caucho.bytecode.JClass; 36 import com.caucho.config.ConfigException; 37 import com.caucho.util.L10N; 38 39 import java.sql.SQLException ; 40 import java.util.logging.Logger ; 41 42 45 public class MappedSuperIntrospector extends BaseConfigIntrospector { 46 private static final L10N L = new L10N(MappedSuperIntrospector.class); 47 private static final Logger log 48 = Logger.getLogger(MappedSuperIntrospector.class.getName()); 49 50 53 56 public MappedSuperIntrospector(AmberPersistenceUnit persistenceUnit) 57 { 58 super(persistenceUnit); 59 } 60 61 64 public boolean isMappedSuper(JClass type) 65 { 66 getInternalMappedSuperclassConfig(type); 67 JAnnotation mappedSuperAnn = _annotationCfg.getAnnotation(); 68 MappedSuperclassConfig mappedSuperConfig 69 = _annotationCfg.getMappedSuperclassConfig(); 70 71 return (! _annotationCfg.isNull()); 72 } 73 74 77 public AbstractEnhancedType introspect(JClass type) 79 throws ConfigException, SQLException 80 { 81 return null; 82 83 127 } 128 } 129 | Popular Tags |