info.magnolia.cms.beans.config
Class ServerConfiguration

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

@Singleton
public class ServerConfiguration
extends Object

Holds the basic server configuration info.

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

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()
          Deprecated. since 4.5, use IoC
 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

@Deprecated
public static ServerConfiguration getInstance()
Deprecated. since 4.5, use IoC



Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.