com.ibm.portal.outbound.config
Interface PolicyMappingCreationContext

All Superinterfaces:
CreationContext

public interface PolicyMappingCreationContext
extends CreationContext

The creation context for a new policy mapping.

OutboundConnectionModelController ctrl;
OutboundConnectionProfile theOwner;
˙˙˙
PolicyMappingCreationContext cc = OutboundConnectionCreationContextBuilderFactory.getInstance().
getPolicyMappingCreationContext(owner, "myNewMapping", "/my_ajax_proxy");
ctrl.create(ModifiableOutboundConnectionProfile.class, cc);


Since:
8.5.0
See Also:
OutboundConnectionCreationContextBuilderFactory

Method Summary
 java.lang.String getContextPath()
          Return the context path of the new policy mapping.
 java.lang.String getName()
          return the administrative name of the new Policy mapping
 OutboundConnectionProfile getParent()
          return the Outbound connection profile to which the new mapping belings
 

Method Detail

getParent

OutboundConnectionProfile getParent()
return the Outbound connection profile to which the new mapping belings

Returns:
The connection profile. Never null.

getName

java.lang.String getName()
return the administrative name of the new Policy mapping

Returns:
String the adminsitrative name. If the method returns null, then the administrative name is created by the system. The administrative name must be unique in the scope of the outbound connection profile specified.

getContextPath

java.lang.String getContextPath()
Return the context path of the new policy mapping.

Returns:
String the new context path. Must not be null. Must be unique in the scope of the owning outbound connection profile