Package com.verisign.epp.serverstub
Class RegistryPolicyCompositeAdapter
java.lang.Object
com.verisign.epp.serverstub.RegistryPolicyCompositeAdapter
RegistryPolicyCompositeAdapter will execute each of the configured
Registry Policy Adapters and executes each one to adapt all of the registry
policy EPP extensions to zone policy extensions and vice-versa.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioneppExtToZoneExt(List<EPPCodecComponent> aEppExtensions) Adapt a list of EPP extensions used with a registry create or update to a list of matching zone policy extensions.Adapts the registered set of policy adapters to a list of system policy extensions that can be added to a registry system info response.zoneExtToEppExt(List<EPPRegistryZoneInterface> aZoneExtensions) Adapt a list of zone policy extensions available for the zone to a matching list of EPP extensions for an info response.
-
Constructor Details
-
RegistryPolicyCompositeAdapter
public RegistryPolicyCompositeAdapter()
-
-
Method Details
-
eppExtToZoneExt
Adapt a list of EPP extensions used with a registry create or update to a list of matching zone policy extensions. It is assumed that there will be anEPPRegistryPolicyAdapterfor each versioned policy extension that will be used to extract the contained zone policy information in a matching EPP extension.- Parameters:
aEppExtensions- List of EPP extensions to adapt to a zone policy extension.- Returns:
- Matching zone policy extensions if matches found; empty list otherwise.
-
zoneExtToEppExt
Adapt a list of zone policy extensions available for the zone to a matching list of EPP extensions for an info response.- Parameters:
aZoneExtensions- List of zone policy extensions to adapt to an EPP extension for an info response.- Returns:
- Matching EPP extensions for an info response if matches found; empty list otherwise.
-
getSystemExts
Adapts the registered set of policy adapters to a list of system policy extensions that can be added to a registry system info response.- Returns:
- List of system policy extensions associated with registered adapters.
-