@Singleton public class ServerConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ServerConfiguration.InstanceFactory
A special instance factory preventing recursive instantiation.
|
Constructor and Description |
---|
ServerConfiguration() |
Modifier and Type | Method and Description |
---|---|
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) |
public String getDefaultExtension()
public void setDefaultExtension(String defaultExtension)
public String getDefaultBaseUrl()
public void setDefaultBaseUrl(String defaultBaseUrl)
public boolean isAdmin()
public void setAdmin(boolean admin)
@Deprecated public static ServerConfiguration getInstance()
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.