Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Fix LogService binding example

...

Code Block
private LogService log;

protected void activate(ComponentContext context)
{
    log.log(LogService.LOG_INFO, "Hello Components!");
}

protected void bindbindLog(LogService log)
{
    this.log = log;
}

protected void unbindunbindLog(LogService log)
{
    this.log = null;
}

...