diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-15 19:18:31 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-15 19:18:31 +0000 |
commit | b5795f0876b7ceea20bdb523327af217af5a318b (patch) | |
tree | 65f61fdd3dc6b2a7b66f13f6d9e6bce3eaeefe98 /sca-java-2.x/trunk/modules/policy-wspolicy/src/main/java/org/apache/tuscany/sca/policy/wspolicy/WSPolicy.java | |
parent | bddbbfc4ecf8bd9f76c17360e7050877e8e242d2 (diff) |
A bit more progress on the ws policy model. Not working yet.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@899766 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/policy-wspolicy/src/main/java/org/apache/tuscany/sca/policy/wspolicy/WSPolicy.java')
-rw-r--r-- | sca-java-2.x/trunk/modules/policy-wspolicy/src/main/java/org/apache/tuscany/sca/policy/wspolicy/WSPolicy.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/policy-wspolicy/src/main/java/org/apache/tuscany/sca/policy/wspolicy/WSPolicy.java b/sca-java-2.x/trunk/modules/policy-wspolicy/src/main/java/org/apache/tuscany/sca/policy/wspolicy/WSPolicy.java index 73692e57fa..2893072165 100644 --- a/sca-java-2.x/trunk/modules/policy-wspolicy/src/main/java/org/apache/tuscany/sca/policy/wspolicy/WSPolicy.java +++ b/sca-java-2.x/trunk/modules/policy-wspolicy/src/main/java/org/apache/tuscany/sca/policy/wspolicy/WSPolicy.java @@ -39,7 +39,7 @@ import org.apache.tuscany.sca.policy.PolicySubject; import org.apache.tuscany.sca.policy.wspolicy.xml.WSPolicyProcessor; /** - * The WS-Policy model. Defers to the Neethi policy model under the covers. + * The WS-Policy model. Currently defers to the Neethi policy model under the covers. */ public class WSPolicy { @@ -49,6 +49,7 @@ public class WSPolicy { public final static QName WS_POLICY_QNAME = new QName(WS_POLICY_NS, WS_POLICY); private Policy neethiPolicy; + private List<Object> policyAssertions = new ArrayList<Object>(); public QName getSchemaName() { return WS_POLICY_QNAME; @@ -61,6 +62,10 @@ public class WSPolicy { public void setNeethiPolicy(Policy neethiPolicy) { this.neethiPolicy = neethiPolicy; } + + public List<Object> getPolicyAssertions(){ + return policyAssertions; + } @Override public String toString() { |