Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
HelloWorldServiceRemote |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright (c) 2009, Swiss Federal Department of Defence Civil Protection and Sport | |
3 | * (http://www.vbs.admin.ch) | |
4 | * Copyright (c) 2009, Ergon Informatik AG (http://www.ergon.ch) | |
5 | * All rights reserved. | |
6 | * | |
7 | * Licensed under the Open Permis License which accompanies this distribution, | |
8 | * and is available at http://www.openpermis.org/BSDlicenceKent.txt | |
9 | */ | |
10 | package org.openpermis.examples.ejb.server; | |
11 | ||
12 | import javax.ejb.Remote; | |
13 | ||
14 | /** | |
15 | * Remote interface for the hello EJB service. | |
16 | * @since 0.3.0 | |
17 | */ | |
18 | @Remote | |
19 | public interface HelloWorldServiceRemote { | |
20 | ||
21 | //---- Methods | |
22 | ||
23 | /** | |
24 | * Returns a welcome message for the specified person. | |
25 | * @param name the name of the person to greet. | |
26 | * @return a suitable welcome message. | |
27 | * @throws HelloWorldException if the service fails to determine a suitable welcome message. | |
28 | * @since 0.3.0 | |
29 | */ | |
30 | public String getHelloMessage (String name) throws HelloWorldException; | |
31 | ||
32 | } |