|
SCS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
scs.instrumentation.servant.MethodNotification
public class MethodNotification
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 |
|---|
public MethodNotification(java.util.Observer obs)
| Method Detail |
|---|
public void setStatusChanged()
public EventSink getEventSink()
|
SCS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||