|
|||||||||
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 com.bea.xml.XmlObject;
import com.bea.xml.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(com.bea.xml.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(com.bea.xml.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(com.bea.xml.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(com.bea.xml.XmlObject metadata,
com.bea.xml.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(com.bea.xml.XmlObject metadata,
com.bea.xml.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(com.bea.xml.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 eventvoid handle(com.bea.xml.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 eventvoid handle(com.bea.xml.XmlObject metadata, com.bea.xml.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 eventvoid handle(com.bea.xml.XmlObject metadata, com.bea.xml.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 eventvoid handle(com.bea.xml.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 |