|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.bea.p13n.tracking.listeners.BehaviorTrackingListener
public class BehaviorTrackingListener
EventListener to handle all behavior tracking events. Events are persisted to the database. This class should be added to the property eventService.listeners in order to enable behavior tracking.
Constructor Summary | |
---|---|
BehaviorTrackingListener() Construct an instance of the listener and populate the eventTypes array with the event types that this listener will listen for. |
Method Summary | |
---|---|
boolean |
equals(Object theOther) Implementation of equals so multiple listeners won't be added to the same handler. |
String[] |
getTypes() This method lets the EventListener advertise what types it is interested in. |
void |
handleEvent(Event theEvent) Handle the event. |
int |
hashCode() Returns a hash code value for the object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BehaviorTrackingListener()
Method Detail |
---|
public String[] getTypes()
EventListener
getTypes
in interface EventListener
public void handleEvent(Event theEvent)
handleEvent
in interface EventListener
theEvent
- subclass of TrackingEvent to be written to the databasepublic boolean equals(Object theOther)
equals
in class Object
public int hashCode()
java.util.Hashtable
.hashCode
in class Object
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.