|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.log4j.rule.AbstractRule
public abstract class AbstractRule
An abstract Rule class that provides the PropertyChange support plumbing.
Constructor Summary | |
---|---|
AbstractRule()
|
Method Summary | |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
Add property change listener. |
void |
firePropertyChange(java.beans.PropertyChangeEvent evt)
Send property change notification to attached listeners. |
protected void |
firePropertyChange(java.lang.String propertyName,
java.lang.Object oldVal,
java.lang.Object newVal)
Send property change notification to attached listeners. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
Remove property change listener. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.log4j.rule.Rule |
---|
evaluate |
Constructor Detail |
---|
public AbstractRule()
Method Detail |
---|
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
addPropertyChangeListener
in interface Rule
l
- listener.public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
removePropertyChangeListener
in interface Rule
l
- listener.protected void firePropertyChange(java.lang.String propertyName, java.lang.Object oldVal, java.lang.Object newVal)
propertyName
- property name.oldVal
- old value.newVal
- new value.public void firePropertyChange(java.beans.PropertyChangeEvent evt)
evt
- property change event.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010 The Apache Software Foundation. Licensed under the Apache License, Version 2.0
Apache Extras Companion for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.