|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.bus.support.AbstractSubscriber<PropertyChangeMessage>
net.sf.doolin.bus.support.PropertyChangeSubscriber
public class PropertyChangeSubscriber
This subscriber listens to property changes on a particular bean.
| Constructor Summary | |
|---|---|
PropertyChangeSubscriber(String executionDescription,
SubscriberValidator validator,
Object bean,
String propertyName,
PropertyChangeListener propertyChangeListener)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
accept(PropertyChangeMessage message)
Checks the message |
String |
getExecutionDescription()
Describes the execution. |
String |
getTriggerDescription()
Description for the trigger |
void |
receive(PropertyChangeMessage message)
This method called whenever a message is received. |
| Methods inherited from class net.sf.doolin.bus.support.AbstractSubscriber |
|---|
getMessageClass, getValidatorDescription, isValid, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyChangeSubscriber(String executionDescription,
SubscriberValidator validator,
Object bean,
String propertyName,
PropertyChangeListener propertyChangeListener)
executionDescription - Description of the action that is performed by this subscribervalidator - Subscription validatorbean - Bean to listen topropertyName - Property path to listen to or null if all
properties must be listened topropertyChangeListener - Listener for the changes| Method Detail |
|---|
public boolean accept(PropertyChangeMessage message)
SubscriberTrigger
public String getExecutionDescription()
SubscriberExecution
public String getTriggerDescription()
SubscriberTrigger
public void receive(PropertyChangeMessage message)
SubscriberExecution
message - Message to handle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||