|
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 | ||||||||
java.lang.Objectcom.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 EventListenerpublic void handleEvent(Event theEvent)
handleEvent in interface EventListenertheEvent - subclass of TrackingEvent to be written to the databasepublic boolean equals(Object theOther)
equals in class Objectpublic int hashCode()
java.util.Hashtable.
hashCode in class Object
|
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 | ||||||||