info.magnolia.cms.beans.config
Class ServerConfiguration

java.lang.Object
  extended by info.magnolia.cms.beans.config.ServerConfiguration

public class ServerConfiguration
extends Object

Holds the basic server configuration info.

Version:
$Revision: $ ($Author: $)
Author:
gjoseph

Nested Class Summary
static class ServerConfiguration.InstanceFactory
          A special instance factory preventing recursive instantiation.
 
Constructor Summary
ServerConfiguration()
           
 
Method Summary
 String getDefaultBaseUrl()
           
 String getDefaultExtension()
           
static ServerConfiguration getInstance()
           
 boolean isAdmin()
           
 void setAdmin(boolean admin)
           
 void setDefaultBaseUrl(String defaultBaseUrl)
           
 void setDefaultExtension(String defaultExtension)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerConfiguration

public ServerConfiguration()
Method Detail

getDefaultExtension

public String getDefaultExtension()

setDefaultExtension

public void setDefaultExtension(String defaultExtension)

getDefaultBaseUrl

public String getDefaultBaseUrl()

setDefaultBaseUrl

public void setDefaultBaseUrl(String defaultBaseUrl)

isAdmin

public boolean isAdmin()

setAdmin

public void setAdmin(boolean admin)

getInstance

public static ServerConfiguration getInstance()


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