|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourcePropertyListeners
ResourcePropertyListeners defines operations for WS-RP implementations that allow users to monitor activity on the document and subscribe to notifications about that activity. Because the concepts of validation and notifications are often used together, this interface also defines a set of operations for applying a schema and metadata restrictions to the WS-RP document.
ResourcePropertyCollection
Method Summary | |
---|---|
void |
addChangeApprover(PropertyChangeApprover approver)
Associates the given approver with the appropriate property. |
void |
addChangeListener(PropertyChangeListener listener)
Associates the given listener with the appropriate property. |
void |
addReadListener(PropertyReadListener listener)
Associates the given listener with the appropriate property. |
Iterator |
getChangeApprovers(QName property)
|
Iterator |
getChangeListeners(QName property)
|
Iterator |
getReadListeners(QName property)
|
void |
removeChangeApprover(PropertyChangeApprover approver)
Removes the assocation between the given approver and its property. |
void |
removeChangeListener(PropertyChangeListener listener)
Removes the assocation between the given listener and its property. |
void |
removeReadListener(PropertyReadListener listener)
Removes the assocation between the given listener and its property. |
Method Detail |
---|
void addChangeApprover(PropertyChangeApprover approver)
approver
- The approver that will be notified of all pending changes.PropertyChangeApprover.getPropertyName()
,
removeChangeApprover(PropertyChangeApprover)
void addChangeListener(PropertyChangeListener listener)
listener
- The listener that will be notified of all completed changes.PropertyChangeListener.getPropertyName()
,
removeChangeListener(PropertyChangeListener)
void addReadListener(PropertyReadListener listener)
listener
- The listener that will be notified of all pending read requests.PropertyReadListener.getPropertyName()
,
removeReadListener(PropertyReadListener)
Iterator getChangeApprovers(QName property)
Iterator getChangeListeners(QName property)
Iterator getReadListeners(QName property)
void removeChangeApprover(PropertyChangeApprover approver)
approver
- void removeChangeListener(PropertyChangeListener listener)
listener
- void removeReadListener(PropertyReadListener listener)
listener
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |