public abstract class AbstractQoSPolicy extends java.lang.Object implements QoSPolicy
QoSPolicy.| Constructor and Description |
|---|
AbstractQoSPolicy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addInterceptor(QoSPolicyInterceptor interceptor)
Adds the interceptor.
|
boolean |
addSubject(QoSPolicySubject subject)
Adds the subject.
|
org.ws4d.java.structures.Iterator |
getInterceptors()
Gets the interceptors.
|
org.ws4d.java.structures.Iterator |
getSubjects()
Gets the subjects.
|
org.ws4d.java.structures.Iterator |
getSubjects(java.lang.Class<?> subjectClz)
Gets the subjects.
|
boolean |
isSubjectFor(java.lang.Class<?> subjectClz)
Checks if is subject for.
|
protected boolean |
removeInterceptor(QoSPolicyInterceptor interceptor) |
protected boolean |
removeSubject(QoSPolicySubject subject) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInterceptionDirection, isAbstractPolicy, isTokenRequiredpublic org.ws4d.java.structures.Iterator getSubjects()
QoSPolicygetSubjects in interface QoSPolicypublic boolean isSubjectFor(java.lang.Class<?> subjectClz)
QoSPolicyisSubjectFor in interface QoSPolicysubjectClz - the subject clzpublic org.ws4d.java.structures.Iterator getInterceptors()
QoSPolicygetInterceptors in interface QoSPolicypublic org.ws4d.java.structures.Iterator getSubjects(java.lang.Class<?> subjectClz)
QoSPolicygetSubjects in interface QoSPolicysubjectClz - the subject clzpublic boolean addSubject(QoSPolicySubject subject)
QoSPolicyaddSubject in interface QoSPolicysubject - the subjectprotected boolean removeSubject(QoSPolicySubject subject)
public boolean addInterceptor(QoSPolicyInterceptor interceptor)
QoSPolicyaddInterceptor in interface QoSPolicyinterceptor - the interceptorprotected boolean removeInterceptor(QoSPolicyInterceptor interceptor)