Esri Geoportal Server
1.0

com.esri.gpt.framework.context
Class ApplicationContext

java.lang.Object
  extended by com.esri.gpt.framework.context.ApplicationContext

public class ApplicationContext
extends Object

Context for an application.


Constructor Summary
protected ApplicationContext()
          Default constructor.
 
Method Summary
 ApplicationConfiguration getConfiguration()
          Gets the configuration associated with this application.
 Harvester getHarvestingEngine()
          Gets harvesting engine.
static ApplicationContext getInstance()
          Gets the single ApplicationContext instance for this application.
protected  void loadConfiguration()
          Loads the configuration for the application.
protected  void setConfiguration(ApplicationConfiguration configuration)
          Sets the configuration associated with this application.
 void setHarvestingEngine(Harvester harvestingEngine)
          Sets harvesting engine.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationContext

protected ApplicationContext()
Default constructor.

Method Detail

getConfiguration

public ApplicationConfiguration getConfiguration()
Gets the configuration associated with this application.

Returns:
the configuration

setConfiguration

protected void setConfiguration(ApplicationConfiguration configuration)
Sets the configuration associated with this application.

Parameters:
configuration - the configuration

getInstance

public static ApplicationContext getInstance()
Gets the single ApplicationContext instance for this application.

Returns:
the context for this application

loadConfiguration

protected void loadConfiguration()
Loads the configuration for the application.


getHarvestingEngine

public Harvester getHarvestingEngine()
Gets harvesting engine.

Returns:
harvesting engine

setHarvestingEngine

public void setHarvestingEngine(Harvester harvestingEngine)
Sets harvesting engine.

Parameters:
harvestingEngine - harvesting engine

Esri Geoportal Server
1.0

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