1 24 25 package org.objectweb.dream.control.logger; 26 27 import org.objectweb.fractal.julia.InitializationContext; 28 29 38 public abstract class BasicLoggerInternalBaseNameMixin 39 implements 40 LoggerInternalBaseName 41 { 42 43 boolean externalAssignedBaseName; 44 45 49 52 public void initFcController(InitializationContext ic) 53 throws InstantiationException 54 { 55 _super_initFcController(ic); 56 externalAssignedBaseName = false; 57 } 58 59 62 public void setBaseName(String name) 63 { 64 externalAssignedBaseName = true; 65 _super_setBaseName(name); 66 } 67 68 71 public void internalSetBaseName(String name) 72 { 73 if (!externalAssignedBaseName) 74 { 75 _super_setBaseName(name); 76 } 77 } 78 79 83 90 public abstract void _super_initFcController(InitializationContext ic) 91 throws InstantiationException ; 92 93 99 public abstract void _super_setBaseName(String name); 100 101 } | Popular Tags |