|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AnalyticEventHandler
Service-provider interface for AnalyticEventHandler
implementations.
AnalyticEventDispatcher
will load such provider. Id the
Dispatcher fails to load or initialize the event handler a error message will be logged
and no event handling will take place.
NOTE: Implementations of the interface methods must be safe for use by multiple concurrent threads.
Method Summary | |
---|---|
void |
dispose()
Implementation class may perform cleanup operations here. |
void |
init()
Implementation class may perform any one-time initializations here. |
void |
log(AnalyticEvent analyticEvent)
This method is called by the container at the end of each page's and portlet's run. |
Method Detail |
---|
void init()
Implementation class may perform any one-time initializations here. If this method fails (throws an exception) the event handler will not be registered and no event handling will take place.
void log(AnalyticEvent analyticEvent)
This method is called by the container at the end of each page's and portlet's run. It is invoked for every page and portlet on every request. Since this method is called so frequently the implementation must be extremely efficient, or the entire portal's performace will suffer.
analyticEvent
- the event to be logged.void dispose()
Implementation class may perform cleanup operations here. Note: there is no guarantee this method will be called.
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |