001: /*
002: * BEGIN_HEADER - DO NOT EDIT
003: *
004: * The contents of this file are subject to the terms
005: * of the Common Development and Distribution License
006: * (the "License"). You may not use this file except
007: * in compliance with the License.
008: *
009: * You can obtain a copy of the license at
010: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
011: * See the License for the specific language governing
012: * permissions and limitations under the License.
013: *
014: * When distributing Covered Code, include this CDDL
015: * HEADER in each file and include the License file at
016: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
017: * If applicable add the following below this CDDL HEADER,
018: * with the fields enclosed by brackets "[]" replaced with
019: * your own identifying information: Portions Copyright
020: * [year] [name of copyright owner]
021: */
022:
023: /*
024: * @(#)LocalStringKeys.java
025: * Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.
026: *
027: * END_HEADER - DO NOT EDIT
028: */
029: package com.sun.jbi.util;
030:
031: /**
032: * This interface contains the property keys used for looking up message
033: * text in the LocalStrings resource bundle.
034: *
035: * IMPORTANT: The number of property keys defined in this file must always
036: * match the number of properties defined LocalStrings_en.properties.
037: * The keys defined in this file must all match the keys for the
038: * properties defined in LocalStrings_en.properties. The junit test
039: * for this class checks all of this and fails with detailed
040: * messages if any mismatches are found.
041: *
042: * @author Sun Microsystems, Inc.
043: */
044: public interface LocalStringKeys {
045: //
046: // Message keys for common messages.
047: //
048:
049: /**
050: * Null argument.
051: */
052: String NULL_ARGUMENT = "NULL_ARGUMENT";
053:
054: /**
055: * Empty list argument.
056: */
057: String EMPTY_LIST_ARGUMENT = "EMPTY_LIST_ARGUMENT";
058:
059: //
060: // Message keys for StringTranslator.
061: //
062:
063: /**
064: * Unable to print stack trace.
065: */
066: String STACK_TRACE_PRINT_FAILED = "STACK_TRACE_PRINT_FAILED";
067:
068: //
069: // Message keys for JMX utilities.
070: //
071:
072: /**
073: * Null object.
074: */
075: String NULL_OBJECT = "NULL_OBJECT";
076: /**
077: * Invalid interface implementation.
078: */
079: String INVALID_INTERFACE_IMPL = "INVALID_INTERFACE_IMPL";
080: /**
081: * MBean already registered.
082: */
083: String MBEAN_ALREADY_REGISTERED = "MBEAN_ALREADY_REGISTERED";
084: /**
085: * MBean not JMX compliant.
086: */
087: String MBEAN_CREATION_NOT_JMX_COMPLIANT = "MBEAN_CREATION_NOT_JMX_COMPLIANT";
088: /**
089: * Exception during MBean registration.
090: */
091: String MBEAN_REGISTRATION_EXCEPTION = "MBEAN_REGISTRATION_EXCEPTION";
092: /**
093: * MBean not JMX compliant.
094: */
095: String MBEAN_REGISTRATION_NOT_JMX_COMPLIANT = "MBEAN_REGISTRATION_NOT_JMX_COMPLIANT";
096: /**
097: * Exception during MBean unregistration.
098: */
099:
100: String MBEAN_UNREGISTRATION_EXCEPTION = "MBEAN_UNREGISTRATION_EXCEPTION";
101:
102: //
103: // ComponentConfigurationHelper messages.
104: //
105: /**
106: * Conversion to open type failed.
107: */
108: String CCFG_FAILED_CONVERSION_TO_OPEN_TYPE_AR = "CCFG_FAILED_CONVERSION_TO_OPEN_TYPE_AR";
109: /**
110: * Conversion to open type failed.
111: */
112: String CCFG_FAILED_CONVERSION_TO_OPEN_TYPE = "CCFG_FAILED_CONVERSION_TO_OPEN_TYPE";
113: /**
114: * CompositeData item missing.
115: */
116: String CCFG_CD_EXTRA_PROPS = "CCFG_CD_EXTRA_PROPS";
117:
118: String CCFG_APP_CFG_ATTR_DEF_MISSING_IN_XML = "CCFG_APP_CFG_ATTR_DEF_MISSING_IN_XML";
119:
120: String CCFG_ATTR_DEF_MISSING_IN_XML = "CCFG_ATTR_DEF_MISSING_IN_XML";
121:
122: String CCFG_APP_CFG_DEF_MISSING_IN_XML = "CCFG_APP_CFG_DEF_MISSING_IN_XML";
123: }
|