Java Doc for GlobalConfig.java in  » GIS » GeoServer » org » vfny » geoserver » config » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » GeoServer » org.vfny.geoserver.config 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.vfny.geoserver.config.GlobalConfig

GlobalConfig
public class GlobalConfig (Code)
Global GeoServer Configuration model.

GlobalConfig represents the configuration model needed to set up GeoServer for use.


author:
   David Zwiers, Refractions Research, Inc.
version:
   $Id: GlobalConfig.java 8406 2008-02-14 19:49:39Z saul.farber $


Field Summary
final public static  StringCONFIG_KEY
    

Constructor Summary
public  GlobalConfig()
     GlobalConfig constructor.
public  GlobalConfig(GeoServer geoserver)
     Instantiates the global config from the geoServer module.
public  GlobalConfig(GeoServerDTO g)
     GlobalConfig constructor.

Creates a copy of the GeoServerDTO object provided.


Method Summary
public  StringgetAdminPassword()
     Gets the password of the administrator.
public  StringgetAdminUserName()
     Gets the user name of the administrator.
public  CharsetgetCharSet()
     getCharSet purpose.
public  ContactConfiggetContact()
     getContact purpose.
public  doublegetJaiMemoryCapacity()
    
public  doublegetJaiMemoryThreshold()
    
public  intgetJaiTilePriority()
    
public  intgetJaiTileThreads()
    
public  StringgetLog4jConfigFile()
     getLoggingLevel purpose.
public  StringgetLogLocation()
    
public  intgetMaxFeatures()
     getMaxFeatures purpose.
public  intgetNumDecimals()
     getNumDecimals purpose.
public  StringgetProxyBaseUrl()
     getBaseUrl purpose.
public  StringgetSchemaBaseUrl()
     getSchemaBaseUrl purpose.
public  booleangetSuppressStdOutLogging()
    
public  StringgetTileCache()
    
public  intgetUpdateSequence()
    
public  booleanisImageIOCache()
    
public  booleanisJaiJPEGNative()
    
public  booleanisJaiPNGNative()
    
public  booleanisJaiRecycling()
    
public  booleanisVerbose()
     isVerbose purpose.
public  booleanisVerboseExceptions()
    
public  voidsetAdminPassword(String password)
     Sets the password of the administrator of GeoServer, for login purposes.
public  voidsetAdminUserName(String username)
     Sets the user name of the administrator of GeoServer, for login purposes.
public  voidsetCharSet(Charset charset)
     setCharSet purpose.
public  voidsetContact(ContactConfig contact)
     setContact purpose.
public  voidsetImageIOCache(boolean imageIOCache)
    
public  voidsetJaiJPEGNative(boolean jaiJPEGNative)
    
public  voidsetJaiMemoryCapacity(double jaiMemoryCapacity)
    
public  voidsetJaiMemoryThreshold(double jaiMemoryThreshold)
    
public  voidsetJaiPNGNative(boolean jaiPNGNative)
    
public  voidsetJaiRecycling(boolean jaiRecycling)
    
public  voidsetJaiTilePriority(int jaiTilePriority)
    
public  voidsetJaiTileThreads(int jaiTileThreads)
    
public  voidsetLog4jConfigFile(String s)
     setLoggingLevel purpose.
public  voidsetLogLocation(String logLocation)
    
public  voidsetMaxFeatures(int i)
     setMaxFeatures purpose.
public  voidsetNumDecimals(int i)
     setNumDecimals purpose.
public  voidsetProxyBaseUrl(String url)
     setBaseUrl purpose.
public  voidsetSchemaBaseUrl(String url)
     setSchemaBaseUrl purpose.
public  voidsetSuppressStdOutLogging(boolean b)
     Toggles server logging to file.
public  voidsetTileCache(String tileCache)
    
public  voidsetUpdateSequence(int updateSequence)
    
public  voidsetVerbose(boolean b)
     setVerbose purpose.
public  voidsetVerboseExceptions(boolean showStackTraces)
     If set to true, response exceptions will throw their stack trace back to the end user.
public  GeoServerDTOtoDTO()
     Implement toDTO.
public  voidupdate(GeoServerDTO g)
     Implement updateDTO.

Field Detail
CONFIG_KEY
final public static String CONFIG_KEY(Code)




Constructor Detail
GlobalConfig
public GlobalConfig()(Code)
GlobalConfig constructor.

Creates an instance of GlobalConfig and initializes to default settings.


See Also:    defaultSettings()



GlobalConfig
public GlobalConfig(GeoServer geoserver)(Code)
Instantiates the global config from the geoServer module.
Parameters:
  geoserver - The geoServer module.



GlobalConfig
public GlobalConfig(GeoServerDTO g)(Code)
GlobalConfig constructor.

Creates a copy of the GeoServerDTO object provided. Charset is not cloned, everything else is.


Parameters:
  g -
throws:
  NullPointerException - DOCUMENT ME!




Method Detail
getAdminPassword
public String getAdminPassword()(Code)
Gets the password of the administrator. The password to be checked for on login.



getAdminUserName
public String getAdminUserName()(Code)
Gets the user name of the administrator. The user name to be checked for on login.



getCharSet
public Charset getCharSet()(Code)
getCharSet purpose.

Description ...




getContact
public ContactConfig getContact()(Code)
getContact purpose.

Description ...




getJaiMemoryCapacity
public double getJaiMemoryCapacity()(Code)



getJaiMemoryThreshold
public double getJaiMemoryThreshold()(Code)



getJaiTilePriority
public int getJaiTilePriority()(Code)



getJaiTileThreads
public int getJaiTileThreads()(Code)



getLog4jConfigFile
public String getLog4jConfigFile()(Code)
getLoggingLevel purpose.

Description ...




getLogLocation
public String getLogLocation()(Code)
The string representation of the path on disk in which theserver logs to.



getMaxFeatures
public int getMaxFeatures()(Code)
getMaxFeatures purpose.

Description ...




getNumDecimals
public int getNumDecimals()(Code)
getNumDecimals purpose.

Description ...




getProxyBaseUrl
public String getProxyBaseUrl()(Code)
getBaseUrl purpose.

Description ...




getSchemaBaseUrl
public String getSchemaBaseUrl()(Code)
getSchemaBaseUrl purpose.

Description ...




getSuppressStdOutLogging
public boolean getSuppressStdOutLogging()(Code)
True if the server is logging to file, otherwise false.



getTileCache
public String getTileCache()(Code)
tile cache parameter
See Also:   GeoServer.getTileCache



getUpdateSequence
public int getUpdateSequence()(Code)
the updateSequence



isImageIOCache
public boolean isImageIOCache()(Code)



isJaiJPEGNative
public boolean isJaiJPEGNative()(Code)



isJaiPNGNative
public boolean isJaiPNGNative()(Code)



isJaiRecycling
public boolean isJaiRecycling()(Code)



isVerbose
public boolean isVerbose()(Code)
isVerbose purpose.

Description ...




isVerboseExceptions
public boolean isVerboseExceptions()(Code)
Should we display stackTraces or not? (And give them a nice little message instead?) Returns the showStackTraces.



setAdminPassword
public void setAdminPassword(String password)(Code)
Sets the password of the administrator of GeoServer, for login purposes.
Parameters:
  password - The password to set as the login password.



setAdminUserName
public void setAdminUserName(String username)(Code)
Sets the user name of the administrator of GeoServer, for login purposes.
Parameters:
  username - the String to set as the admin username.



setCharSet
public void setCharSet(Charset charset)(Code)
setCharSet purpose.

Description ...


Parameters:
  charset -



setContact
public void setContact(ContactConfig contact)(Code)
setContact purpose.

Description ...


Parameters:
  contact -



setImageIOCache
public void setImageIOCache(boolean imageIOCache)(Code)



setJaiJPEGNative
public void setJaiJPEGNative(boolean jaiJPEGNative)(Code)



setJaiMemoryCapacity
public void setJaiMemoryCapacity(double jaiMemoryCapacity)(Code)



setJaiMemoryThreshold
public void setJaiMemoryThreshold(double jaiMemoryThreshold)(Code)



setJaiPNGNative
public void setJaiPNGNative(boolean jaiPNGNative)(Code)



setJaiRecycling
public void setJaiRecycling(boolean jaiRecycling)(Code)



setJaiTilePriority
public void setJaiTilePriority(int jaiTilePriority)(Code)



setJaiTileThreads
public void setJaiTileThreads(int jaiTileThreads)(Code)



setLog4jConfigFile
public void setLog4jConfigFile(String s)(Code)
setLoggingLevel purpose.

Description ...


Parameters:
  level -



setLogLocation
public void setLogLocation(String logLocation)(Code)

Parameters:
  logLocation - The string representation of the path on disk in whichthe server logs to.



setMaxFeatures
public void setMaxFeatures(int i)(Code)
setMaxFeatures purpose.

Description ...


Parameters:
  i -



setNumDecimals
public void setNumDecimals(int i)(Code)
setNumDecimals purpose.

Description ...


Parameters:
  i -



setProxyBaseUrl
public void setProxyBaseUrl(String url)(Code)
setBaseUrl purpose.

Description ...


Parameters:
  url -



setSchemaBaseUrl
public void setSchemaBaseUrl(String url)(Code)
setSchemaBaseUrl purpose.

Description ...


Parameters:
  url -



setSuppressStdOutLogging
public void setSuppressStdOutLogging(boolean b)(Code)
Toggles server logging to file.



setTileCache
public void setTileCache(String tileCache)(Code)



setUpdateSequence
public void setUpdateSequence(int updateSequence)(Code)

Parameters:
  updateSequence - the updateSequence to set



setVerbose
public void setVerbose(boolean b)(Code)
setVerbose purpose.

Description ...


Parameters:
  b -



setVerboseExceptions
public void setVerboseExceptions(boolean showStackTraces)(Code)
If set to true, response exceptions will throw their stack trace back to the end user.
Parameters:
  showStackTraces - The showStackTraces to set.



toDTO
public GeoServerDTO toDTO()(Code)
Implement toDTO.

Creates a copy of the data in a GeoServerDTO representation

a copy of the data in a GeoServerDTO representation
See Also:   org.vfny.geoserver.config.DataStructure.toDTO



update
public void update(GeoServerDTO g)(Code)
Implement updateDTO.

Populates this instance with the GeoServerDTO object provided.


Parameters:
  g - A valid GeoServerDTO object to populate this object from
throws:
  NullPointerException - DOCUMENT ME!
See Also:   org.vfny.geoserver.config.DataStructure.updateDTO(java.lang.Object)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.