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

📄 transportmanagerhelper.html

📁 一个实用的java源程序
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<DT><B>Returns:</B><DD>service information, i.e. binding, transport configuration, etc. for corresponding service
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../com/bea/wli/sb/transports/TransportException.html" title="class in com.bea.wli.sb.transports">TransportException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="searchInstanceIds(java.lang.String, java.lang.String, java.lang.Object)"><!-- --></A><H3>
searchInstanceIds</H3>
<PRE>
public static <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="../../../../../com/bea/wli/config/Ref.html" title="class in com.bea.wli.config">Ref</A>&gt; <B>searchInstanceIds</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;typeId,
                                          <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;keyName,
                                          <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;keyValue)
                                   throws <A HREF="../../../../../com/bea/wli/sb/transports/TransportException.html" title="class in com.bea.wli.sb.transports">TransportException</A></PRE>
<DL>
<DD>Returns a list of references for instances that has the given keyValue for the given key. Can be used by transport providers to search for all services that match a certain search criteria.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>keyName</CODE> - can be one of the defined type ids, e.g. Refs.PROXY_REF. Also see <A HREF="../../../../../com/bea/wli/sb/util/Refs.html" title="class in com.bea.wli.sb.util"><CODE>Refs</CODE></A><DD><CODE>keyValue</CODE> - can be one of the defined queries, e.g. ProxyServiceQuery.KEY_PROXYURI. Also see <A HREF="../../../../../com/bea/wli/sb/management/query/ProxyServiceQuery.html" title="class in com.bea.wli.sb.management.query"><CODE>ProxyServiceQuery</CODE></A> and <A HREF="../../../../../com/bea/wli/sb/management/query/BusinessServiceQuery.html" title="class in com.bea.wli.sb.management.query"><CODE>BusinessServiceQuery</CODE></A>
<DT><B>Returns:</B><DD>a list of references for instances that has the given keyValue for the given key. Returns empty list if none found.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../com/bea/wli/sb/transports/TransportException.html" title="class in com.bea.wli.sb.transports">TransportException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="schedule(java.lang.Runnable, java.lang.String)"><!-- --></A><H3>
schedule</H3>
<PRE>
public static void <B>schedule</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Runnable.html" title="class or interface in java.lang">Runnable</A>&nbsp;runnable,
                            <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;dispatchPolicy)
                     throws <A HREF="../../../../../com/bea/wli/sb/transports/TransportException.html" title="class in com.bea.wli.sb.transports">TransportException</A></PRE>
<DL>
<DD>Schedule a work instance for execution in another thread associated with specified dispatch policy. This method can be used by transport providers to post the results of outbound blocking message call back to ALSB response pipeline on a different thread than that on which the incoming request method was received. Dispatch policies can be configured with WLS console by the way of registering new Work Managers in the domain. If dispatchPolicy argument is null, the default dispatch policy will be used. Other semantics:    o   Runnable.run() will be called in the context of the security subject, if any, that was present at the time schedule() was invoked.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>runnable</CODE> - action to execute asynchronously<DD><CODE>dispatchPolicy</CODE> - name of the WLS WorkManager which will be used to execute the Runnable.run action. Maybe null, in which case the default work manager will be used.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../com/bea/wli/sb/transports/TransportException.html" title="class in com.bea.wli.sb.transports">TransportException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getDispatchPolicies()"><!-- --></A><H3>
getDispatchPolicies</H3>
<PRE>
public static <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/util/Set.html" title="class or interface in java.util">Set</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>getDispatchPolicies</B>()
                                       throws <A HREF="../../../../../com/bea/wli/sb/transports/TransportException.html" title="class in com.bea.wli.sb.transports">TransportException</A></PRE>
<DL>
<DD>Returns the set of dispatch policies available on the server. This method can only be invoked in online mode. Otherwise, it will throw TransportException. Use <A HREF="../../../../../com/bea/wli/sb/transports/TransportManagerHelper.html#getDispatchPolicies(javax.management.remote.JMXConnector)"><CODE>getDispatchPolicies(JMXConnector connector)</CODE></A> if you for transports implementation that supports offline mode.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>list of all available dispatch policies in ALSB domain
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../com/bea/wli/sb/transports/TransportException.html" title="class in com.bea.wli.sb.transports">TransportException</A></CODE> - if the caller of this method is offline.</DL>
</DD>
</DL>
<HR>

<A NAME="getDispatchPolicies(javax.management.remote.JMXConnector)"><!-- --></A><H3>
getDispatchPolicies</H3>
<PRE>
public static <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/util/Set.html" title="class or interface in java.util">Set</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>getDispatchPolicies</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/management/remote/JMXConnector.html" title="class or interface in javax.management.remote">JMXConnector</A>&nbsp;connector)
                                       throws <A HREF="../../../../../com/bea/wli/sb/transports/TransportException.html" title="class in com.bea.wli.sb.transports">TransportException</A></PRE>
<DL>
<DD><DL>

<DT><B>Returns:</B><DD>list of all available dispatch policies in ALSB domain
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../com/bea/wli/sb/transports/TransportException.html" title="class in com.bea.wli.sb.transports">TransportException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getDomainRuntimeService(javax.management.remote.JMXConnector)"><!-- --></A><H3>
getDomainRuntimeService</H3>
<PRE>
public static weblogic.management.mbeanservers.domainruntime.DomainRuntimeServiceMBean <B>getDomainRuntimeService</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/management/remote/JMXConnector.html" title="class or interface in javax.management.remote">JMXConnector</A>&nbsp;connector)
                                                                                                        throws <A HREF="../../../../../com/bea/wli/sb/transports/TransportException.html" title="class in com.bea.wli.sb.transports">TransportException</A></PRE>
<DL>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../com/bea/wli/sb/transports/TransportException.html" title="class in com.bea.wli.sb.transports">TransportException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getWsdlDescription(com.bea.wli.config.Ref)"><!-- --></A><H3>
getWsdlDescription</H3>
<PRE>
public static <A HREF="../../../../../com/bea/wli/sb/resources/WsdlDescription.html" title="interface in com.bea.wli.sb.resources">WsdlDescription</A> <B>getWsdlDescription</B>(<A HREF="../../../../../com/bea/wli/config/Ref.html" title="class in com.bea.wli.config">Ref</A>&nbsp;ref)
                                          throws <A HREF="../../../../../com/bea/wli/sb/transports/TransportException.html" title="class in com.bea.wli.sb.transports">TransportException</A></PRE>
<DL>
<DD><DL>

<DT><B>Returns:</B><DD>Wsdl associated with this service, if any. Returns null for non WSDL-based services.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../com/bea/wli/sb/transports/TransportException.html" title="class in com.bea.wli.sb.transports">TransportException</A></CODE> - an exception occurred.</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/TransportManager.html" title="interface in com.bea.wli.sb.transports"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../com/bea/wli/sb/transports/TransportMessageContext.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/TransportManagerHelper.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="TransportManagerHelper.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 + -