KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mule > umo > endpoint > UMOEndpointURI


1 /*
2  * $Id: UMOEndpointURI.java 4219 2006-12-09 10:15:14Z 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.umo.endpoint;
12
13 import java.io.Serializable JavaDoc;
14 import java.net.URI JavaDoc;
15 import java.util.Properties JavaDoc;
16
17 /**
18  * <code>UMOEndpointURI</code> is used to determine how a message is sent or
19  * received. The url defines the protocol, the endpointUri destination of the message
20  * and optionally the endpoint to use when dispatching the event. Mule urls take the
21  * form of - protocol://[host]:[port]/[provider]/endpointUri or
22  * protocol://[host]:[port]/endpointUri i.e. vm://my.object or
23  * The protocol can be any of any conector registered with Mule. The
24  * endpoint name if specified must be the name of a register global endpoint The
25  * endpointUri can be any endpointUri recognised by the endpoint type.
26  *
27  */

28 public interface UMOEndpointURI extends Serializable JavaDoc
29 {
30     public static final String JavaDoc PROPERTY_ENDPOINT_NAME = "endpointName";
31     public static final String JavaDoc PROPERTY_ENDPOINT_URI = "address";
32     public static final String JavaDoc PROPERTY_CREATE_CONNECTOR = "createConnector";
33     public static final String JavaDoc PROPERTY_CONNECTOR_NAME = "connector";
34     public static final String JavaDoc PROPERTY_TRANSFORMERS = "transformers";
35     public static final String JavaDoc PROPERTY_RESPONSE_TRANSFORMERS = "responseTransformers";
36
37     String JavaDoc getAddress();
38
39     String JavaDoc getFilterAddress();
40
41     String JavaDoc getEndpointName();
42
43     void setEndpointName(String JavaDoc name);
44
45     Properties JavaDoc getParams();
46
47     Properties JavaDoc getUserParams();
48
49     String JavaDoc getScheme();
50
51     String JavaDoc getSchemeMetaInfo();
52
53     String JavaDoc getFullScheme();
54
55     String JavaDoc getAuthority();
56
57     String JavaDoc getHost();
58
59     int getPort();
60
61     String JavaDoc getPath();
62
63     String JavaDoc getQuery();
64
65     String JavaDoc getUserInfo();
66
67     String JavaDoc getTransformers();
68
69     String JavaDoc getResponseTransformers();
70
71     int getCreateConnector();
72
73     URI JavaDoc getUri();
74
75     String JavaDoc getConnectorName();
76
77     String JavaDoc getResourceInfo();
78
79     String JavaDoc getUsername();
80
81     String JavaDoc getPassword();
82 }
83
Popular Tags