1
2
3
4
5
6
7
8
9
10
11
12
13 package org.abstracthorizon.danube.service.server;
14
15 import org.abstracthorizon.danube.service.ServiceBeanInfo;
16
17
18
19
20
21
22 public class ServerServiceBeanInfo extends ServiceBeanInfo {
23
24
25
26
27 public ServerServiceBeanInfo() {
28 this(ServerService.class);
29 }
30
31
32
33
34
35 protected ServerServiceBeanInfo(Class<?> cls) {
36 super(cls);
37 }
38
39
40
41
42 public void init() {
43 super.init();
44
45 addProperty("socketAddress", "Socket address of the service", true, false);
46 addProperty("connectionHandler", "Connection handler to be invoked", true, false);
47
48 addProperty("port", "Port to listen");
49 addProperty("address", "Address of interface to listen on or \"*\" if all interfaces");
50 }
51
52 }