My favorites | Sign in
Project Logo
                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.extensiblejava.hello.client;

import com.extensiblejava.hello.service.HelloService;

public class HelloConsumer {
private HelloService hello;

public void setHelloService(HelloService hello) {
this.hello = hello;
}

public void start() throws Exception {
System.out.println(hello.sayHello());
}

public void stop() throws Exception {
System.out.println(hello.sayGoodbye());
// NOTE: The service is automatically released.
}

}

Show details Hide details

Change log

r17 by pragkirk on Apr 30, 2008   Diff
Initial Version of HelloWorldSpec and
Spring
Go to: 
Project members, sign in to write a code review

Older revisions

All revisions of this file

File info

Size: 485 bytes, 22 lines

File properties

svn:executable
Hosted by Google Code