blob: 21be8670ad566416e0725fa117012065437b3b79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package examples.session.stateful;
/**
* The business interface - a plain Java interface with only business methods.
*/
public interface Count {
/**
* Increments the counter by 1
*/
public int count();
/**
* Sets the counter to val
*
* @param val
*/
public void set(int val);
/**
* removes the counter
*/
public void remove();
}
|