📄 transportmanager.html
字号:
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/bea/wli/sb/transports/TransportManager.html#registerProvider(com.bea.wli.sb.transports.TransportProvider, com.bea.wli.sb.sources.Transformer)">registerProvider</A></B>(<A HREF="../../../../../com/bea/wli/sb/transports/TransportProvider.html" title="interface in com.bea.wli.sb.transports">TransportProvider</A> p,
<A HREF="../../../../../com/bea/wli/sb/sources/Transformer.html" title="interface in com.bea.wli.sb.sources">Transformer</A> t)</CODE>
<BR>
Registers a new provider with the transport manager.</TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_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>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="TRANSPORT_STATUS_OK"><!-- --></A><H3>
TRANSPORT_STATUS_OK</H3>
<PRE>
static final int <B>TRANSPORT_STATUS_OK</B></PRE>
<DL>
<DD>transport specific status code that indicates success
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.bea.wli.sb.transports.TransportManager.TRANSPORT_STATUS_OK">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TRANSPORT_STATUS_ERROR"><!-- --></A><H3>
TRANSPORT_STATUS_ERROR</H3>
<PRE>
static final int <B>TRANSPORT_STATUS_ERROR</B></PRE>
<DL>
<DD>transport specific status code that indicates generic error
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.bea.wli.sb.transports.TransportManager.TRANSPORT_STATUS_ERROR">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TRANSPORT_STATUS_APPLICATION_ERROR"><!-- --></A><H3>
TRANSPORT_STATUS_APPLICATION_ERROR</H3>
<PRE>
static final int <B>TRANSPORT_STATUS_APPLICATION_ERROR</B></PRE>
<DL>
<DD>transport specific status code that indicates application error
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.bea.wli.sb.transports.TransportManager.TRANSPORT_STATUS_APPLICATION_ERROR">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TRANSPORT_STATUS_CONNECTION_ERROR"><!-- --></A><H3>
TRANSPORT_STATUS_CONNECTION_ERROR</H3>
<PRE>
static final int <B>TRANSPORT_STATUS_CONNECTION_ERROR</B></PRE>
<DL>
<DD>transport specific status code that indicates connection error
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.bea.wli.sb.transports.TransportManager.TRANSPORT_STATUS_CONNECTION_ERROR">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TRANSPORT_RESOURCE_NAME"><!-- --></A><H3>
TRANSPORT_RESOURCE_NAME</H3>
<PRE>
static final <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>TRANSPORT_RESOURCE_NAME</B></PRE>
<DL>
<DD>internal name used by monitoring subsystem
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.bea.wli.sb.transports.TransportManager.TRANSPORT_RESOURCE_NAME">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TRANSPORT_ERROR_GENERIC"><!-- --></A><H3>
TRANSPORT_ERROR_GENERIC</H3>
<PRE>
static final <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>TRANSPORT_ERROR_GENERIC</B></PRE>
<DL>
<DD>String representation of generic error code
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.bea.wli.sb.transports.TransportManager.TRANSPORT_ERROR_GENERIC">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TRANSPORT_ERROR_APPLICATION"><!-- --></A><H3>
TRANSPORT_ERROR_APPLICATION</H3>
<PRE>
static final <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>TRANSPORT_ERROR_APPLICATION</B></PRE>
<DL>
<DD>String representation of application error code. Transport Providers use this error code to indicate application errors to the TransportSDK.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.bea.wli.sb.transports.TransportManager.TRANSPORT_ERROR_APPLICATION">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TRANSPORT_ERROR_THROTTLING_OVERLOAD"><!-- --></A><H3>
TRANSPORT_ERROR_THROTTLING_OVERLOAD</H3>
<PRE>
static final <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>TRANSPORT_ERROR_THROTTLING_OVERLOAD</B></PRE>
<DL>
<DD>String representation of a transport error due to throttling. The target throttled business service could not process any more message and there is no throttling queue configured for receiving backlog messages.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.bea.wli.sb.transports.TransportManager.TRANSPORT_ERROR_THROTTLING_OVERLOAD">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TRANSPORT_ERROR_THROTTLING_EXPIRED"><!-- --></A><H3>
TRANSPORT_ERROR_THROTTLING_EXPIRED</H3>
<PRE>
static final <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>TRANSPORT_ERROR_THROTTLING_EXPIRED</B></PRE>
<DL>
<DD>String representation of a transport error due to throttling. The message expired while waiting in the throttling queue to be processed by a throttled business service.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.bea.wli.sb.transports.TransportManager.TRANSPORT_ERROR_THROTTLING_EXPIRED">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TRANSPORT_ERROR_THROTTLING_QUEUE"><!-- --></A><H3>
TRANSPORT_ERROR_THROTTLING_QUEUE</H3>
<PRE>
static final <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>TRANSPORT_ERROR_THROTTLING_QUEUE</B></PRE>
<DL>
<DD>String representation of a transport error due to throttling. The target throttled business service could not process the message. The message couldn't be inserted in the throttling queue because the queue is full and the message priority is lower than the messages already in this queue.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.bea.wli.sb.transports.TransportManager.TRANSPORT_ERROR_THROTTLING_QUEUE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TRANSPORT_ERROR_CONNECTION"><!-- --></A><H3>
TRANSPORT_ERROR_CONNECTION</H3>
<PRE>
static final <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>TRANSPORT_ERROR_CONNECTION</B></PRE>
<DL>
<DD>String representation of connection error code. Transport Providers use this error code to indicate connection errors to the TransportSDK.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.bea.wli.sb.transports.TransportManager.TRANSPORT_ERROR_CONNECTION">Constant Field Values</A></DL>
</DL>
<!-- ============ 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="registerProvider(com.bea.wli.sb.transports.TransportProvider, com.bea.wli.sb.sources.Transformer)"><!-- --></A><H3>
registerProvider</H3>
<PRE>
void <B>registerProvider</B>(<A HREF="../../../../../com/bea/wli/sb/transports/TransportProvider.html" title="interface in com.bea.wli.sb.transports">TransportProvider</A> p,
<A HREF="../../../../../com/bea/wli/sb/sources/Transformer.html" title="interface in com.bea.wli.sb.sources">Transformer</A> t)
throws <A HREF="../../../../../com/bea/wli/sb/transports/TransportException.html" title="class in com.bea.wli.sb.transports">TransportException</A></PRE>
<DL>
<DD>Registers a new provider with the transport manager. This is typically called by the transport provider抯 ApplicationLifeCycleListener postStart() method. Optional transformer argument allows the transport provider or ALSB runtime to perform custom transformations from custom Source-derived classes to one or more of standard results.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p</CODE> - new tramsport provider to be registered with ALSB subsystem<DD><CODE>t</CODE> - transformer for those provider that support custom sources and tranbsformations. Maybe null.
<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 an exception occurred.</DL>
</DD>
</DL>
<HR>
<A NAME="receiveMessage(com.bea.wli.sb.transports.InboundTransportMessageContext, com.bea.wli.sb.transports.TransportOptions)"><!-- --></A><H3>
receiveMessage</H3>
<PRE>
void <B>receiveMessage</B>(<A HREF="../../../../../com/bea/wli/sb/transports/InboundTransportMessageContext.html" title="interface in com.bea.wli.sb.transports">InboundTransportMessageContext</A> ctx,
<A HREF="../../../../../com/bea/wli/sb/transports/TransportOptions.html" title="class in com.bea.wli.sb.transports">TransportOptions</A> options)
throws <A HREF="../../../../../com/bea/wli/sb/transports/TransportException.html" title="class in com.bea.wli.sb.transports">TransportException</A></PRE>
<DL>
<DD>Processes an inbound message: the caller is the transport endpoint implementation, and transport manager passes the message context down to the router manager, which sends the incoming message down the request pipeline. The TransportManager will eventually put a response (if any) into the InboundTransportMessageContext and signal its readiness to be sent by calling InboundTransportMessageContext.close().
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ctx</CODE> - message context created by transport provider<DD><CODE>options</CODE> - provider-supplied directives on processing the message, e.g. desired quality of 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> - if an exception occurred.</DL>
</DD>
</DL>
<HR>
<A NAME="getTransformer()"><!-- --></A><H3>
getTransformer</H3>
<PRE>
<A HREF="../../../../../com/bea/wli/sb/sources/Transformer.html" title="interface in com.bea.wli.sb.sources">Transformer</A> <B>getTransformer</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>the 搖ber
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -