Skip to content

Instantly share code, notes, and snippets.

@njbartlett
Created October 28, 2010 21:23
Show Gist options
  • Save njbartlett/652357 to your computer and use it in GitHub Desktop.
Save njbartlett/652357 to your computer and use it in GitHub Desktop.
package org.example.impl;
import org.example.api.Greeting;
import aQute.bnd.annotation.component.Component;
@Component
public class BasicGreeting implements Greeting {
public String sayHello(String name) {
return "Hello " + name;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment