|
Oracle Fusion Middleware Java API Reference for Oracle Service Bus 11g Release 1 (11.1.1.7) E15033-09 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
com.bea.wli.reporting.ReportingDataManager
public class ReportingDataManager
ReportingDataManager is a server-local singleton object that keeps registry of reporting providers (a reporting provider implements ReportingDataHandler). It provides operations to add and remove reporting data handlers in addition to operation to export/handle reporting data stream.
Example:
Registering a reporting provider ...
import com.bea.wli.reporting.*; ... ReportingDataManager rmgr = ReportingDataManager.getManager(); MyReportingDataHandler myH = new MyReportingDataHandler(); rmgr.addHandler(myH);
Unregistering a reporting provider...
rmgr.removeHandler(myH);
If the provider is deployed in the form of a J2EE Application, addHandler and removeHandler methods could be called in postStart and preStop operations respectively of an implementation of weblogic.application.ApplicationLifeCycleListener in the application.
ReportingDataHandler| Method Summary | |
|---|---|
void |
addHandler(ReportingDataHandler handler)Add a reporting data handler to receive reporting data. |
ReportingDataHandler[] |
getHandlers()Get all handlers registered. |
static ReportingDataManager |
getManager()Get server-local singleton reporting data manager |
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. |
void |
removeHandler(ReportingDataHandler handler)Remove the specified reporting data handler. |
void |
shutdown()Shutdown removes and closes all Handlers |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ReportingDataManager getManager()
public void shutdown()
public void addHandler(ReportingDataHandler handler)
handler - reporting data handler to addReportingDataHandlerpublic void removeHandler(ReportingDataHandler handler)
handler - reporting data handler to removeReportingDataHandlerpublic ReportingDataHandler[] getHandlers()
ReportingDataHandler
public 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 types defined in http://www.bea.com/wli/reporting.xsds - reporting datajava.lang.Exception - in case of failure to handle this reporting event
public void 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 event
public void 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 event
public void 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 event
public void 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 event
|
Oracle Fusion Middleware Java API Reference for Oracle Service Bus 11g Release 1 (11.1.1.7) E15033-09 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||