1 24 25 package org.objectweb.dream.control.logger; 26 27 import org.objectweb.fractal.api.factory.InstantiationException; 28 import org.objectweb.fractal.julia.InitializationContext; 29 30 34 public abstract class UseLoggerControllerMixin 35 { 36 37 41 private UseLoggerControllerMixin() 42 { 43 } 44 45 49 53 public LoggerController weaveableOptLogC; 54 55 60 public void initFcController(final InitializationContext ic) 61 throws InstantiationException 62 { 63 try 64 { 65 weaveableOptLogC = (LoggerController) ic 66 .getInterface("logger-controller"); 67 } 68 catch (InstantiationException e) 69 { 70 weaveableOptLogC = null; 71 } 72 _super_initFcController(ic); 73 } 74 75 79 86 public abstract void _super_initFcController(InitializationContext i) 87 throws InstantiationException ; 88 89 } | Popular Tags |