Esri Geoportal Server
1.0

com.esri.gpt.framework.context
Class ApplicationConfiguration

java.lang.Object
  extended by com.esri.gpt.framework.context.Configuration
      extended by com.esri.gpt.framework.context.ApplicationConfiguration

public class ApplicationConfiguration
extends Configuration

Represents the primary configuration for an application.

This configuration is scoped at the application level. Writes should occur during initial loading only. Writing during normal request execution will affect all threads, it's not safe.


Constructor Summary
ApplicationConfiguration()
          Default constructor.
 
Method Summary
 CatalogConfiguration getCatalogConfiguration()
          Gets the metadata catalog configuration associated with this application.
 DatabaseReferences getDatabaseReferences()
          Gets the database references associated with this application.
 DownloadConfiguration getDownloadDataConfiguration()
          Gets data download configuration.
 HarvesterConfiguration getHarvesterConfiguration()
          Gets harvester configuration.
 IdentityConfiguration getIdentityConfiguration()
          Gets the identity configuration associated with this application.
 InteractiveMap getInteractiveMap()
          Gets the interactive map configuration (for ArcGIS Server Javascript API).
 MailConfiguration getMailConfiguration()
          Gets the mail configuration associated with this application.
 MetadataAccessPolicy getMetadataAccessPolicy()
          Gets the metadata access level configuration associated with this application.
 ProtocolFactories getProtocolFactories()
          Gets protocol factories.
 ThreadSchedulerConfiguration getThreadSchedulerConfiguration()
          Gets thread scheduler configuration.
 String getVersion()
          Gets the version.
protected  IdentityAdapter newIdentityAdapter()
          Instantiates a new Identity adapter.
 void setDownloadDataConfiguration(DownloadConfiguration downloadConfiguration)
          Sets data download configuration.
 void setHarvesterConfiguration(HarvesterConfiguration harvesterConfiguration)
          Sets harvester configuration.
 void setMetadataAccessPolicy(MetadataAccessPolicy metadataAccessPolicy)
          Sets the metadata access level configuration associated with this application.
 void setProtocolFactories(ProtocolFactories protocolFactories)
          Sets protocol factories.
protected  void setVersion(String version)
          Sets the version.
 String toString()
          Returns a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApplicationConfiguration

public ApplicationConfiguration()
Default constructor.

Method Detail

getMetadataAccessPolicy

public MetadataAccessPolicy getMetadataAccessPolicy()
Gets the metadata access level configuration associated with this application.

Returns:
the catalog configuration

setMetadataAccessPolicy

public void setMetadataAccessPolicy(MetadataAccessPolicy metadataAccessPolicy)
Sets the metadata access level configuration associated with this application.

Parameters:
metadataAccessPolicy - access policy

getCatalogConfiguration

public CatalogConfiguration getCatalogConfiguration()
Gets the metadata catalog configuration associated with this application.

Returns:
the catalog configuration

getDatabaseReferences

public DatabaseReferences getDatabaseReferences()
Gets the database references associated with this application.

Returns:
the database references

getIdentityConfiguration

public IdentityConfiguration getIdentityConfiguration()
Gets the identity configuration associated with this application.

Returns:
the identity configuration

getInteractiveMap

public InteractiveMap getInteractiveMap()
Gets the interactive map configuration (for ArcGIS Server Javascript API).

Returns:
the interactive map configuration

getMailConfiguration

public MailConfiguration getMailConfiguration()
Gets the mail configuration associated with this application.

Returns:
the mail configuration

getThreadSchedulerConfiguration

public ThreadSchedulerConfiguration getThreadSchedulerConfiguration()
Gets thread scheduler configuration.

Returns:
thread scheduler configuration

getDownloadDataConfiguration

public DownloadConfiguration getDownloadDataConfiguration()
Gets data download configuration.

Returns:
data download configuration

setDownloadDataConfiguration

public void setDownloadDataConfiguration(DownloadConfiguration downloadConfiguration)
Sets data download configuration.

Parameters:
downloadConfiguration - data download configuration

getHarvesterConfiguration

public HarvesterConfiguration getHarvesterConfiguration()
Gets harvester configuration.

Returns:
harvester configuration

setHarvesterConfiguration

public void setHarvesterConfiguration(HarvesterConfiguration harvesterConfiguration)
Sets harvester configuration.

Parameters:
harvesterConfiguration - harvester configuration

getProtocolFactories

public ProtocolFactories getProtocolFactories()
Gets protocol factories.

Returns:
protocol factories

setProtocolFactories

public void setProtocolFactories(ProtocolFactories protocolFactories)
Sets protocol factories.

Parameters:
protocolFactories - protocol factories

getVersion

public String getVersion()
Gets the version.

Returns:
the version

setVersion

protected void setVersion(String version)
Sets the version.

Parameters:
version - the version

newIdentityAdapter

protected IdentityAdapter newIdentityAdapter()
Instantiates a new Identity adapter.

Returns:
the new identity adapter

toString

public String toString()
Returns a string representation of this object.

Overrides:
toString in class Object
Returns:
the string

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.