|
Project Aristotle - ArisID Attribute Services | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPolicy
A implementation neutral WS-Policy object containing a set of constraints. An IPolicy may represent either WS-Policy or WS-PolicyReference entities.
Developers should use PolicyHandler
to manage and evaluate contents
of a Policy. This ensures that developer code is implementation neutral and
can be supported on Apache Neethi, Oracle WS-Policy, or other
implementations.
Field Summary | |
---|---|
static java.lang.String |
POLICY_ELEMENT
|
static java.lang.String |
POLREF_ELEMENT
|
static java.lang.String |
URI_ATTR
|
Method Summary | |
---|---|
void |
addAssertion(IAssertion assertion)
Adds an assertion (e.g. |
void |
appendChildren(org.w3c.dom.Node parent)
Appends all document children nodes for the object to the parent specified. |
void |
dispose()
Called when use of this object is finished. |
java.lang.String |
getName()
Returns the name identifier of the policy. |
java.lang.Object |
getPolicy()
Deprecated. Use of this method will render code bound to a specific implementation of WS-Policy and may impact deployability. Recommended only for internal use and policy provider implementations. |
boolean |
isReferencePolicy()
Used to indicate whether this policy is actually a reference to an externally defined policy. |
void |
setName(java.lang.String name)
Set the name identifier for a policy. |
java.lang.String |
toString()
|
Methods inherited from interface org.openliberty.arisid.policy.IPolicyComponent |
---|
equal, getType, serialize |
Field Detail |
---|
static final java.lang.String POLICY_ELEMENT
static final java.lang.String POLREF_ELEMENT
static final java.lang.String URI_ATTR
Method Detail |
---|
java.lang.String getName()
java.lang.Object getPolicy()
java.lang.String toString()
toString
in class java.lang.Object
void appendChildren(org.w3c.dom.Node parent)
parent
- A document node parent to add the current object to.void addAssertion(IAssertion assertion)
assertion
- IAssertion
object to be added to the policyvoid setName(java.lang.String name)
name
- String name of the policy.boolean isReferencePolicy()
void dispose()
|
OpenLiberty.org - Licensed under Apache APL 2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |