|
Oracle Fusion Middleware Java API Reference for Oracle Service Bus 11g Release 1 (11.1.1.3) E15033-01 |
||||||||
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:
import com.bea.wli.reporting.ReportingDataHandler; import org.apache.xmlbeans.XmlObject; import org.apache.xmlbeans.XmlTokenSource; import java.io.InputStream;
public class MyReportingDataHandler implements ReportingDataHandler { public void handle(XmlObject metadata, InputStream is) throws Exception { ... } //... other handler method implementations }
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, java.io.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, java.io.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, java.lang.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, java.lang.String s) throws java.lang.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 datajava.lang.Exception
- in case of failure to handle this reporting eventvoid handle(org.apache.xmlbeans.XmlObject metadata, java.io.InputStream is) throws java.lang.Exception
metadata
- meta-data for reporting data stream in the form of types defined in http://www.bea.com/wli/reporting.xsdis
- reporting data streamjava.lang.Exception
- in case of failure to handle this reporting eventvoid handle(org.apache.xmlbeans.XmlObject metadata, org.apache.xmlbeans.XmlObject data) throws java.lang.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 XmlObjectjava.lang.Exception
- in case of failure to handle this reporting eventvoid handle(org.apache.xmlbeans.XmlObject metadata, org.apache.xmlbeans.XmlTokenSource data) throws java.lang.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 XmlTokenSourcejava.lang.Exception
- in case of failure to handle this reporting eventvoid handle(org.apache.xmlbeans.XmlObject metadata, java.io.Serializable data) throws java.lang.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 objectjava.lang.Exception
- in case of failure to handle this reporting eventvoid close()
ReportingDataManager.removeHandler(com.bea.wli.reporting.ReportingDataHandler)
void flush()
|
Oracle Fusion Middleware Java API Reference for Oracle Service Bus 11g Release 1 (11.1.1.3) E15033-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |