org.apache.qpid.server.logging.subjects
Class LogSubjectFormat

java.lang.Object
  extended by org.apache.qpid.server.logging.subjects.LogSubjectFormat

public class LogSubjectFormat
extends Object

LogSubjectFormat class contains a list of formatting string that can be statically imported where needed. The formatting strings are to be used via a MessageFormat call to insert the required values at the corresponding place holder indices.


Field Summary
static String BINDING_FORMAT
          LOG FORMAT for a Binding LogSubject 0 - Virtualhost Name 1 - Exchange Type 2 - Exchange Name 3 - Queue Name 4 - Binding RoutingKey
static String CHANNEL_FORMAT
          LOG FORMAT for the Channel LogSubject 0 - Connection ID 1 - User ID 2 - IP 3 - Virtualhost 4 - Channel ID
static String CONNECTION_FORMAT
          LOG FORMAT for the Connection Log Subject - CON format 0 - Connection ID 1 - User ID 2 - IP 3 - Virtualhost
static String EXCHANGE_FORMAT
          LOG FORMAT for the Exchange LogSubject, 0 - Virtualhost Name 1 - Exchange Type 2 - Exchange Name
static String QUEUE_FORMAT
          LOG FORMAT for the Queue LogSubject, 0 - Virtualhost name 1 - queue name
static String SOCKET_FORMAT
          LOG FORMAT for Connection Log Subject - SOCKET format 0 - Connection ID 1 - Remote Address
static String STORE_FORMAT
          LOG FORMAT for the MessagesStore LogSubject 0 - Virtualhost Name 1 - Message Store Type
static String SUBSCRIPTION_FORMAT
          LOG FORMAT for the Subscription Log Subject 0 - Subscription ID
static String USER_FORMAT
          LOG FORMAT for Connection Log Subject - USER format 0 - Connection ID 1 - User ID 2 - IP
 
Constructor Summary
LogSubjectFormat()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUBSCRIPTION_FORMAT

public static final String SUBSCRIPTION_FORMAT
LOG FORMAT for the Subscription Log Subject 0 - Subscription ID

See Also:
Constant Field Values

SOCKET_FORMAT

public static final String SOCKET_FORMAT
LOG FORMAT for Connection Log Subject - SOCKET format 0 - Connection ID 1 - Remote Address

See Also:
Constant Field Values

USER_FORMAT

public static final String USER_FORMAT
LOG FORMAT for Connection Log Subject - USER format 0 - Connection ID 1 - User ID 2 - IP

See Also:
Constant Field Values

CONNECTION_FORMAT

public static final String CONNECTION_FORMAT
LOG FORMAT for the Connection Log Subject - CON format 0 - Connection ID 1 - User ID 2 - IP 3 - Virtualhost

See Also:
Constant Field Values

CHANNEL_FORMAT

public static final String CHANNEL_FORMAT
LOG FORMAT for the Channel LogSubject 0 - Connection ID 1 - User ID 2 - IP 3 - Virtualhost 4 - Channel ID

See Also:
Constant Field Values

EXCHANGE_FORMAT

public static final String EXCHANGE_FORMAT
LOG FORMAT for the Exchange LogSubject, 0 - Virtualhost Name 1 - Exchange Type 2 - Exchange Name

See Also:
Constant Field Values

BINDING_FORMAT

public static final String BINDING_FORMAT
LOG FORMAT for a Binding LogSubject 0 - Virtualhost Name 1 - Exchange Type 2 - Exchange Name 3 - Queue Name 4 - Binding RoutingKey

See Also:
Constant Field Values

STORE_FORMAT

public static final String STORE_FORMAT
LOG FORMAT for the MessagesStore LogSubject 0 - Virtualhost Name 1 - Message Store Type

See Also:
Constant Field Values

QUEUE_FORMAT

public static final String QUEUE_FORMAT
LOG FORMAT for the Queue LogSubject, 0 - Virtualhost name 1 - queue name

See Also:
Constant Field Values
Constructor Detail

LogSubjectFormat

public LogSubjectFormat()


Licensed to the Apache Software Foundation