org.jboss.javagroups.protocols
Class EVENT_TRACE

java.lang.Object
  extended byProtocol
      extended byorg.jboss.javagroups.protocols.EVENT_TRACE

public class EVENT_TRACE
extends Protocol

A trival implementation of Protocol that traces all activity through * it to its logger. This should be inserted between any two protocols * you which to view the events between. Its supports a name property that * allows you to insert the element multiple times in a stack to trace * multiple protocols. An example config for the ClusterPartition for such * a usage is: *

   
    
    JNDITestPartition
    
        
           
           
           
           
           
           
           
           

           
           
           
        
     
  
 
* @author Scott.Stark@jboss.org * @version $Revision: 1.4 $

See Also:
Serialized Form

Constructor Summary
EVENT_TRACE()
           
 
Method Summary
 void down(Event event)
           
 java.lang.String getName()
           
 java.lang.String printEventMsg(Message msg)
           
 boolean setProperties(java.util.Properties props)
           
 void up(Event event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EVENT_TRACE

public EVENT_TRACE()
Method Detail

getName

public java.lang.String getName()

setProperties

public boolean setProperties(java.util.Properties props)
Parameters:
props - * @return

up

public void up(Event event)

down

public void down(Event event)

printEventMsg

public java.lang.String printEventMsg(Message msg)