KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mule > config > MuleProperties


1 /*
2  * $Id: MuleProperties.java 3937 2006-11-20 16:04:25Z lajos $
3  * --------------------------------------------------------------------------------------
4  * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
5  *
6  * The software in this package is published under the terms of the MuleSource MPL
7  * license, a copy of which has been included with this distribution in the
8  * LICENSE.txt file.
9  */

10
11 package org.mule.config;
12
13 /**
14  * <code>MuleProperties</code> is a set of constants pertaining to Mule system
15  * properties.
16  *
17  * @author <a HREF="mailto:ross.mason@symphonysoft.com">Ross Mason</a>
18  * @version $Revision: 3937 $
19  */

20
21 public interface MuleProperties
22 {
23     /**
24      * The prefix for any Mule-specific properties set on an event
25      */

26     public final String JavaDoc PROPERTY_PREFIX = "MULE_";
27
28     /**
29      * The prefix for any Mule-specific properties set in the system properties
30      */

31     public final String JavaDoc SYSTEM_PROPERTY_PREFIX = "org.mule.";
32
33     /********************************************************************************
34      * System properties that can be set as VM arguments
35      *******************************************************************************/

36
37     /** Disable the Admin agent */
38     public final String JavaDoc DISABLE_SERVER_CONNECTIONS_SYSTEM_PROPERTY = SYSTEM_PROPERTY_PREFIX
39                                                                      + "disable.server.connections";
40
41     /** Configuration parsing properties */
42     public final String JavaDoc XML_VALIDATE_SYSTEM_PROPERTY = SYSTEM_PROPERTY_PREFIX + "xml.validate";
43
44     /** Path to a Mule Dtd to use */
45     public final String JavaDoc XML_DTD_SYSTEM_PROPERTY = SYSTEM_PROPERTY_PREFIX + "xml.dtd";
46
47     /** Default Ecoding used by the server */
48     public final String JavaDoc MULE_ENCODING_SYSTEM_PROPERTY = SYSTEM_PROPERTY_PREFIX + "encoding";
49
50     /** The operatirng system encoding */
51     String JavaDoc MULE_OS_ENCODING_SYSTEM_PROPERTY = "org.mule.osEncoding";
52
53     /**
54      * whether a configuration builder should start the server after it has been
55      * configured, The default is true
56      */

57     public final String JavaDoc MULE_START_AFTER_CONFIG_SYSTEM_PROPERTY = SYSTEM_PROPERTY_PREFIX
58                                                                   + "start.after.config";
59
60     // End System properties
61

62     /********************************************************************************
63      * Event Level properties
64      *******************************************************************************/

65     public final String JavaDoc MULE_EVENT_PROPERTY = PROPERTY_PREFIX + "EVENT";
66     public final String JavaDoc MULE_EVENT_TIMEOUT_PROPERTY = PROPERTY_PREFIX + "EVENT_TIMEOUT";
67     public final String JavaDoc MULE_METHOD_PROPERTY = "method";
68
69     // Deprecated. 'method' is now used consistently for all transports
70
// public final String MULE_METHOD_PROPERTY = PROPERTY_PREFIX + "SERVICE_METHOD";
71
public final String JavaDoc MULE_IGNORE_METHOD_PROPERTY = PROPERTY_PREFIX + "IGNORE_METHOD";
72     public final String JavaDoc MULE_ENDPOINT_PROPERTY = PROPERTY_PREFIX + "ENDPOINT";
73     public final String JavaDoc MULE_ORIGINATING_ENDPOINT_PROPERTY = PROPERTY_PREFIX + "ORIGINATING_ENDPOINT";
74     public final String JavaDoc MULE_ERROR_CODE_PROPERTY = PROPERTY_PREFIX + "ERROR_CODE";
75     public final String JavaDoc MULE_REPLY_TO_PROPERTY = PROPERTY_PREFIX + "REPLYTO";
76     public final String JavaDoc MULE_USER_PROPERTY = PROPERTY_PREFIX + "USER";
77     public final String JavaDoc MULE_ENCODING_PROPERTY = PROPERTY_PREFIX + "ENCODING";
78     public final String JavaDoc MULE_REPLY_TO_REQUESTOR_PROPERTY = PROPERTY_PREFIX + "REPLYTO_REQUESTOR";
79     public final String JavaDoc MULE_SESSION_ID_PROPERTY = PROPERTY_PREFIX + "SESSION_ID";
80     public final String JavaDoc MULE_SESSION_PROPERTY = PROPERTY_PREFIX + "SESSION";
81     public final String JavaDoc MULE_MESSAGE_ID_PROPERTY = PROPERTY_PREFIX + "MESSAGE_ID";
82     public final String JavaDoc MULE_CORRELATION_ID_PROPERTY = PROPERTY_PREFIX + "CORRELATION_ID";
83     public final String JavaDoc MULE_CORRELATION_GROUP_SIZE_PROPERTY = PROPERTY_PREFIX + "CORRELATION_GROUP_SIZE";
84     public final String JavaDoc MULE_CORRELATION_SEQUENCE_PROPERTY = PROPERTY_PREFIX + "CORRELATION_SEQUENCE";
85     public final String JavaDoc MULE_REMOTE_SYNC_PROPERTY = PROPERTY_PREFIX + "REMOTE_SYNC";
86     public final String JavaDoc MULE_SOAP_METHOD = PROPERTY_PREFIX + "SOAP_METHOD";
87     public final String JavaDoc MULE_JMS_SESSION = PROPERTY_PREFIX + "JMS_SESSION";
88     // End Event Level properties
89

90     /********************************************************************************
91      * Connector Service descriptor properties
92      *******************************************************************************/

93     public final String JavaDoc CONNECTOR_CLASS = "connector";
94     public final String JavaDoc CONNECTOR_MESSAGE_RECEIVER_CLASS = "message.receiver";
95     public final String JavaDoc CONNECTOR_TRANSACTED_MESSAGE_RECEIVER_CLASS = "transacted.message.receiver";
96     public final String JavaDoc CONNECTOR_XA_MESSAGE_RECEIVER_CLASS = "xa.message.receiver";
97     public final String JavaDoc CONNECTOR_FACTORY = "connector.factory";
98     public final String JavaDoc CONNECTOR_DISPATCHER_FACTORY = "dispatcher.factory";
99     public final String JavaDoc CONNECTOR_TRANSACTION_FACTORY = "transaction.factory";
100     public final String JavaDoc CONNECTOR_MESSAGE_ADAPTER = "message.adapter";
101     public final String JavaDoc CONNECTOR_STREAM_MESSAGE_ADAPTER = "stream.message.adapter";
102     public final String JavaDoc CONNECTOR_INBOUND_TRANSFORMER = "inbound.transformer";
103     public final String JavaDoc CONNECTOR_OUTBOUND_TRANSFORMER = "outbound.transformer";
104     public final String JavaDoc CONNECTOR_RESPONSE_TRANSFORMER = "response.transformer";
105     public final String JavaDoc CONNECTOR_ENDPOINT_BUILDER = "endpoint.builder";
106     public final String JavaDoc CONNECTOR_SERVICE_FINDER = "service.finder";
107     public final String JavaDoc CONNECTOR_SERVICE_ERROR = "service.error";
108     public final String JavaDoc CONNECTOR_SESSION_HANDLER = "session.handler";
109     // End Connector Service descriptor properties
110
}
111
Popular Tags