public class ReferencedPolicyFactory extends java.lang.Object
Only local fragment URI's of the format '#foo' are supported, which will match a referenced policy with an wsu:Id of 'foo'.
|Constructor and Description|
|Modifier and Type||Method and Description|
Indexes a policy element via its wsu:Id attribute so that clients may later request this policy by URI reference.
Creates a new policy based on a policy referenced by the given URI reference.
public void addReferencedPolicy(org.w3c.dom.Element referencedPolicy, PolicyMarshaller marshaller) throws GException
referencedPolicy- - the referenced policy. If the policy does not have a wsu:Id attribute, it is ignored.
marshaller- - the PolicyMarshaller that can unmarhal the referencedPolicy
public Policy createPolicy(java.lang.String uriReference) throws GException
GException- - if no reference is found or an error occured creating the policy.
SOA Software, Inc. Copyright (C) 2000-2014, All rights reserved
This software is the confidential and proprietary information of SOA Software, Inc. and is subject to copyright protection under laws of the United States of America and other countries. The use of this software should be in accordance with the license agreement terms you entered into with SOA Software, Inc.