org.apache.muse.ws.resource.sg
Interface MembershipContentRule

All Superinterfaces:
XmlSerializable
All Known Implementing Classes:
SimpleMembershipContentRule

public interface MembershipContentRule
extends XmlSerializable

MembershipContentRule represents the wsrf-sg:MembershipContentRule resource property defined by the WS-RF ServiceGroup resource type. Aside from the fields that are included in the content rule definition, the interface also contains a method for evaluating the rules against a WS-resource.

Author:
Dan Jemiolo (danj)

Method Summary
 QName[] getContentElements()
           
 QName getMemberInterface()
           
 EndpointReference getServiceGroupEPR()
           
 boolean isMatch(EndpointReference epr)
           
 void setContentElements(QName[] content)
           
 void setMemberInterface(QName portType)
           
 void setServiceGroupEPR(EndpointReference serviceGroupEPR)
           
 
Methods inherited from interface org.apache.muse.util.xml.XmlSerializable
toXML, toXML
 

Method Detail

getContentElements

QName[] getContentElements()

getMemberInterface

QName getMemberInterface()

getServiceGroupEPR

EndpointReference getServiceGroupEPR()

isMatch

boolean isMatch(EndpointReference epr)
Parameters:
epr - The EPR for the resource against which this membership content rule will be evaluated.
Returns:
True if the given resource's WS-RP document matches the rules in the MCR.

setContentElements

void setContentElements(QName[] content)

setMemberInterface

void setMemberInterface(QName portType)

setServiceGroupEPR

void setServiceGroupEPR(EndpointReference serviceGroupEPR)


Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.