felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tho huynh ngoc <ngocthob...@gmail.com>
Subject Re: Managing transactions in iPOJO or OSGi component
Date Wed, 25 May 2016 19:12:23 GMT
i'm sorry i have not finished my message in this mail

2016-05-25 21:09 GMT+02:00 tho huynh ngoc <ngocthobkdn@gmail.com>:

> Hi,
>
> I define a transaction is a set of continuous activities (one method or
> set of methods) in a component.
>
> I wrote a simple example as follows:
>
> //service interface
> public interface Hello {
>     String sayHello(String name);
> }
>
> //implementation service
> @Component
> public class HelloImpl implements Hello {   public HelloImpl() {
>         System.out.print("start Hello implementation");
>     }
>
>     public String sayHello(String name) { return "hello " + name;  }
> }
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message