blob: 7ed0f8b24d1346b6459a35d8290bb68d223e37fe [file] [log] [blame]
/*
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
*/
package org.apache.qpid.management;
/**
* Enumeration of literal strings to avoid code duplication.
*
* @author Andrea Gazzarini
*/
public interface Names
{
/** Name of the qpid management exchange. */
String MANAGEMENT_EXCHANGE = "qpid.management";
String MANAGEMENT_ROUTING_KEY = "console.#";
String MANAGEMENT_QUEUE_PREFIX = "management.";
String METHOD_REPLY_QUEUE_PREFIX = "reply.";
String AMQ_DIRECT_QUEUE = "amq.direct";
String AGENT_ROUTING_KEY_PREFIX = "agent.";
String AGENT_ROUTING_KEY = AGENT_ROUTING_KEY_PREFIX+"1.0";
// Attributes
String PACKAGE = "package";
String CLASS = "class";
String OBJECT_ID="objectID";
String BROKER_ID = "brokerID";
String DOMAIN_NAME = "Q-MAN";
String ARG_COUNT_PARAM_NAME = "argCount";
String DEFAULT_PARAM_NAME ="default";
String NUMBER_VALIDATOR = "org.apache.qpid.management.domain.model.QpidProperty$NumberValidator";
String STRING_VALIDATOR = "org.apache.qpid.management.domain.model.QpidProperty$StringValidator";
String QMAN_CONFIG_OPTION_NAME = "qman-config";
String ADD_BROKER_OPERATION_NAME = "addBroker";
}