info.magnolia.init
Interface MagnoliaInitPaths

All Known Implementing Classes:
DefaultMagnoliaInitPaths

public interface MagnoliaInitPaths

Provides a minimal set of paths required to setup Magnolia. Implementations can choose to expose more properties, if their dependent components need them.

Version:
$Id$

Method Summary
 String getContextPath()
           
 String getRootPath()
           
 String getServerName()
          Returns the name of the server where the webapp is running, lowercase.
 String getWebappFolderName()
          Returns the last token in the webapp path (e.g.
 

Method Detail

getServerName

String getServerName()
Returns the name of the server where the webapp is running, lowercase.


getRootPath

String getRootPath()

getWebappFolderName

String getWebappFolderName()
Returns the last token in the webapp path (e.g. magnoliaPublic for a webapp deployed at tomcat/webapps/magnoliaPublic).


getContextPath

String getContextPath()


Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.