|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openpermis.policy.bean.basic.BasicPropertyForwarder
public class BasicPropertyForwarder
Forwarder for bean part property changes.
Once registered at a bean part it will observe changes and register itself as listener for any bean part value changes. Any changes in contained bean parts will then be forwarded.
Constructor Summary | |
---|---|
BasicPropertyForwarder(PartBean partBean,
PropertyChangeSupport propertyChangeSupport)
Creates and registers new basic property forwarder for the specified part bean. |
Method Summary | |
---|---|
protected void |
attach(String propertyName,
Object obj)
Attaches this forwarder as a change listener to the specified object. |
protected void |
detach(String propertyName,
Object obj)
Detaches this forwarder as a change listener from the specified object. |
protected void |
forward(PropertyChangeEvent event)
Forwards this event to listeners of the owner part bean. |
void |
propertyChange(PropertyChangeEvent event)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicPropertyForwarder(PartBean partBean, PropertyChangeSupport propertyChangeSupport)
partBean
- the part bean for which to forward contained part bean property changes.propertyChangeSupport
- the property change support to use for forwarding.Method Detail |
---|
protected void detach(String propertyName, Object obj)
If the object is a PartBean
it simply detaches itself.
If the object is a Collection
it will detach itself deeply.
propertyName
- the name of the property that caused the detach.obj
- the object to detach from, may be null
.protected void attach(String propertyName, Object obj)
If the object is a PartBean
it simply attaches itself.
If the object is a Collection
it will attach itself deeply.
propertyName
- the name of the property that caused the attach.obj
- the object to attach to, may be null
.protected void forward(PropertyChangeEvent event)
The event forwarded will have the same propagation ID as the event passed in.
event
- the event to forward, source must not be null
.public void propertyChange(PropertyChangeEvent event)
propertyChange
in interface PropertyChangeListener
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:14:49
Copyright (c) 2002-2007 Ergon Informatik AG