method1 () { ... Log logsvc = (Log) infrastructure.getServiceByName("com.mycompany.myproduct.MyLogService"); logsvc.writeLog(...); }
The infrastructure handle is given to the client upon loading by the SMC console.
infrastructure