SCS

scs.instrumentation.servant
Class MethodNotification

java.lang.Object
  extended by java.util.Observable
      extended by scs.instrumentation.servant.MethodNotification

public class MethodNotification
extends java.util.Observable

Classe que facilita o tratamento de notificacoes de metodos a partir do Interceptor de estatisticas Deriva de Observable para que os clientes da notificacao possam implementar a interface observer e simplificar o tratamento da notificacao.


Nested Class Summary
 class MethodNotification.NotificationEventSinkServant
          Inner class que implementa um event sink que recebe a notificacao a partir do channel correspondente e envia para os observers
 
Constructor Summary
MethodNotification(java.util.Observer obs)
          Construtor da classe de notificacao que recebe o observer que ira ser notificado da chamada do metodo.
 
Method Summary
 EventSink getEventSink()
           
 void setStatusChanged()
           
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodNotification

public MethodNotification(java.util.Observer obs)
Construtor da classe de notificacao que recebe o observer que ira ser notificado da chamada do metodo.

Method Detail

setStatusChanged

public void setStatusChanged()

getEventSink

public EventSink getEventSink()

SCS