📄 transportmanagerhelper.html
字号:
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/bea/wli/sb/transports/TransportManagerHelper.html#hasSSLClientKeyPair(com.bea.wli.sb.transports.TransportProvider, com.bea.wli.config.Ref)">hasSSLClientKeyPair</A></B>(<A HREF="../../../../../com/bea/wli/sb/transports/TransportProvider.html" title="interface in com.bea.wli.sb.transports">TransportProvider</A> provider,
<A HREF="../../../../../com/bea/wli/config/Ref.html" title="class in com.bea.wli.config">Ref</A> skp)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/bea/wli/sb/transports/TransportManagerHelper.html#isAdmin()">isAdmin</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/bea/wli/sb/transports/TransportManagerHelper.html#isStaticServiceAccount(com.bea.wli.config.Ref)">isStaticServiceAccount</A></B>(<A HREF="../../../../../com/bea/wli/config/Ref.html" title="class in com.bea.wli.config">Ref</A> serviceAccount)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/bea/wli/sb/transports/TransportManagerHelper.html#schedule(java.lang.Runnable, java.lang.String)">schedule</A></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> 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> dispatchPolicy)</CODE>
<BR>
Schedule a work instance for execution in another thread associated with specified dispatch policy.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>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><<A HREF="../../../../../com/bea/wli/config/Ref.html" title="class in com.bea.wli.config">Ref</A>></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/bea/wli/sb/transports/TransportManagerHelper.html#searchInstanceIds(java.lang.String, java.lang.String, java.lang.Object)">searchInstanceIds</A></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> 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> 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> keyValue)</CODE>
<BR>
Returns a list of references for instances that has the given keyValue for the given key.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
<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="getTransportManager()"><!-- --></A><H3>
getTransportManager</H3>
<PRE>
public static <A HREF="../../../../../com/bea/wli/sb/transports/TransportManager.html" title="interface in com.bea.wli.sb.transports">TransportManager</A> <B>getTransportManager</B>()
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>Returns an instance of Transport Manager.
<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="isAdmin()"><!-- --></A><H3>
isAdmin</H3>
<PRE>
public static boolean <B>isAdmin</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>whether or not the code is being executed on the admin server
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the caller is offline.</DL>
</DD>
</DL>
<HR>
<A NAME="clusterExists()"><!-- --></A><H3>
clusterExists</H3>
<PRE>
public static boolean <B>clusterExists</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>true if ALSB is deployed in a WLS clustered domain. It always returns false the caller is offline.</DL>
</DD>
</DL>
<HR>
<A NAME="getUsernamePassword(com.bea.wli.sb.transports.TransportProvider, com.bea.wli.config.Ref)"><!-- --></A><H3>
getUsernamePassword</H3>
<PRE>
public static <A HREF="../../../../../com/bea/wli/sb/security/UsernamePassword.html" title="interface in com.bea.wli.sb.security">UsernamePassword</A> <B>getUsernamePassword</B>(<A HREF="../../../../../com/bea/wli/sb/transports/TransportProvider.html" title="interface in com.bea.wli.sb.transports">TransportProvider</A> provider,
<A HREF="../../../../../com/bea/wli/config/Ref.html" title="class in com.bea.wli.config">Ref</A> serviceAccount)
throws <A HREF="../../../../../com/bea/wli/sb/security/CredentialNotFoundException.html" title="class in com.bea.wli.sb.security">CredentialNotFoundException</A></PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>provider</CODE> - transport provider<DD><CODE>serviceAccount</CODE> - a reference to a service account
<DT><B>Returns:</B><DD>the username and password assigned to the service account. Transport providers that need access to credentials during activation can use this interface to lookup a username/password assigned to a service account. This interface should not be used to lookup credentials during outbound messaging
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../com/bea/wli/sb/security/CredentialNotFoundException.html" title="class in com.bea.wli.sb.security">CredentialNotFoundException</A></CODE> - if the service account does not exist or if a username/password has not been assigned to the service account</DL>
</DD>
</DL>
<HR>
<A NAME="isStaticServiceAccount(com.bea.wli.config.Ref)"><!-- --></A><H3>
isStaticServiceAccount</H3>
<PRE>
public static boolean <B>isStaticServiceAccount</B>(<A HREF="../../../../../com/bea/wli/config/Ref.html" title="class in com.bea.wli.config">Ref</A> serviceAccount)
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>Parameters:</B><DD><CODE>serviceAccount</CODE> - a service account reference
<DT><B>Returns:</B><DD><tt>true</tt> if the service account is a <tt>static</tt> service account
<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 there is no service account for the given reference</DL>
</DD>
</DL>
<HR>
<A NAME="getSSLClientKeyPair(com.bea.wli.sb.transports.TransportProvider, com.bea.wli.config.Ref)"><!-- --></A><H3>
getSSLClientKeyPair</H3>
<PRE>
public static weblogic.security.KeyPairCredential <B>getSSLClientKeyPair</B>(<A HREF="../../../../../com/bea/wli/sb/transports/TransportProvider.html" title="interface in com.bea.wli.sb.transports">TransportProvider</A> provider,
<A HREF="../../../../../com/bea/wli/config/Ref.html" title="class in com.bea.wli.config">Ref</A> skp)
throws <A HREF="../../../../../com/bea/wli/sb/security/CredentialNotFoundException.html" title="class in com.bea.wli.sb.security">CredentialNotFoundException</A></PRE>
<DL>
<DD>Returns a key-pair (private key and certificate chain) for SSL client authentication stored on the given service key provider
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>provider</CODE> - the transport provider requesting the key-pair<DD><CODE>skp</CODE> - a reference to a service key provider
<DT><B>Returns:</B><DD>the key-pair
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../com/bea/wli/sb/security/CredentialNotFoundException.html" title="class in com.bea.wli.sb.security">CredentialNotFoundException</A></CODE> - if the service key provider does not exist or does not have a key-pair for SSL client authentication</DL>
</DD>
</DL>
<HR>
<A NAME="hasSSLClientKeyPair(com.bea.wli.sb.transports.TransportProvider, com.bea.wli.config.Ref)"><!-- --></A><H3>
hasSSLClientKeyPair</H3>
<PRE>
public static boolean <B>hasSSLClientKeyPair</B>(<A HREF="../../../../../com/bea/wli/sb/transports/TransportProvider.html" title="interface in com.bea.wli.sb.transports">TransportProvider</A> provider,
<A HREF="../../../../../com/bea/wli/config/Ref.html" title="class in com.bea.wli.config">Ref</A> skp)
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>Parameters:</B><DD><CODE>provider</CODE> - the transport provider requesting the key-pair<DD><CODE>skp</CODE> - a reference to a service key provider
<DT><B>Returns:</B><DD>true if the given service key provider has a key-pair (private key and certificate chain) for SSL client authentication
<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 service key provider does not exist</DL>
</DD>
</DL>
<HR>
<A NAME="getServiceInfo(com.bea.wli.config.Ref)"><!-- --></A><H3>
getServiceInfo</H3>
<PRE>
public static <A HREF="../../../../../com/bea/wli/sb/services/ServiceInfo.html" title="class in com.bea.wli.sb.services">ServiceInfo</A> <B>getServiceInfo</B>(<A HREF="../../../../../com/bea/wli/config/Ref.html" title="class in com.bea.wli.config">Ref</A> 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>Parameters:</B><DD><CODE>ref</CODE> - service reference
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -