it.openutils.deployment.log4j
Class DeploymentResolver

java.lang.Object
  extended by it.openutils.deployment.log4j.DeploymentResolver

public class DeploymentResolver
extends java.lang.Object

Version:
$Id$
Author:
fgiust

Constructor Summary
DeploymentResolver()
           
 
Method Summary
static java.lang.String resolveServerName()
          Resolve the current server name.
static java.io.File resolveServerRelativeLocation(javax.servlet.ServletContext context, java.lang.String commaSeparatedListOfPaths)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentResolver

public DeploymentResolver()
Method Detail

resolveServerRelativeLocation

public static java.io.File resolveServerRelativeLocation(javax.servlet.ServletContext context,
                                                         java.lang.String commaSeparatedListOfPaths)
                                                  throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

resolveServerName

public static java.lang.String resolveServerName()
Resolve the current server name.

Returns:
server name, all lowercase, without domain


Copyright © 2007-2010 Openmind. All Rights Reserved.