Class SiteResolutionType

java.lang.Object
org.broadleafcommerce.common.site.service.type.SiteResolutionType
All Implemented Interfaces:
Serializable, BroadleafEnumerationType

public class SiteResolutionType extends Object implements Serializable, BroadleafEnumerationType
An extendible enumeration of order status types.
  • DOMAIN - Resolve a site based on the whole domain (e.g. request.getServerName())
  • DOMAIN_PREFIX - Resolve a site based on the first word in the domain.

For example, if the URL you wanted to resolve was http://mysite.mycompany.com.

The #getSiteIdentifierValue() should be set as follows:

to use DOMAIN resolution, set to "mysite.mycompany.com" to use DOMAIN_PREFIX resolution, set to "mysite"

Author:
jfischer
See Also: