Skip to content

Instantly share code, notes, and snippets.

@steinarb
Created October 26, 2019 07:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steinarb/d894ac192711b230024cf438010e9785 to your computer and use it in GitHub Desktop.
Save steinarb/d894ac192711b230024cf438010e9785 to your computer and use it in GitHub Desktop.
@Component(service=UkelonnService.class, immediate=true)
public class UkelonnServiceProvider extends UkelonnServiceBase {
private UkelonnDatabase database;
@Activate
public void activate() {
// Nothing to do here
}
@Reference
public void setUkelonnDatabase(UkelonnDatabase database) {
this.database = database;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment