com.ibm.portal.outbound.config
Interface PolicyVariableLocator

All Superinterfaces:
AdministrableLocator<PolicyVariable>

public interface PolicyVariableLocator
extends AdministrableLocator<PolicyVariable>

A locator to access PolicyVariable items.

The locator provides methods to get to the PolicyVariable objects that are owned by a given PolicyMapping item.
Code example:

String urlPattern = "http://www.myserver.com/test/*"
OutboundConnectionModel model;
OutboundConnectionProfile theOwner;
˙˙˙
PolicyVariableLocator locator = model.getPolicyVariableLocator(theOwner);
System.out.println ("These are all my variables: ");
for (PolicyVariable variable : locator.listAll()) {
System.out.println(variable.toString());
}

Since:
8.5.0
See Also:
OutboundConnectionModel, OutboundConnectionProfile, PolicyVariable, AdministrableLocator

Method Summary
 PolicyVariable findByName(java.lang.String name)
          Locate the policy variable with the given name.
 
Methods inherited from interface com.ibm.portal.outbound.config.AdministrableLocator
collectAllMatching, listAll
 

Method Detail

findByName

PolicyVariable findByName(java.lang.String name)
Locate the policy variable with the given name.

Specified by:
findByName in interface AdministrableLocator<PolicyVariable>
Parameters:
name - the name of the policy variable
Returns:
PolicyVariable the variable. The method returns null if no such variable exists.