⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 transportcustombindingprovider.html

📁 一个实用的java源程序
💻 HTML
📖 第 1 页 / 共 2 页
字号:
 
<P>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="getIdentifierURI(EndPointConfiguration, com.bea.wli.sb.services.BindingTypeInfo.BindingTypeEnum, com.bea.wli.config.Ref)"><!-- --></A><H3>
getIdentifierURI</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getIdentifierURI</B>(EndPointConfiguration&nbsp;endpoint,
                        <A HREF="../../../../../com/bea/wli/sb/services/BindingTypeInfo.BindingTypeEnum.html" title="enum in com.bea.wli.sb.services">BindingTypeInfo.BindingTypeEnum</A>&nbsp;bindingType,
                        <A HREF="../../../../../com/bea/wli/config/Ref.html" title="class in com.bea.wli.config">Ref</A>&nbsp;serviceRef)</PRE>
<DL>
<DD>Gets the unique transport URI for this transport. This method is called when generating effective wsdl per service using this transport. <p>  The namespace could differ depending on the data format binding, e.g. SOAP or XML. <p> If the method does return null or the transport provider does not implement this interface then the system will use default using the following logic. <p> <ul> <li>If transport provider does implement this interface    <ul>    <li>If the method returns not null, use that    <li>Else (compute the default value)       <ul>       <li>If the transport configuration has &lt;default-uri&gt; value set, use that as default.       <li>Else if XML over HTTP binding, default is null.       <li>Else if SOAP 1.1 or 1.2 over HTTP binding, default is "http://schemas.xmlsoap.org/soap/http".       <li>Else if SOAP 1.1 over JMS, default is "http://www.openuri.org/2002/04/soap/jms/".       <li>Else if SOAP 1.2 over JMS, default is "http://www.openuri.org/2002/04/soap12/jms/".       <li>Else default is "http://www.bea.com/transport/2007/05/" + &lt;transport id&gt;       </ul>    </ul> <li>Else    <ul>    <li>If the transport configuration has &lt;default-uri&gt; value set, use that as default.    <li>Else default is "http://www.bea.com/transport/2007/05/" + &lt;transport id&gt;    </ul> </ul>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>endpoint</CODE> - the endpoint configuration for which the        transport URI is required.<DD><CODE>bindingType</CODE> - metadata about the desired binding @return the unique transport URI. If null         default value will be inserted.<DD><CODE>serviceRef</CODE> - service reference may be null. The system will pass in this value        whenever avaialable.        Sometimes (e.g. during offline design time) the service resource may not have been        saved yet so this could be null. Be careful when using it.</DL>
</DD>
</DL>
<HR>

<A NAME="getEndPointAddress(EndPointConfiguration, com.bea.wli.sb.services.BindingTypeInfo.BindingTypeEnum, com.bea.wli.config.Ref)"><!-- --></A><H3>
getEndPointAddress</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/util/List.html" title="class or interface in java.util">List</A>&lt;<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&gt; <B>getEndPointAddress</B>(EndPointConfiguration&nbsp;endpoint,
                                <A HREF="../../../../../com/bea/wli/sb/services/BindingTypeInfo.BindingTypeEnum.html" title="enum in com.bea.wli.sb.services">BindingTypeInfo.BindingTypeEnum</A>&nbsp;bindingType,
                                <A HREF="../../../../../com/bea/wli/config/Ref.html" title="class in com.bea.wli.config">Ref</A>&nbsp;serviceRef)</PRE>
<DL>
<DD>Gets the end point address for the port configured for the given endpoint and binding type. This method is responsible to evaluate any expressions in the end point address of the service configured and return the final absolute end point address. This method is called when generating effecrive wsdl per service using this transport. <p> For proxy service ONLY the first address of the list is used. ALSB will generate one port address element under the service element using the first address of the list for the proxy service. <p> For business service the method can return more than one end point address. ALSB will generate one port address element under service element per address returned by this method for business service. <p> If the method does return null or the transport provider does not implement this interface then the system will use defaults.<br> For proxy service the system just uses the first end point uri on the end point configuration. For business service the system uses all the end point uris on the end point configuration.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>endpoint</CODE> - the endpoint configuration for which the        URI is to be generated.<DD><CODE>bindingType</CODE> - metadata about the desired binding<DD><CODE>serviceRef</CODE> - service reference may be null. The system will pass in this value        whenever avaialable.        Sometimes (e.g. during offline design time) the service resource may not have been        saved yet so this could be null. Be careful when using it.
<DT><B>Returns:</B><DD>List of string contain the end point address.         For proxy service only the first element is used and         for business service list can be of size >= 1.         If return is null or empty defaults will be applied.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../com/bea/wli/sb/transports/ServiceTransportSender.html" title="interface in com.bea.wli.sb.transports"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../com/bea/wli/sb/transports/TransportEndPoint.html" title="interface in com.bea.wli.sb.transports"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../../index.html?com/bea/wli/sb/transports/TransportCustomBindingProvider.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="TransportCustomBindingProvider.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -