| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 2 |
<!--NewPage--> |
| 3 |
<HTML> |
| 4 |
<HEAD> |
| 5 |
<!-- Generated by javadoc (build 1.4.2_08) on Sat Apr 22 18:57:16 PDT 2006 --> |
| 6 |
<TITLE> |
| 7 |
Endpoint (Axis API) |
| 8 |
</TITLE> |
| 9 |
|
| 10 |
<META NAME="keywords" CONTENT="javax.xml.messaging.Endpoint class"> |
| 11 |
|
| 12 |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> |
| 13 |
|
| 14 |
<SCRIPT type="text/javascript"> |
| 15 |
function windowTitle() |
| 16 |
{ |
| 17 |
parent.document.title="Endpoint (Axis API)"; |
| 18 |
} |
| 19 |
</SCRIPT> |
| 20 |
|
| 21 |
</HEAD> |
| 22 |
|
| 23 |
<BODY BGCOLOR="white" onload="windowTitle();"> |
| 24 |
|
| 25 |
|
| 26 |
<!-- ========= START OF TOP NAVBAR ======= --> |
| 27 |
<A NAME="navbar_top"><!-- --></A> |
| 28 |
<A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| 29 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| 30 |
<TR> |
| 31 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| 32 |
<A NAME="navbar_top_firstrow"><!-- --></A> |
| 33 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| 34 |
<TR ALIGN="center" VALIGN="top"> |
| 35 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| 36 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 37 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 38 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Endpoint.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| 39 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 40 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| 41 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| 42 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| 43 |
</TR> |
| 44 |
</TABLE> |
| 45 |
</TD> |
| 46 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| 47 |
</EM> |
| 48 |
</TD> |
| 49 |
</TR> |
| 50 |
|
| 51 |
<TR> |
| 52 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 53 |
PREV CLASS |
| 54 |
<A HREF="../../../javax/xml/messaging/URLEndpoint.html" title="class in javax.xml.messaging"><B>NEXT CLASS</B></A></FONT></TD> |
| 55 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 56 |
<A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> |
| 57 |
<A HREF="Endpoint.html" target="_top"><B>NO FRAMES</B></A> |
| 58 |
<SCRIPT type="text/javascript"> |
| 59 |
<!-- |
| 60 |
if(window==top) { |
| 61 |
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| 62 |
} |
| 63 |
//--> |
| 64 |
</SCRIPT> |
| 65 |
<NOSCRIPT> |
| 66 |
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
| 67 |
</NOSCRIPT> |
| 68 |
|
| 69 |
</FONT></TD> |
| 70 |
</TR> |
| 71 |
<TR> |
| 72 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 73 |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 74 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 75 |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 76 |
</TR> |
| 77 |
</TABLE> |
| 78 |
<A NAME="skip-navbar_top"></A> |
| 79 |
<!-- ========= END OF TOP NAVBAR ========= --> |
| 80 |
|
| 81 |
<HR> |
| 82 |
<!-- ======== START OF CLASS DATA ======== --> |
| 83 |
<H2> |
| 84 |
<FONT SIZE="-1"> |
| 85 |
javax.xml.messaging</FONT> |
| 86 |
<BR> |
| 87 |
Class Endpoint</H2> |
| 88 |
<PRE> |
| 89 |
java.lang.Object |
| 90 |
<IMG SRC="../../../resources/inherit.gif" ALT="extended by"><B>javax.xml.messaging.Endpoint</B> |
| 91 |
</PRE> |
| 92 |
<DL> |
| 93 |
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../javax/xml/messaging/URLEndpoint.html" title="class in javax.xml.messaging">URLEndpoint</A></DD> |
| 94 |
</DL> |
| 95 |
<HR> |
| 96 |
<DL> |
| 97 |
<DT>public class <B>Endpoint</B><DT>extends java.lang.Object</DL> |
| 98 |
|
| 99 |
<P> |
| 100 |
An opaque representation of an application endpoint. Typically, an |
| 101 |
<code>Endpoint</code> object represents a business entity, but it |
| 102 |
may represent a party of any sort. Conceptually, an |
| 103 |
<code>Endpoint</code> object is the mapping of a logical name |
| 104 |
(example, a URI) to a physical location, such as a URL. |
| 105 |
<P> |
| 106 |
For messaging using a provider that supports profiles, an application |
| 107 |
does not need to specify an endpoint when it sends a message because |
| 108 |
destination information will be contained in the profile-specific header. |
| 109 |
However, for point-to-point plain SOAP messaging, an application must supply |
| 110 |
an <code>Endpoint</code> object to |
| 111 |
the <code>SOAPConnection</code> method <code>call</code> |
| 112 |
to indicate the intended destination for the message. |
| 113 |
The subclass <A HREF="../../../javax/xml/messaging/URLEndpoint.html" title="class in javax.xml.messaging"><CODE>URLEndpoint</CODE></A> can be used when an application |
| 114 |
wants to send a message directly to a remote party without using a |
| 115 |
messaging provider. |
| 116 |
<P> |
| 117 |
The default identification for an <code>Endpoint</code> object |
| 118 |
is a URI. This defines what JAXM messaging |
| 119 |
providers need to support at minimum for identification of |
| 120 |
destinations. A messaging provider |
| 121 |
needs to be configured using a deployment-specific mechanism with |
| 122 |
mappings from an endpoint to the physical details of that endpoint. |
| 123 |
<P> |
| 124 |
<code>Endpoint</code> objects can be created using the constructor, or |
| 125 |
they can be looked up in a naming |
| 126 |
service. The latter is more flexible because logical identifiers |
| 127 |
or even other naming schemes (such as DUNS numbers) |
| 128 |
can be bound and rebound to specific URIs. |
| 129 |
<P> |
| 130 |
|
| 131 |
<P> |
| 132 |
<HR> |
| 133 |
|
| 134 |
<P> |
| 135 |
<!-- ======== NESTED CLASS SUMMARY ======== --> |
| 136 |
|
| 137 |
|
| 138 |
<!-- =========== FIELD SUMMARY =========== --> |
| 139 |
|
| 140 |
<A NAME="field_summary"><!-- --></A> |
| 141 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 142 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 143 |
<TD COLSPAN=2><FONT SIZE="+2"> |
| 144 |
<B>Field Summary</B></FONT></TD> |
| 145 |
</TR> |
| 146 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 147 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 148 |
<CODE>protected java.lang.String</CODE></FONT></TD> |
| 149 |
<TD><CODE><B><A HREF="../../../javax/xml/messaging/Endpoint.html#id">id</A></B></CODE> |
| 150 |
|
| 151 |
<BR> |
| 152 |
A string that identifies the party that this <code>Endpoint</code> object represents; a URI is the default.</TD> |
| 153 |
</TR> |
| 154 |
</TABLE> |
| 155 |
|
| 156 |
<!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| 157 |
|
| 158 |
<A NAME="constructor_summary"><!-- --></A> |
| 159 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 160 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 161 |
<TD COLSPAN=2><FONT SIZE="+2"> |
| 162 |
<B>Constructor Summary</B></FONT></TD> |
| 163 |
</TR> |
| 164 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 165 |
<TD><CODE><B><A HREF="../../../javax/xml/messaging/Endpoint.html#Endpoint(java.lang.String)">Endpoint</A></B>(java.lang.String uri)</CODE> |
| 166 |
|
| 167 |
<BR> |
| 168 |
Constructs an <code>Endpoint</code> object using the given string identifier.</TD> |
| 169 |
</TR> |
| 170 |
</TABLE> |
| 171 |
|
| 172 |
<!-- ========== METHOD SUMMARY =========== --> |
| 173 |
|
| 174 |
<A NAME="method_summary"><!-- --></A> |
| 175 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 176 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 177 |
<TD COLSPAN=2><FONT SIZE="+2"> |
| 178 |
<B>Method Summary</B></FONT></TD> |
| 179 |
</TR> |
| 180 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 181 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 182 |
<CODE> java.lang.String</CODE></FONT></TD> |
| 183 |
<TD><CODE><B><A HREF="../../../javax/xml/messaging/Endpoint.html#toString()">toString</A></B>()</CODE> |
| 184 |
|
| 185 |
<BR> |
| 186 |
Retrieves a string representation of this <code>Endpoint</code> object.</TD> |
| 187 |
</TR> |
| 188 |
</TABLE> |
| 189 |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| 190 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 191 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| 192 |
<TD><B>Methods inherited from class java.lang.Object</B></TD> |
| 193 |
</TR> |
| 194 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 195 |
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD> |
| 196 |
</TR> |
| 197 |
</TABLE> |
| 198 |
|
| 199 |
<P> |
| 200 |
|
| 201 |
<!-- ============ FIELD DETAIL =========== --> |
| 202 |
|
| 203 |
<A NAME="field_detail"><!-- --></A> |
| 204 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 205 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 206 |
<TD COLSPAN=1><FONT SIZE="+2"> |
| 207 |
<B>Field Detail</B></FONT></TD> |
| 208 |
</TR> |
| 209 |
</TABLE> |
| 210 |
|
| 211 |
<A NAME="id"><!-- --></A><H3> |
| 212 |
id</H3> |
| 213 |
<PRE> |
| 214 |
protected java.lang.String <B>id</B></PRE> |
| 215 |
<DL> |
| 216 |
<DD>A string that identifies the party that this <code>Endpoint</code> object represents; a URI is the default. |
| 217 |
<P> |
| 218 |
<DL> |
| 219 |
</DL> |
| 220 |
</DL> |
| 221 |
|
| 222 |
<!-- ========= CONSTRUCTOR DETAIL ======== --> |
| 223 |
|
| 224 |
<A NAME="constructor_detail"><!-- --></A> |
| 225 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 226 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 227 |
<TD COLSPAN=1><FONT SIZE="+2"> |
| 228 |
<B>Constructor Detail</B></FONT></TD> |
| 229 |
</TR> |
| 230 |
</TABLE> |
| 231 |
|
| 232 |
<A NAME="Endpoint(java.lang.String)"><!-- --></A><H3> |
| 233 |
Endpoint</H3> |
| 234 |
<PRE> |
| 235 |
public <B>Endpoint</B>(java.lang.String uri)</PRE> |
| 236 |
<DL> |
| 237 |
<DD>Constructs an <code>Endpoint</code> object using the given string identifier. |
| 238 |
<P> |
| 239 |
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - a string that identifies the party that this <code>Endpoint</code> object represents; the default is a URI</DL> |
| 240 |
|
| 241 |
<!-- ============ METHOD DETAIL ========== --> |
| 242 |
|
| 243 |
<A NAME="method_detail"><!-- --></A> |
| 244 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 245 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 246 |
<TD COLSPAN=1><FONT SIZE="+2"> |
| 247 |
<B>Method Detail</B></FONT></TD> |
| 248 |
</TR> |
| 249 |
</TABLE> |
| 250 |
|
| 251 |
<A NAME="toString()"><!-- --></A><H3> |
| 252 |
toString</H3> |
| 253 |
<PRE> |
| 254 |
public java.lang.String <B>toString</B>()</PRE> |
| 255 |
<DL> |
| 256 |
<DD>Retrieves a string representation of this <code>Endpoint</code> object. This string is likely to be provider-specific, and |
| 257 |
programmers are discouraged from parsing and programmatically interpreting the contents of this string. |
| 258 |
<P> |
| 259 |
<DD><DL> |
| 260 |
|
| 261 |
<DT><B>Returns:</B><DD>a <code>String</code> with a provider-specific representation of this <code>Endpoint</code> object</DL> |
| 262 |
</DD> |
| 263 |
</DL> |
| 264 |
<!-- ========= END OF CLASS DATA ========= --> |
| 265 |
<HR> |
| 266 |
|
| 267 |
|
| 268 |
<!-- ======= START OF BOTTOM NAVBAR ====== --> |
| 269 |
<A NAME="navbar_bottom"><!-- --></A> |
| 270 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| 271 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| 272 |
<TR> |
| 273 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| 274 |
<A NAME="navbar_bottom_firstrow"><!-- --></A> |
| 275 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| 276 |
<TR ALIGN="center" VALIGN="top"> |
| 277 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| 278 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 279 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 280 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Endpoint.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| 281 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 282 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| 283 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| 284 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| 285 |
</TR> |
| 286 |
</TABLE> |
| 287 |
</TD> |
| 288 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| 289 |
</EM> |
| 290 |
</TD> |
| 291 |
</TR> |
| 292 |
|
| 293 |
<TR> |
| 294 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 295 |
PREV CLASS |
| 296 |
<A HREF="../../../javax/xml/messaging/URLEndpoint.html" title="class in javax.xml.messaging"><B>NEXT CLASS</B></A></FONT></TD> |
| 297 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 298 |
<A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> |
| 299 |
<A HREF="Endpoint.html" target="_top"><B>NO FRAMES</B></A> |
| 300 |
<SCRIPT type="text/javascript"> |
| 301 |
<!-- |
| 302 |
if(window==top) { |
| 303 |
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| 304 |
} |
| 305 |
//--> |
| 306 |
</SCRIPT> |
| 307 |
<NOSCRIPT> |
| 308 |
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
| 309 |
</NOSCRIPT> |
| 310 |
|
| 311 |
</FONT></TD> |
| 312 |
</TR> |
| 313 |
<TR> |
| 314 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 315 |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 316 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 317 |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 318 |
</TR> |
| 319 |
</TABLE> |
| 320 |
<A NAME="skip-navbar_bottom"></A> |
| 321 |
<!-- ======== END OF BOTTOM NAVBAR ======= --> |
| 322 |
|
| 323 |
<HR> |
| 324 |
Copyright © 2005 Apache Web Services Project. All Rights Reserved. |
| 325 |
</BODY> |
| 326 |
</HTML> |