public interface Checker
public void getHeadersByRole(final String role) {
return new HeaderIterator() {
public boolean checkHeader(SOAPHeaderBlock header) {
...
if (role.equals(headerRole)) return true;
return false;
}
}
}
...but there appears to be some kind of weird problem with the JVM not correctly scoping the
passed "role" value in a situation like the above. As such, we have to make Checker objects
instead (sigh).| Modifier and Type | Method and Description |
|---|---|
boolean |
checkHeader(org.apache.axiom.soap.SOAPHeaderBlock header) |
Copyright © The Apache Software Foundation. All Rights Reserved.