project35.system
Class Project35ApplicationContext

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap
          extended by project35.system.Context
              extended by project35.system.Project35ApplicationContext
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map

public class Project35ApplicationContext
extends Context

a HashMap that holds environment variables which have an application-wide scope of effect can contain any number of Project35DocumentContext objects which describe properties of individual Project35 Dialogs


Copyright (c) 2008 Kevin Garwood for Project35. The original code was developed by Kevin Garwood for the University of Manchester. Revisions have been made for Project35, a project that is independent of that institution. This code is licensed under the Academic Free License version 3.0. The code attribution for the original code is included here:

Copyright (c) Kevin Garwood and University of Manchester 2007. All rights reserved. Licensed under the Academic Free License version 3.0. For more information on the terms and conditions, please see the file "LICENSE" that is included in this distribution.


Version:
1.0
Author:
Kevin Garwood (kgarwood@users.sourceforge.net)
See Also:
Serialized Form

Field Summary
static java.lang.String CONFIGURATION_READER
          hash key for: project35.mda.config.Project35ConfigurationReader
static java.lang.String DOCUMENT_DIRECTORY_URL
          the full path for directory ./models/[targetModel]/doc
static java.lang.String ENABLE_CLASS_LOADER
          true if the project35.system.ModelClassLoader should read classes or not
static java.lang.String FILE_EXTENSIONS_TO_LAUNCH_URL
          the full path for directory ./models/[targetModel]/config/FileExtensionsToLaunch.xml
static java.lang.String HELP_DIRECTORY_URL
          the URL for where the internal help files are kept
static java.lang.String ICON_DIRECTORY_URL
          icon directory
static java.lang.String ID_GENERATOR_SERVICE
           
static java.lang.String ID_GENERATOR_SERVICE_FACTORY
          hash key for: project35.soa.id.IDGeneratorServiceFactory
static java.lang.String IMPORT_XML_DIRECTORY
          a hash key for describing the default directory Project35 should look in when user is using the File "Import from XML" option
static java.lang.String IS_COMPONENT
          hash key for whether Project35 is deployed as a component or not
static java.lang.String IS_TEST_MODE
          hash key for telling whether the application is running in a test mode or a production setting
static java.lang.String LIBRARY_DIRECTORY_URL
          the full path for directory ./models/[targetModel]/lib
static java.lang.String LOCALE
          locale
static java.lang.String MAIN_CONFIGURATION_URL
          the full path for directory ./models/[targetModel]/config/ConfigurationFile.xml
static java.lang.String META_DATA_FORM_CONTEXT
          hash key for an instance of project35.system.Project35ApplicationContext that describes properties described in the ./models/project35_meta_data model folder; it is this context which will know about record stuctures that help maintain the *.meta data layer of *.pdz files.
static java.lang.String MODEL_DIRECTORY
          the full path for directory ./models/[targetModel]
static java.lang.String ONTOLOGY_SERVICE_FACTORY
          hash key for: project35.soa.ontlogy.views.OntologyServiceFactory
static java.lang.String OPEN_PDZ_DIRECTORY
          hash key for describing the default directory Project35 should look in when user is using the File "Open" option and trying to open a *.pdz file.
static java.lang.String PLUGIN_FACTORY
          hash key for: project35.soa.plugins.PluginFactory
static java.lang.String PLUGINS
          collection of project35.soa.plugins.Project35Plugin objects
static java.lang.String RECORD_MODEL_FACTORY
          hash key for: project35.mda.model.RecordModelFactory
static java.lang.String RECORD_VIEW_FACTORY
          hash key for: project35.desktopDeployment.RecordViewFactory
static java.lang.String RESOURCE_DIRECTORY_URL
          the full path for directory ./models/[targetModel]/resources
static java.lang.String SCHEMA_CONCEPT_PROPERTIES
           
static java.lang.String SCHEMA_URL
          the full path for directory ./models/[targetModel]/model/YourModel.xsd
static java.lang.String SECURITY_SERVICE
          hash key for: project35.soa.security.SecurityService
static java.lang.String SESSION_FILE
          the full path for directory ./models/[targetModel]/config/SessionAspects.xml
static java.lang.String SESSION_MANAGER
          hash key for: project35.mda.config.SessionManager
static java.lang.String TABLET_FILE_SPACE_REGISTRY
          hash key for: project35.soa.tabletDeployment.FileSpaceRegistry
static java.lang.String TARGET_SCHEMA_APPLICATION_CONTEXT
          hash key for an instance of project35.system.Project35ApplicationContext that describes properties of a target schema
static java.lang.String TEMPLATE_DIRECTORY
          a hash key for describing the default directory Project35 should look in when user is using the "Load" and "Save" templates option in the File Menu
static java.lang.String USER
          hash key for: project35.soa.security.User
static java.lang.String USER_INTERFACE_FACTORY
           
static java.lang.String VALIDATION_SERVICE_REGISTRY
          hash key for: project35.soa.validation.ValidationServiceRegistry
static java.lang.String WINDOW_REGISTRY
          hash key for: project35.
static java.lang.String WORK_SPACE
          hash key for: project35.desktopDeployment.Workspace
static java.lang.String WORK_SPACE_FILES
           
 
Constructor Summary
Project35ApplicationContext()
           
 
Method Summary
 Project35DocumentContext createDocumentContext()
           
 Project35FormContext createFormContext()
           
 void removeDocumentContext(Project35DocumentContext project35DocumentContext)
           
 
Methods inherited from class project35.system.Context
getProperty, getRegisteredPropertyNames, setProperty
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

WINDOW_REGISTRY

public static final java.lang.String WINDOW_REGISTRY
hash key for: project35.

See Also:
Constant Field Values

ID_GENERATOR_SERVICE

public static final java.lang.String ID_GENERATOR_SERVICE
See Also:
Constant Field Values

CONFIGURATION_READER

public static final java.lang.String CONFIGURATION_READER
hash key for: project35.mda.config.Project35ConfigurationReader

See Also:
Constant Field Values

SCHEMA_CONCEPT_PROPERTIES

public static final java.lang.String SCHEMA_CONCEPT_PROPERTIES
See Also:
Constant Field Values

SESSION_MANAGER

public static final java.lang.String SESSION_MANAGER
hash key for: project35.mda.config.SessionManager

See Also:
Constant Field Values

WORK_SPACE

public static final java.lang.String WORK_SPACE
hash key for: project35.desktopDeployment.Workspace

See Also:
Constant Field Values

WORK_SPACE_FILES

public static final java.lang.String WORK_SPACE_FILES
See Also:
Constant Field Values

MODEL_DIRECTORY

public static final java.lang.String MODEL_DIRECTORY
the full path for directory ./models/[targetModel]

See Also:
Constant Field Values

SCHEMA_URL

public static final java.lang.String SCHEMA_URL
the full path for directory ./models/[targetModel]/model/YourModel.xsd

See Also:
Constant Field Values

SESSION_FILE

public static final java.lang.String SESSION_FILE
the full path for directory ./models/[targetModel]/config/SessionAspects.xml

See Also:
Constant Field Values

MAIN_CONFIGURATION_URL

public static final java.lang.String MAIN_CONFIGURATION_URL
the full path for directory ./models/[targetModel]/config/ConfigurationFile.xml

See Also:
Constant Field Values

FILE_EXTENSIONS_TO_LAUNCH_URL

public static final java.lang.String FILE_EXTENSIONS_TO_LAUNCH_URL
the full path for directory ./models/[targetModel]/config/FileExtensionsToLaunch.xml

See Also:
Constant Field Values

RESOURCE_DIRECTORY_URL

public static final java.lang.String RESOURCE_DIRECTORY_URL
the full path for directory ./models/[targetModel]/resources

See Also:
Constant Field Values

LIBRARY_DIRECTORY_URL

public static final java.lang.String LIBRARY_DIRECTORY_URL
the full path for directory ./models/[targetModel]/lib

See Also:
Constant Field Values

DOCUMENT_DIRECTORY_URL

public static final java.lang.String DOCUMENT_DIRECTORY_URL
the full path for directory ./models/[targetModel]/doc

See Also:
Constant Field Values

HELP_DIRECTORY_URL

public static final java.lang.String HELP_DIRECTORY_URL
the URL for where the internal help files are kept

See Also:
Constant Field Values

ICON_DIRECTORY_URL

public static final java.lang.String ICON_DIRECTORY_URL
icon directory

See Also:
Constant Field Values

RECORD_MODEL_FACTORY

public static final java.lang.String RECORD_MODEL_FACTORY
hash key for: project35.mda.model.RecordModelFactory

See Also:
Constant Field Values

RECORD_VIEW_FACTORY

public static final java.lang.String RECORD_VIEW_FACTORY
hash key for: project35.desktopDeployment.RecordViewFactory

See Also:
Constant Field Values

ONTOLOGY_SERVICE_FACTORY

public static final java.lang.String ONTOLOGY_SERVICE_FACTORY
hash key for: project35.soa.ontlogy.views.OntologyServiceFactory

See Also:
Constant Field Values

ID_GENERATOR_SERVICE_FACTORY

public static final java.lang.String ID_GENERATOR_SERVICE_FACTORY
hash key for: project35.soa.id.IDGeneratorServiceFactory

See Also:
Constant Field Values

PLUGIN_FACTORY

public static final java.lang.String PLUGIN_FACTORY
hash key for: project35.soa.plugins.PluginFactory

See Also:
Constant Field Values

VALIDATION_SERVICE_REGISTRY

public static final java.lang.String VALIDATION_SERVICE_REGISTRY
hash key for: project35.soa.validation.ValidationServiceRegistry

See Also:
Constant Field Values

SECURITY_SERVICE

public static final java.lang.String SECURITY_SERVICE
hash key for: project35.soa.security.SecurityService

See Also:
Constant Field Values

PLUGINS

public static final java.lang.String PLUGINS
collection of project35.soa.plugins.Project35Plugin objects

See Also:
Constant Field Values

USER

public static final java.lang.String USER
hash key for: project35.soa.security.User

See Also:
Constant Field Values

TABLET_FILE_SPACE_REGISTRY

public static final java.lang.String TABLET_FILE_SPACE_REGISTRY
hash key for: project35.soa.tabletDeployment.FileSpaceRegistry

See Also:
Constant Field Values

ENABLE_CLASS_LOADER

public static final java.lang.String ENABLE_CLASS_LOADER
true if the project35.system.ModelClassLoader should read classes or not

See Also:
Constant Field Values

TARGET_SCHEMA_APPLICATION_CONTEXT

public static final java.lang.String TARGET_SCHEMA_APPLICATION_CONTEXT
hash key for an instance of project35.system.Project35ApplicationContext that describes properties of a target schema

See Also:
Constant Field Values

META_DATA_FORM_CONTEXT

public static final java.lang.String META_DATA_FORM_CONTEXT
hash key for an instance of project35.system.Project35ApplicationContext that describes properties described in the ./models/project35_meta_data model folder; it is this context which will know about record stuctures that help maintain the *.meta data layer of *.pdz files.

See Also:
Constant Field Values

IS_COMPONENT

public static final java.lang.String IS_COMPONENT
hash key for whether Project35 is deployed as a component or not

See Also:
Constant Field Values

IS_TEST_MODE

public static final java.lang.String IS_TEST_MODE
hash key for telling whether the application is running in a test mode or a production setting

See Also:
Constant Field Values

LOCALE

public static final java.lang.String LOCALE
locale

See Also:
Constant Field Values

OPEN_PDZ_DIRECTORY

public static final java.lang.String OPEN_PDZ_DIRECTORY
hash key for describing the default directory Project35 should look in when user is using the File "Open" option and trying to open a *.pdz file.

See Also:
Constant Field Values

IMPORT_XML_DIRECTORY

public static final java.lang.String IMPORT_XML_DIRECTORY
a hash key for describing the default directory Project35 should look in when user is using the File "Import from XML" option

See Also:
Constant Field Values

TEMPLATE_DIRECTORY

public static final java.lang.String TEMPLATE_DIRECTORY
a hash key for describing the default directory Project35 should look in when user is using the "Load" and "Save" templates option in the File Menu

See Also:
Constant Field Values

USER_INTERFACE_FACTORY

public static final java.lang.String USER_INTERFACE_FACTORY
See Also:
Constant Field Values
Constructor Detail

Project35ApplicationContext

public Project35ApplicationContext()
Method Detail

createDocumentContext

public Project35DocumentContext createDocumentContext()

createFormContext

public Project35FormContext createFormContext()

removeDocumentContext

public void removeDocumentContext(Project35DocumentContext project35DocumentContext)