1 29 30 package com.caucho.amber.type; 31 32 import com.caucho.amber.manager.AmberPersistenceUnit; 33 import com.caucho.util.L10N; 34 35 import java.util.logging.Logger ; 36 37 43 public class SubListenerType extends ListenerType { 44 private static final Logger log = Logger.getLogger(SubListenerType.class.getName()); 45 private static final L10N L = new L10N(SubListenerType.class); 46 47 private ListenerType _parent; 48 49 public SubListenerType(AmberPersistenceUnit amberPersistenceUnit, 50 ListenerType parent) 51 { 52 super(amberPersistenceUnit); 53 54 _parent = parent; 55 } 56 57 60 public ListenerType getParentType() 61 { 62 return _parent; 63 } 64 65 68 public String toString() 69 { 70 if (getBeanClass() == null) 71 return "SubListenerType[]"; 72 else 73 return "SubListenerType[" + getBeanClass().getName() + "]"; 74 } 75 } 76 | Popular Tags |