1
2
3
4
5
6
7
8
9
10
11
12
13 package org.abstracthorizon.danube.service.server;
14
15
16
17
18
19
20 public class MultiThreadServerServiceBeanInfo extends ServerServiceBeanInfo {
21
22
23
24
25 public MultiThreadServerServiceBeanInfo() {
26 this(MultiThreadServerService.class);
27 }
28
29
30
31
32
33 protected MultiThreadServerServiceBeanInfo(Class<?> cls) {
34 super(cls);
35 }
36
37
38
39
40 public void init() {
41 super.init();
42
43 addProperty("graceFinishPeriod", "Grace period for connections to finish after service state changes to STOPPING");
44 addProperty("executor", "Executor (thread pool) to be used", true, false);
45 addProperty("activeConnections", "Current, active connections");
46 addProperty("numberOfActiveConnections", "Number of current, active connections");
47
48 }
49
50 }