net.shrine.util
Class HostNameResolver

java.lang.Object
  extended by net.shrine.util.HostNameResolver

public class HostNameResolver
extends Object

[ Summary ] ------------------------------------------------- [ Author ]

This class resolves the various possible hosts that the PSL application may be deployed to, to the various hosts that serve up the centrally shared Catalyst resources.

Author:
Greg Polumbo Date: Oct 23, 2008 Center for Biomedical Informatics Harvard Medical School Childrens Hospital Informatics Program at the Harvard-MIT division of Health Sciences Technology

Constructor Summary
HostNameResolver()
           
 
Method Summary
static String resolveForHost(String pslHostName)
          Resolves Host names for the vhosts that house the centrally shared assets that include but are not limited to: header_footer.css - css for the catalyst header and footer external.css - css for weymouth delivered catalyst styled content header.txt - properly formatted xhtml header div common to all catalyst assets footer.txt - properly formatted xhtml footer div common to all catalyst assets

hostname.properties contains a map of PSL host names to central asset host names.

 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HostNameResolver

public HostNameResolver()
Method Detail

resolveForHost

public static String resolveForHost(String pslHostName)
Resolves Host names for the vhosts that house the centrally shared assets that include but are not limited to: header_footer.css - css for the catalyst header and footer external.css - css for weymouth delivered catalyst styled content header.txt - properly formatted xhtml header div common to all catalyst assets footer.txt - properly formatted xhtml footer div common to all catalyst assets

hostname.properties contains a map of PSL host names to central asset host names.



Copyright © 2011. All Rights Reserved.