| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ReportingDataHandler
A reporting handler takes reporting data stream and processes it. The handler could process and/or store this stream in relational database, file, JMS queue, etc. The implementation of this interface is typically called a reporting provider.
 Example:
 
  
 public class MyReportingDataHandler implements ReportingDataHandler
 {
    public void handle(XmlObject metadata, InputStream is)
          throws Exception
    {
       ...
    }
    //... other handler method implementations
 }
 
 import com.bea.wli.reporting.ReportingDataHandler;
 import org.apache.xmlbeans.XmlObject;
 import org.apache.xmlbeans.XmlTokenSource;
 import java.io.InputStream;
 
 
ReportingDataManager| Method Summary | |
|---|---|
|  void | close()Close this ReportingDataHandler and free all associated resources. | 
|  void | flush()Flush any reporting data if it was buffered. | 
|  void | handle(org.apache.xmlbeans.XmlObject metadata,
       InputStream is)The handle operation takes reporting data in the form of InputStream and processes and/or stores in appropriate data store. | 
|  void | handle(org.apache.xmlbeans.XmlObject metadata,
       Serializable data)The handle operation takes reporting data stream in the form of Serializable object and processes and/or stores in appropriate data store. | 
|  void | handle(org.apache.xmlbeans.XmlObject metadata,
       String s)The handle operation takes reporting data in the form of String and processes and/or stores in appropriate data store. | 
|  void | handle(org.apache.xmlbeans.XmlObject metadata,
       org.apache.xmlbeans.XmlObject data)The handle operation takes reporting data stream in the form of XmlObject and processes and/or stores in appropriate data store. | 
|  void | handle(org.apache.xmlbeans.XmlObject metadata,
       org.apache.xmlbeans.XmlTokenSource data)The handle operation takes reporting data stream in the form of XmlTokenSource and processes and/or stores in appropriate data store. | 
| Method Detail | 
|---|
void handle(org.apache.xmlbeans.XmlObject metadata,
            String s)
            throws Exception
metadata - meta-data for reporting data stream in the form of data types defined
    in several reporting schemas under namespace http://www.bea.com/wli/reporting. These could be
    MessageReporting.xsd, AlertReporting.xsd, etc.s - reporting data
Exception - in case of failure to handle this reporting event
void handle(org.apache.xmlbeans.XmlObject metadata,
            InputStream is)
            throws Exception
metadata - meta-data for reporting data stream in the form of types defined
    in http://www.bea.com/wli/reporting.xsdis - reporting data stream
Exception - in case of failure to handle this reporting event
void handle(org.apache.xmlbeans.XmlObject metadata,
            org.apache.xmlbeans.XmlObject data)
            throws Exception
metadata - meta-data for reporting data stream in the form of types defined
    in http://www.bea.com/wli/reporting.xsddata - reporting data stream in the form of XmlObject
Exception - in case of failure to handle this reporting event
void handle(org.apache.xmlbeans.XmlObject metadata,
            org.apache.xmlbeans.XmlTokenSource data)
            throws Exception
metadata - meta-data for reporting data stream in the form of types defined
    in http://www.bea.com/wli/reporting.xsddata - reporting data stream in the form of XmlTokenSource
Exception - in case of failure to handle this reporting event
void handle(org.apache.xmlbeans.XmlObject metadata,
            Serializable data)
            throws Exception
metadata - meta-data for reporting data stream in the form of types defined
    in http://www.bea.com/wli/reporting.xsddata - reporting data stream in the form of Java Serializable object
Exception - in case of failure to handle this reporting eventvoid close()
ReportingDataManager.removeHandler(com.bea.wli.reporting.ReportingDataHandler)void flush()
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||