reportingdatamanager.html

来自「一个实用的java源程序」· HTML 代码 · 共 502 行 · 第 1/2 页

HTML
502
字号

<!-- ============ 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="getManager()"><!-- --></A><H3>
getManager</H3>
<PRE>
public static <A HREF="../../../../com/bea/wli/reporting/ReportingDataManager.html" title="class in com.bea.wli.reporting">ReportingDataManager</A> <B>getManager</B>()</PRE>
<DL>
<DD>Get server-local singleton reporting data manager
<P>
<DD><DL>

<DT><B>Returns:</B><DD>ReportingDataManager server-local singleton</DL>
</DD>
</DL>
<HR>

<A NAME="shutdown()"><!-- --></A><H3>
shutdown</H3>
<PRE>
public void <B>shutdown</B>()</PRE>
<DL>
<DD>Shutdown removes and closes all Handlers
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="addHandler(com.bea.wli.reporting.ReportingDataHandler)"><!-- --></A><H3>
addHandler</H3>
<PRE>
public void <B>addHandler</B>(<A HREF="../../../../com/bea/wli/reporting/ReportingDataHandler.html" title="interface in com.bea.wli.reporting">ReportingDataHandler</A>&nbsp;handler)</PRE>
<DL>
<DD>Add a reporting data handler to receive reporting data. If there are more than one handlers added, the reporting data would be sent to handlers in the same sequence in which handlers are registered. An implementation of ReportingDataHandler is typically called a provider.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>handler</CODE> - reporting data handler to add<DT><B>See Also:</B><DD><A HREF="../../../../com/bea/wli/reporting/ReportingDataHandler.html" title="interface in com.bea.wli.reporting"><CODE>ReportingDataHandler</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="removeHandler(com.bea.wli.reporting.ReportingDataHandler)"><!-- --></A><H3>
removeHandler</H3>
<PRE>
public void <B>removeHandler</B>(<A HREF="../../../../com/bea/wli/reporting/ReportingDataHandler.html" title="interface in com.bea.wli.reporting">ReportingDataHandler</A>&nbsp;handler)</PRE>
<DL>
<DD>Remove the specified reporting data handler. Returns silently if the given handler is not found or is null.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>handler</CODE> - reporting data handler to remove<DT><B>See Also:</B><DD><A HREF="../../../../com/bea/wli/reporting/ReportingDataHandler.html" title="interface in com.bea.wli.reporting"><CODE>ReportingDataHandler</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getHandlers()"><!-- --></A><H3>
getHandlers</H3>
<PRE>
public <A HREF="../../../../com/bea/wli/reporting/ReportingDataHandler.html" title="interface in com.bea.wli.reporting">ReportingDataHandler</A>[] <B>getHandlers</B>()</PRE>
<DL>
<DD>Get all handlers registered. The handlers are returned in the same sequence in which they are registered using the addHandler method.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>an array of reporting data handler<DT><B>See Also:</B><DD><A HREF="../../../../com/bea/wli/reporting/ReportingDataHandler.html" title="interface in com.bea.wli.reporting"><CODE>ReportingDataHandler</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="handle(org.apache.xmlbeans.XmlObject, java.lang.String)"><!-- --></A><H3>
handle</H3>
<PRE>
public void <B>handle</B>(org.apache.xmlbeans.XmlObject&nbsp;metadata,
                   <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;s)
            throws <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></PRE>
<DL>
<DD>The handle operation takes reporting data in the form of <tt>String</tt> and processes and/or stores in appropriate data store. This is operation supports transaction semantics similar to SUPPORTS attribute of Enterprise Java Beans.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>metadata</CODE> - meta-data for reporting data stream in the form of types defined    in http://www.bea.com/wli/reporting.xsd<DD><CODE>s</CODE> - reporting data
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></CODE> - in case of failure to handle this reporting event<DT><B>See Also:</B><DD><a href=http://e-docs.bea.com/workshop/docs81/doc/en/workshop/java-class/org/apache/xmlbeans/XmlObject.html><tt>org.apache.xmlbeans.XmlObject</tt> </a></DL>
</DD>
</DL>
<HR>

<A NAME="handle(org.apache.xmlbeans.XmlObject, java.io.InputStream)"><!-- --></A><H3>
handle</H3>
<PRE>
public void <B>handle</B>(org.apache.xmlbeans.XmlObject&nbsp;metadata,
                   <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A>&nbsp;is)
            throws <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></PRE>
<DL>
<DD>The handle operation takes reporting data in the form of <tt>InputStream</tt> and processes and/or stores in appropriate data store. This is operation supports transaction semantics similar to SUPPORTS attribute of Enterprise Java Beans.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>metadata</CODE> - meta-data for reporting data stream in the form of types defined    in http://www.bea.com/wli/reporting.xsd<DD><CODE>is</CODE> - reporting data stream
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></CODE> - in case of failure to handle this reporting event<DT><B>See Also:</B><DD><a href=http://e-docs.bea.com/workshop/docs81/doc/en/workshop/java-class/org/apache/xmlbeans/XmlObject.html><tt>org.apache.xmlbeans.XmlObject</tt> </a></DL>
</DD>
</DL>
<HR>

<A NAME="handle(org.apache.xmlbeans.XmlObject, org.apache.xmlbeans.XmlObject)"><!-- --></A><H3>
handle</H3>
<PRE>
public void <B>handle</B>(org.apache.xmlbeans.XmlObject&nbsp;metadata,
                   org.apache.xmlbeans.XmlObject&nbsp;data)
            throws <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></PRE>
<DL>
<DD>The handle operation takes reporting data stream in the form of <tt>XmlObject</tt> and processes and/or stores in appropriate data store. This is operation supports transaction semantics similar to SUPPORTS attribute of Enterprise Java Beans.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>metadata</CODE> - meta-data for reporting data stream in the form of types defined    in http://www.bea.com/wli/reporting.xsd<DD><CODE>data</CODE> - reporting data stream in the form of XmlObject
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></CODE> - in case of failure to handle this reporting event<DT><B>See Also:</B><DD><a href=http://e-docs.bea.com/workshop/docs81/doc/en/workshop/java-class/org/apache/xmlbeans/XmlObject.html><tt>org.apache.xmlbeans.XmlObject</tt> </a></DL>
</DD>
</DL>
<HR>

<A NAME="handle(org.apache.xmlbeans.XmlObject, org.apache.xmlbeans.XmlTokenSource)"><!-- --></A><H3>
handle</H3>
<PRE>
public void <B>handle</B>(org.apache.xmlbeans.XmlObject&nbsp;metadata,
                   org.apache.xmlbeans.XmlTokenSource&nbsp;data)
            throws <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></PRE>
<DL>
<DD>The handle operation takes reporting data stream in the form of <tt>XmlTokenSource</tt> and processes and/or stores in appropriate data store. This is operation supports transaction semantics similar to SUPPORTS attribute of Enterprise Java Beans.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>metadata</CODE> - meta-data for reporting data stream in the form of types defined    in http://www.bea.com/wli/reporting.xsd<DD><CODE>data</CODE> - reporting data stream in the form of XmlTokenSource
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></CODE> - in case of failure to handle this reporting event<DT><B>See Also:</B><DD><a href=http://e-docs.bea.com/workshop/docs81/doc/en/workshop/java-class/org/apache/xmlbeans/XmlTokenSource.html><tt>org.apache.xmlbeans.XmlTokenSource</tt> </a>, 
<a href=http://e-docs.bea.com/workshop/docs81/doc/en/workshop/java-class/org/apache/xmlbeans/XmlObject.html><tt>org.apache.xmlbeans.XmlObject</tt> </a></DL>
</DD>
</DL>
<HR>

<A NAME="handle(org.apache.xmlbeans.XmlObject, java.io.Serializable)"><!-- --></A><H3>
handle</H3>
<PRE>
public void <B>handle</B>(org.apache.xmlbeans.XmlObject&nbsp;metadata,
                   <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A>&nbsp;data)
            throws <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></PRE>
<DL>
<DD>The handle operation takes reporting data stream in the form of <tt>Serializable</tt> object and processes and/or stores in appropriate data store. This is operation supports transaction semantics similar to SUPPORTS attribute of Enterprise Java Beans.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>metadata</CODE> - meta-data for reporting data stream in the form of types defined    in http://www.bea.com/wli/reporting.xsd<DD><CODE>data</CODE> - reporting data stream in the form of Java Serializable object
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></CODE> - in case of failure to handle this reporting event<DT><B>See Also:</B><DD><a href=http://e-docs.bea.com/workshop/docs81/doc/en/workshop/java-class/org/apache/xmlbeans/XmlObject.html><tt>org.apache.xmlbeans.XmlObject</tt> </a></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/reporting/ReportingDataHandler.html" title="interface in com.bea.wli.reporting"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/bea/wli/reporting/ReportingDataManager.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="ReportingDataManager.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 + =
减小字号Ctrl + -
显示快捷键?