1
2
3
4
5
6
7
8
9
10
11
12
13 package org.abstracthorizon.danube.support.logging;
14
15 import org.abstracthorizon.pasulj.PasuljInfo;
16
17
18
19
20
21
22
23 public class LoggingConnectionHandlerBeanInfo extends PasuljInfo {
24
25
26
27
28 public LoggingConnectionHandlerBeanInfo() {
29 this(LoggingConnectionHandler.class);
30 }
31
32
33
34
35
36 protected LoggingConnectionHandlerBeanInfo(Class<?> cls) {
37 super(cls);
38 }
39
40
41
42
43 public void init() {
44
45 addProperty("logging", "Is logging switched on or off");
46 addProperty("directional", "Is it direction/readable text logging or not");
47 addProperty("tempLogging", "Should all input be logged on the temporary basis");
48 addProperty("addressPatternString", "Client socket address pattern string");
49 addProperty("logsPath", "Path of log files");
50 addProperty("logFileNamePattern", "Log file name pattern string: %c-time millis, %D-date, %T-time, %A-local addr, %P-local port, %a-remote addr, %p-remote port ");
51
52 addProperty("connectionHandler", "Connection handler", true, false);
53 }
54
55 }