// Path: tutorial/hello-world/hello-service/src/main/java/de/akquinet/chameria/tutorial/hello/Hello.java
// public interface Hello {
//     
//     public String hello(String name);
//     
// }


import org.apache.felix.ipojo.annotations.Component;
import org.apache.felix.ipojo.annotations.Instantiate;
import org.apache.felix.ipojo.annotations.Provides;
import de.akquinet.chameria.tutorial.hello.Hello;
package de.akquinet.chameria.tutorial.hello.impl;



/**
 * Simple implementation of the Hello service.
 *
 * This class is an iPOJO component (http://ipojo.org). So, we can simply register the OSGi service
 * without touching the OSGi API or being bothered by the OSGi complexity.
 *
 * This service will be exposed to the web view using a simple servlet.
 *
 */
@Component
@Provides
@Instantiate(name="helloService1")
// Path: tutorial/hello-world/hello-service/src/main/java/de/akquinet/chameria/tutorial/hello/Hello.java
// public interface Hello {
//     
//     public String hello(String name);
//     
// }


// Path: tutorial/hello-world/hello-service/src/main/java/de/akquinet/chameria/tutorial/hello/impl/HelloProvider.java
import org.apache.felix.ipojo.annotations.Component;
import org.apache.felix.ipojo.annotations.Instantiate;
import org.apache.felix.ipojo.annotations.Provides;
import de.akquinet.chameria.tutorial.hello.Hello;

package de.akquinet.chameria.tutorial.hello.impl;



/**
 * Simple implementation of the Hello service.
 *
 * This class is an iPOJO component (http://ipojo.org). So, we can simply register the OSGi service
 * without touching the OSGi API or being bothered by the OSGi complexity.
 *
 * This service will be exposed to the web view using a simple servlet.
 *
 */
@Component
@Provides
@Instantiate(name="helloService1")
public class HelloProvider implements Hello {