|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.janrufmonitor.exception.PropagationFactory
public class PropagationFactory
This class is a exception propagation factory object. Single propagators can be added to the factory and are notified on exception events.
| Method Summary | |
|---|---|
void |
add(IPropagator p)
Adds a new propagator to the factory. |
void |
fire(Message m)
Fires a propagator event with an exception object. |
void |
fire(Message m,
String id)
Fires a propagator event with an exception object for a specific propagator id. |
static PropagationFactory |
getInstance()
Gets a valid instacne of the PropagationFactory. |
void |
remove(IPropagator p)
Removes a propagator from the factory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static PropagationFactory getInstance()
public void add(IPropagator p)
p - public void remove(IPropagator p)
p - public void fire(Message m)
m -
public void fire(Message m,
String id)
m - id -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||