|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.muse.ws.resource.properties.listeners.AbstractChangeApprover
org.apache.muse.ws.resource.metadata.impl.ReadOnlyApprover
ReadOnlyApprover is a PropertyChangeApprover that prevents modifications to read-only properties. It throws an exception for any and all attempts to change a property.
| Constructor Summary | |
|---|---|
ReadOnlyApprover(QName qname)
|
|
| Method Summary | |
|---|---|
void |
validateChange(org.w3c.dom.Element oldValue,
org.w3c.dom.Element newValue,
java.lang.Object token)
Always throws an exception - no changes are allowed for read-only properties. |
| Methods inherited from class org.apache.muse.ws.resource.properties.listeners.AbstractChangeApprover |
|---|
getPropertyName, isSecure, setSecurityToken |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ReadOnlyApprover(QName qname)
| Method Detail |
public void validateChange(org.w3c.dom.Element oldValue,
org.w3c.dom.Element newValue,
java.lang.Object token)
throws BaseFault
oldValue - The current (about to be "old") value of the resource property.
This should be null if the change is a WS-RP Insert.newValue - The potential new value of the resource property. This should
be null if the change is a WS-RP Delete.token - The security token provided by the caller who wishes to make
the property change.
BaseFault -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||