Class Globals


  • public class Globals
    extends java.lang.Object
    Global constants
    This class is dedicated to provide all other Simplicite classes with some very global constants that shouldn't be changed unless very specific requirement.
    If present, these global variables are taken from the system variables and the simplicite.properties file, otherwise hard-coded default values are set.
    • Field Detail

      • JAVA_VERSION

        public static final int JAVA_VERSION
        Java version as integer (e.g. 8 for Java version 1.8.x) or 0 if java version could not be found
      • JAVA_COMPILER_VERSION

        public static final java.lang.String JAVA_COMPILER_VERSION
        Java version as string (e.g. 1.8 for Java version 1.8.x) or null if java version could not be found
      • JAVA_SCRIPT_ENGINE_NAME

        public static final java.lang.String JAVA_SCRIPT_ENGINE_NAME
        Java Script Engine name
        See Also:
        Constant Field Values
      • LINE_SEPARATOR

        public static final java.lang.String LINE_SEPARATOR
        System line separator
      • PATH_SEPARATOR

        public static final java.lang.String PATH_SEPARATOR
        System path separator
      • SYSTEM_TMP_DIR

        public static final java.lang.String SYSTEM_TMP_DIR
        System temporary dir
      • DEFAULT_OBJECT_PACKAGE

        public static final java.lang.String DEFAULT_OBJECT_PACKAGE
        Default object package
        See Also:
        Constant Field Values
      • DEFAULT_OBJECT_IMPLEMENTATION

        public static final java.lang.String DEFAULT_OBJECT_IMPLEMENTATION
        Default objet implementation
        See Also:
        Constant Field Values
      • DEFAULT_OBJECT_SCRIPTED_IMPLEMENTATION

        public static final java.lang.String DEFAULT_OBJECT_SCRIPTED_IMPLEMENTATION
        Default scripted object implementation
        See Also:
        Constant Field Values
      • DEFAULT_OBJECT_SERVICE_IMPLEMENTATION

        public static final java.lang.String DEFAULT_OBJECT_SERVICE_IMPLEMENTATION
        Default service object implementation
        See Also:
        Constant Field Values
      • DEFAULT_OBJECT_SERVICE_SIMPLICITE_IMPLEMENTATION

        public static final java.lang.String DEFAULT_OBJECT_SERVICE_SIMPLICITE_IMPLEMENTATION
        Default Simplicite service object implementation
        See Also:
        Constant Field Values
      • DEFAULT_OBJECT_SERVICE_LDAP_IMPLEMENTATION

        public static final java.lang.String DEFAULT_OBJECT_SERVICE_LDAP_IMPLEMENTATION
        Default LDAP service object implementation
        See Also:
        Constant Field Values
      • DEFAULT_OBJECT_SERVICE_OPENDATASOFT_IMPLEMENTATION

        public static final java.lang.String DEFAULT_OBJECT_SERVICE_OPENDATASOFT_IMPLEMENTATION
        Default OpenDataSoft service object implementation
        See Also:
        Constant Field Values
      • DEFAULT_OBJECT_SERVICE_SALESFORCE_IMPLEMENTATION

        public static final java.lang.String DEFAULT_OBJECT_SERVICE_SALESFORCE_IMPLEMENTATION
        Default SalesForce service object implementation
        See Also:
        Constant Field Values
      • DEFAULT_WORKFLOW_PACKAGE

        public static final java.lang.String DEFAULT_WORKFLOW_PACKAGE
        Default workflow package
        See Also:
        Constant Field Values
      • DEFAULT_WORKFLOW_IMPLEMENTATION

        public static final java.lang.String DEFAULT_WORKFLOW_IMPLEMENTATION
        Default workflow implementation
        See Also:
        Constant Field Values
      • DEFAULT_WORKFLOW_SCRIPTED_IMPLEMENTATION

        public static final java.lang.String DEFAULT_WORKFLOW_SCRIPTED_IMPLEMENTATION
        Default scripted workflow implementation
        See Also:
        Constant Field Values
      • DEFAULT_EXTOBJECT_PACKAGE

        public static final java.lang.String DEFAULT_EXTOBJECT_PACKAGE
        Default external object package
        See Also:
        Constant Field Values
      • DEFAULT_EXTOBJECT_IMPLEMENTATION

        public static final java.lang.String DEFAULT_EXTOBJECT_IMPLEMENTATION
        Default external object implementation
        See Also:
        Constant Field Values
      • DEFAULT_EXTOBJECT_SCRIPTED_IMPLEMENTATION

        public static final java.lang.String DEFAULT_EXTOBJECT_SCRIPTED_IMPLEMENTATION
        Default scripted external object implementation
        See Also:
        Constant Field Values
      • DEFAULT_DISPOSITION_PACKAGE

        public static final java.lang.String DEFAULT_DISPOSITION_PACKAGE
        Default disposition package
        See Also:
        Constant Field Values
      • DEFAULT_DISPOSITION_IMPLEMENTATION

        public static final java.lang.String DEFAULT_DISPOSITION_IMPLEMENTATION
        Default disposition implementation
        See Also:
        Constant Field Values
      • DEFAULT_DISPOSITION_SCRIPTED_IMPLEMENTATION

        public static final java.lang.String DEFAULT_DISPOSITION_SCRIPTED_IMPLEMENTATION
        Default scripted disposition implementation
        See Also:
        Constant Field Values
      • DEFAULT_ADAPTERS_PACKAGE

        public static final java.lang.String DEFAULT_ADAPTERS_PACKAGE
        Default adapters package
        See Also:
        Constant Field Values
      • DEFAULT_COMMONS_PACKAGE

        public static final java.lang.String DEFAULT_COMMONS_PACKAGE
        Default commons (shared codes) package
        See Also:
        Constant Field Values
      • GRANTHOOKS_CLASSNAME

        public static final java.lang.String GRANTHOOKS_CLASSNAME
        Grant hooks class name
        See Also:
        Constant Field Values
      • STATIC_RESOURCES_PATH

        public static final java.lang.String STATIC_RESOURCES_PATH
        Static ressources path
        See Also:
        Constant Field Values
      • PRECOMPILE_NONE

        public static final int PRECOMPILE_NONE
        No pre-compilation
        See Also:
        Constant Field Values
      • PRECOMPILE_SYNC

        public static final int PRECOMPILE_SYNC
        Synchronous pre-compilation
        See Also:
        Constant Field Values
      • PRECOMPILE_ASYNC

        public static final int PRECOMPILE_ASYNC
        Asynchronous pre-compilation
        See Also:
        Constant Field Values
      • DEFAULT_DISPOSITION

        public static final java.lang.String DEFAULT_DISPOSITION
        Default disposition name
        See Also:
        Constant Field Values
      • DEFAULT_THEME

        public static final java.lang.String DEFAULT_THEME
        Default theme name
        See Also:
        Constant Field Values
      • DEFAULT_CSS_RESOURCE_CODE

        public static final java.lang.String DEFAULT_CSS_RESOURCE_CODE
        Default CSS resource code
        See Also:
        Constant Field Values
      • DEFAULT_JS_RESOURCE_CODE

        public static final java.lang.String DEFAULT_JS_RESOURCE_CODE
        Default JS resource code
        See Also:
        Constant Field Values
      • DEFAULT_HTML_RESOURCE_CODE

        public static final java.lang.String DEFAULT_HTML_RESOURCE_CODE
        Default HTML resource code
        See Also:
        Constant Field Values
      • NOT_FOUND

        public static final java.lang.String NOT_FOUND
        Not found constant
        See Also:
        Constant Field Values
      • SRC_DIR_DEFAULT

        public static final java.lang.String SRC_DIR_DEFAULT
        Source dir default (relative to data dir)
        See Also:
        Constant Field Values
      • BIN_DIR_DEFAULT

        public static final java.lang.String BIN_DIR_DEFAULT
        Binary dir default (relative to data dir)
        See Also:
        Constant Field Values
      • BUILD_DIR_DEFAULT

        public static final java.lang.String BUILD_DIR_DEFAULT
        Build dir default (relative to data dir)
        See Also:
        Constant Field Values
      • JAR_DIR_DEFAULT

        public static final java.lang.String JAR_DIR_DEFAULT
        JAR dir default (relative to data dir)
        See Also:
        Constant Field Values
      • MAVEN_DIR_DEFAULT

        public static final java.lang.String MAVEN_DIR_DEFAULT
        Maven dir default (relative to data dir)
        See Also:
        Constant Field Values
      • LOG_DIR_DEFAULT

        public static final java.lang.String LOG_DIR_DEFAULT
        Log dir default (relative to data dir)
        See Also:
        Constant Field Values
      • TMP_DIR_DEFAULT

        public static final java.lang.String TMP_DIR_DEFAULT
        Temporary dir default (relative to data dir)
        See Also:
        Constant Field Values
      • CLASSES_DIR_DEFAULT

        public static final java.lang.String CLASSES_DIR_DEFAULT
        Classes dir default (relative to data dir)
        See Also:
        Constant Field Values
      • JAVADOC_DIR_DEFAULT

        public static final java.lang.String JAVADOC_DIR_DEFAULT
        Platform Javadocs dir default (relative to data dir)
        See Also:
        Constant Field Values
      • SOURCES_DIR_DEFAULT

        public static final java.lang.String SOURCES_DIR_DEFAULT
        Platform sources dir default (relative to data dir)
        See Also:
        Constant Field Values
      • LIBS_DIR_DEFAULT

        public static final java.lang.String LIBS_DIR_DEFAULT
        Platform libs dir default (relative to data dir)
        See Also:
        Constant Field Values
      • DOC_DIR_DEFAULT

        public static final java.lang.String DOC_DIR_DEFAULT
        Document dir default (relative to data dir)
        See Also:
        Constant Field Values
      • DOC_DIR_BLOB

        public static final java.lang.String DOC_DIR_BLOB
        Documents as BLOB constant
        See Also:
        Constant Field Values
      • DOC_DIR_MAX

        public static final int DOC_DIR_MAX
        Max number of documets per sub dir
        See Also:
        Constant Field Values
      • CACHE_DIR_DEFAULT

        public static final java.lang.String CACHE_DIR_DEFAULT
        Cache dir default (relative to DOC_DIR_DEFAULT)
        See Also:
        Constant Field Values
      • CONTENT_DIR_DEFAULT

        public static final java.lang.String CONTENT_DIR_DEFAULT
        Content dir default (relative to DOC_DIR_DEFAULT)
        See Also:
        Constant Field Values
      • EXTERNALDOCS_DIR_DEFAULT

        public static final java.lang.String EXTERNALDOCS_DIR_DEFAULT
        External docs dir default (relative to DOC_DIR_DEFAULT)
        See Also:
        Constant Field Values
      • IMPORT_DIR_DEFAULT

        public static final java.lang.String IMPORT_DIR_DEFAULT
        Import dir default (relative to DOC_DIR_DEFAULT)
        See Also:
        Constant Field Values
      • EXPORT_DIR_DEFAULT

        public static final java.lang.String EXPORT_DIR_DEFAULT
        Export dir default (relative to DOC_DIR_DEFAULT)
        See Also:
        Constant Field Values
      • INDEX_DIR_DEFAULT

        public static final java.lang.String INDEX_DIR_DEFAULT
        Index dir default (relative to DOC_DIR_DEFAULT)
        See Also:
        Constant Field Values
      • RECYCLEBIN_DIR_DEFAULT

        public static final java.lang.String RECYCLEBIN_DIR_DEFAULT
        Recycle bin dir default (relative to DOC_DIR_DEFAULT)
        See Also:
        Constant Field Values
      • MAX_UPLOAD_SIZE

        public static final int MAX_UPLOAD_SIZE
        Default max upload size (in Mb)
        See Also:
        Constant Field Values
      • MAX_JSON_LOG_SIZE

        public static final int MAX_JSON_LOG_SIZE
        Default max JSON log size
        See Also:
        Constant Field Values
      • USERTOKEN_TYPE_UI

        public static final java.lang.String USERTOKEN_TYPE_UI
        User token UI type
        See Also:
        Constant Field Values
      • USERTOKEN_TYPE_API

        public static final java.lang.String USERTOKEN_TYPE_API
        User token API type
        See Also:
        Constant Field Values
      • USERTOKEN_LENGTH

        public static final int USERTOKEN_LENGTH
        Default user token length
        See Also:
        Constant Field Values
      • SEARCH_KEYWORDS

        public static final java.lang.String[] SEARCH_KEYWORDS
        Search keywords
      • DOT_REPLACEMENT

        public static final java.lang.String DOT_REPLACEMENT
        Dot replacement in namings (DOM Id, JSON, XML, ...)
        See Also:
        Constant Field Values
      • LANG_FRENCH

        public static final java.lang.String LANG_FRENCH
        French language code
        See Also:
        Constant Field Values
      • LANG_ENGLISH

        public static final java.lang.String LANG_ENGLISH
        English language code
        See Also:
        Constant Field Values
      • LANG_SPANISH

        public static final java.lang.String LANG_SPANISH
        Spanish language code
        See Also:
        Constant Field Values
      • LANG_GERMAN

        public static final java.lang.String LANG_GERMAN
        German language code
        See Also:
        Constant Field Values
      • LANG_ITALIAN

        public static final java.lang.String LANG_ITALIAN
        Italian language code
        See Also:
        Constant Field Values
      • LANG_PORTUGESE

        public static final java.lang.String LANG_PORTUGESE
        Portugese language code
        See Also:
        Constant Field Values
      • LANG_DUTCH

        public static final java.lang.String LANG_DUTCH
        Dutch language code
        See Also:
        Constant Field Values
      • LANG_JAPANESE

        public static final java.lang.String LANG_JAPANESE
        Japanese language code
        See Also:
        Constant Field Values
      • LANG_KOREAN

        public static final java.lang.String LANG_KOREAN
        Korean language code
        See Also:
        Constant Field Values
      • LANG_CHINESE

        public static final java.lang.String LANG_CHINESE
        Chinese language code
        See Also:
        Constant Field Values
      • LANG_DEFAULT

        @Deprecated
        public static final java.lang.String LANG_DEFAULT
        Deprecated.
      • DUMMY_TEXT

        public static final java.lang.String DUMMY_TEXT
        Dummy (Lorem ipsum...) text
        See Also:
        Constant Field Values
      • MENU_STANDARD

        public static final java.lang.String MENU_STANDARD
        Standard menu
        See Also:
        Constant Field Values
      • MENU_ACCORDION

        public static final java.lang.String MENU_ACCORDION
        Accordion menu
        See Also:
        Constant Field Values
      • MENU_SIMPLE

        public static final java.lang.String MENU_SIMPLE
        Simple menu
        See Also:
        Constant Field Values
      • MENU_DROPDOWN

        public static final java.lang.String MENU_DROPDOWN
        Dropdown menu
        See Also:
        Constant Field Values
      • MENU_DOMAINNAMES

        public static final java.lang.String MENU_DOMAINNAMES
        Domains names only
        See Also:
        Constant Field Values
      • MENU_DOMAINS

        public static final java.lang.String MENU_DOMAINS
        Domains
        See Also:
        Constant Field Values
      • MENU_SINGLEDOMAIN

        public static final java.lang.String MENU_SINGLEDOMAIN
        Single domain
        See Also:
        Constant Field Values
      • PAGE_PUBLICMAIN

        public static final java.lang.String PAGE_PUBLICMAIN
        Public main page name
        See Also:
        Constant Field Values
      • PAGE_MAIN

        public static final java.lang.String PAGE_MAIN
        Main page name
        See Also:
        Constant Field Values
      • PAGE_LOGON

        public static final java.lang.String PAGE_LOGON
        Logon page name
        See Also:
        Constant Field Values
      • PAGE_PUBLICHOME

        public static final java.lang.String PAGE_PUBLICHOME
        Public home page name
        See Also:
        Constant Field Values
      • PAGE_HOME

        public static final java.lang.String PAGE_HOME
        Home page name
        See Also:
        Constant Field Values
      • BROWSER_BACKGROUND

        public static final java.lang.String BROWSER_BACKGROUND
        Default browser background color
        See Also:
        Constant Field Values
      • SQL_NAME_REGEXP

        public static final java.lang.String SQL_NAME_REGEXP
        SQL name regular expression (alphanum[.alphanum])
        See Also:
        Constant Field Values
      • HIST_SUFFIX

        public static final java.lang.String HIST_SUFFIX
        Historic object logical name suffix
        See Also:
        Constant Field Values
      • HIST_DB_SUFFIX

        public static final java.lang.String HIST_DB_SUFFIX
        Historic object physical name suffix
        See Also:
        Constant Field Values
      • HIST_LINK_ORDER

        public static final int HIST_LINK_ORDER
        Historic object link order
        See Also:
        Constant Field Values
      • SERVER_JBOSS

        @Deprecated
        public static final java.lang.String SERVER_JBOSS
        Deprecated.
        Legacy J2EE JBoss servers are not supported anymore
        See Also:
        Constant Field Values
      • SERVER_WILDFLY

        public static final java.lang.String SERVER_WILDFLY
        WildFly JEE server
        See Also:
        Constant Field Values
      • SERVER_TOMEE

        public static final java.lang.String SERVER_TOMEE
        TomEE JEE server
        See Also:
        Constant Field Values
      • SERVER_TOMCAT

        public static final java.lang.String SERVER_TOMCAT
        Tomcat web server
        See Also:
        Constant Field Values
      • SERVER_TYPE_J2EE

        @Deprecated
        public static final java.lang.String SERVER_TYPE_J2EE
        Deprecated.
        Legacy J2EE server type is not supported anymore
        See Also:
        Constant Field Values
      • SERVER_TYPE_JEE

        public static final java.lang.String SERVER_TYPE_JEE
        JEE server type
        See Also:
        Constant Field Values
      • SERVER_TYPE_WEB

        public static final java.lang.String SERVER_TYPE_WEB
        Web server type
        See Also:
        Constant Field Values
      • WEB_IMAGES_PATH

        public static final java.lang.String WEB_IMAGES_PATH
        Images path
        See Also:
        Constant Field Values
      • WEB_SCRIPTS_PATH

        public static final java.lang.String WEB_SCRIPTS_PATH
        Scripts path
        See Also:
        Constant Field Values
      • WEB_WEBCONTENT_PATH

        public static final java.lang.String WEB_WEBCONTENT_PATH
        Public web content path
        See Also:
        Constant Field Values
      • WEB_API_PATH

        public static final java.lang.String WEB_API_PATH
        API path
        See Also:
        Constant Field Values
      • WEB_GIT_PATH

        public static final java.lang.String WEB_GIT_PATH
        Git repositories path
        See Also:
        Constant Field Values
      • WEB_MAVEN_PATH

        public static final java.lang.String WEB_MAVEN_PATH
        Maven repository path
        See Also:
        Constant Field Values
      • WEB_SCOPE_PATH

        public static final java.lang.String WEB_SCOPE_PATH
        Scope path
        See Also:
        Constant Field Values
      • DB_UNKNOWN

        public static final int DB_UNKNOWN
        Unknown database vendor code
        See Also:
        Constant Field Values
      • DB_POSTGRESQL

        public static final int DB_POSTGRESQL
        PostgreSQL vendor code
        See Also:
        Constant Field Values
      • SHORT_TEXT_MAXSIZE

        public static final int SHORT_TEXT_MAXSIZE
        Max size on short string
        See Also:
        Constant Field Values
      • DEFAULT_SYSTEM_ENCODING

        public static final java.lang.String DEFAULT_SYSTEM_ENCODING
        System encoding
      • EPHEMERAL_ENCRYPTION_KEY

        public static final java.lang.String EPHEMERAL_ENCRYPTION_KEY
        Ephemeral 128bit (16 char) encryption key (new at each application start)
      • DEFAULT_RESOURCES_URL

        public static final java.lang.String DEFAULT_RESOURCES_URL
        Resources URL
        See Also:
        Constant Field Values
      • GITHUB_URL

        public static final java.lang.String GITHUB_URL
        Github base URL
        See Also:
        Constant Field Values
      • GITLAB_URL

        public static final java.lang.String GITLAB_URL
        Gitlab base URL
        See Also:
        Constant Field Values
      • EXCEL_HTML

        public static final java.lang.String EXCEL_HTML
        Excel HTML format
        See Also:
        Constant Field Values
      • EXCEL_BINARY

        public static final java.lang.String EXCEL_BINARY
        Excel binary format
        See Also:
        Constant Field Values
      • ENDPOINT_SYSTEM

        public static final int ENDPOINT_SYSTEM
        System end point
        See Also:
        Constant Field Values
      • ENDPOINT_UI_PUBLIC

        public static final int ENDPOINT_UI_PUBLIC
        UI public end point
        See Also:
        Constant Field Values
      • ENDPOINT_WS

        @Deprecated
        public static final int ENDPOINT_WS
        Deprecated.
        Web services gateway end point
        See Also:
        Constant Field Values
      • ENDPOINT_CRON

        public static final int ENDPOINT_CRON
        Cron pseudo end point
        See Also:
        Constant Field Values
      • COOKIE_CLIENTID

        public static final java.lang.String COOKIE_CLIENTID
        Client unique ID cookie name
        See Also:
        Constant Field Values
      • SESSION_CLIENTID

        public static final java.lang.String SESSION_CLIENTID
        Client unique ID session attribute name
        See Also:
        Constant Field Values
      • PUBLIC_GRANT_ATTRIBUTE_NAME

        public static final java.lang.String PUBLIC_GRANT_ATTRIBUTE_NAME
        Public grant attribute name
        See Also:
        Constant Field Values
      • PUBLIC_PAGE_ATTRIBUTE_NAME

        public static final java.lang.String PUBLIC_PAGE_ATTRIBUTE_NAME
        Public page attribute name
        See Also:
        Constant Field Values
      • GRANT_ATTRIBUTE_NAME

        public static final java.lang.String GRANT_ATTRIBUTE_NAME
        UI grant attribute name
        See Also:
        Constant Field Values
      • PAGE_ATTRIBUTE_NAME

        public static final java.lang.String PAGE_ATTRIBUTE_NAME
        UI page attribute name
        See Also:
        Constant Field Values
      • NAV_ATTRIBUTE_NAME

        public static final java.lang.String NAV_ATTRIBUTE_NAME
        UI navigator attribute name
        See Also:
        Constant Field Values
      • INDEX_ATTRIBUTE_NAME

        public static final java.lang.String INDEX_ATTRIBUTE_NAME
        UI index attribute name
        See Also:
        Constant Field Values
      • TREEVIEW_ATTRIBUTE_NAME

        public static final java.lang.String TREEVIEW_ATTRIBUTE_NAME
        UI treeview attribute name
        See Also:
        Constant Field Values
      • IO_GRANT_ATTRIBUTE_NAME

        public static final java.lang.String IO_GRANT_ATTRIBUTE_NAME
        I/O grant attribute name
        See Also:
        Constant Field Values
      • GIT_GRANT_ATTRIBUTE_NAME

        public static final java.lang.String GIT_GRANT_ATTRIBUTE_NAME
        Git grant attribute name
        See Also:
        Constant Field Values
      • API_GRANTS_ATTRIBUTE_NAME

        public static final java.lang.String API_GRANTS_ATTRIBUTE_NAME
        API grants attribute name
        See Also:
        Constant Field Values
      • COOKIE_LEGACY

        public static final java.lang.String COOKIE_LEGACY
        Legacy cookie name
        See Also:
        Constant Field Values
      • COOKIE_USERTOKEN

        public static final java.lang.String COOKIE_USERTOKEN
        Auth token cookie name
        See Also:
        Constant Field Values
      • AUTH_DEFAULT_URL

        @Deprecated
        public static final java.lang.String AUTH_DEFAULT_URL
        Deprecated.
        Use AuthTool constant
        See Also:
        Constant Field Values
      • AUTH_METHOD_NONE

        @Deprecated
        public static final int AUTH_METHOD_NONE
        Deprecated.
        Use AuthTool constant
        See Also:
        Constant Field Values
      • AUTH_METHOD_DEFAULT

        @Deprecated
        public static final int AUTH_METHOD_DEFAULT
        Deprecated.
        Use AuthTool constant
        See Also:
        Constant Field Values
      • AUTH_METHOD_INTERNAL

        @Deprecated
        public static final int AUTH_METHOD_INTERNAL
        Deprecated.
        Use AuthTool constant
        See Also:
        Constant Field Values
      • AUTH_METHOD_OAUTH2

        @Deprecated
        public static final int AUTH_METHOD_OAUTH2
        Deprecated.
        Use AuthTool constant
        See Also:
        Constant Field Values
      • AUTH_METHOD_SAML

        @Deprecated
        public static final int AUTH_METHOD_SAML
        Deprecated.
        Use AuthTool constant
        See Also:
        Constant Field Values
      • AUTH_METHOD_LDAP

        @Deprecated
        public static final int AUTH_METHOD_LDAP
        Deprecated.
        Use AuthTool constant
        See Also:
        Constant Field Values
      • AUTH_METHOD_CROWD

        @Deprecated
        public static final int AUTH_METHOD_CROWD
        Deprecated.
        Use AuthTool constant
        See Also:
        Constant Field Values
      • AUTH_METHOD_CUSTOM

        @Deprecated
        public static final int AUTH_METHOD_CUSTOM
        Deprecated.
        Use AuthTool constant
        See Also:
        Constant Field Values
      • AUTH_DEFAULT_ERROR

        @Deprecated
        public static final java.lang.String AUTH_DEFAULT_ERROR
        Deprecated.
        Use AuthTool.getAuthMethodFromType
        See Also:
        Constant Field Values
      • AUTH_PROVIDER_DEFAULT

        @Deprecated
        public static final java.lang.String AUTH_PROVIDER_DEFAULT
        Deprecated.
        Use AuthTool.getAuthMethodFromType
        See Also:
        Constant Field Values
      • AUTH_PROVIDER_INTERNAL

        @Deprecated
        public static final java.lang.String AUTH_PROVIDER_INTERNAL
        Deprecated.
        Use AuthTool.getAuthMethodFromType
        See Also:
        Constant Field Values
      • AUTH_PROVIDER_OAUTH2_GOOGLE

        @Deprecated
        public static final java.lang.String AUTH_PROVIDER_OAUTH2_GOOGLE
        Deprecated.
        Use AuthTool.getAuthMethodFromType
        See Also:
        Constant Field Values
      • AUTH_PROVIDER_OAUTH2_MICROSOFT

        @Deprecated
        public static final java.lang.String AUTH_PROVIDER_OAUTH2_MICROSOFT
        Deprecated.
        Use AuthTool.getAuthMethodFromType
        See Also:
        Constant Field Values
      • AUTH_PROVIDER_OAUTH2_LINKEDIN

        @Deprecated
        public static final java.lang.String AUTH_PROVIDER_OAUTH2_LINKEDIN
        Deprecated.
        Use AuthTool.getAuthMethodFromType
        See Also:
        Constant Field Values
      • AUTH_PROVIDER_OAUTH2_FRANCECONNECT

        @Deprecated
        public static final java.lang.String AUTH_PROVIDER_OAUTH2_FRANCECONNECT
        Deprecated.
        Use AuthTool.getAuthMethodFromType
        See Also:
        Constant Field Values
      • AUTH_PROVIDER_SAML_GOOGLE

        @Deprecated
        public static final java.lang.String AUTH_PROVIDER_SAML_GOOGLE
        Deprecated.
        Use AuthTool.getAuthMethodFromType
        See Also:
        Constant Field Values
      • AUTH_PROVIDER_CROWD

        @Deprecated
        public static final java.lang.String AUTH_PROVIDER_CROWD
        Deprecated.
        Use AuthTool.getAuthMethodFromType
        See Also:
        Constant Field Values
      • AUTH_PROVIDER_LDAP

        @Deprecated
        public static final java.lang.String AUTH_PROVIDER_LDAP
        Deprecated.
        Use AuthTool.getAuthMethodFromType
        See Also:
        Constant Field Values
      • AUTH_PROVIDER_CUSTOM

        @Deprecated
        public static final java.lang.String AUTH_PROVIDER_CUSTOM
        Deprecated.
        Use AuthTool.getAuthMethodFromType
        See Also:
        Constant Field Values
      • SESSION_INFO

        public static final java.lang.String SESSION_INFO
        Session info name (session attribute and system parameter)
        See Also:
        Constant Field Values
      • SESSION_LOGIN

        public static final java.lang.String SESSION_LOGIN
        Login session attribute name
        See Also:
        Constant Field Values
      • SESSION_USER_TOKEN

        public static final java.lang.String SESSION_USER_TOKEN
        User token session attribute name
        See Also:
        Constant Field Values
      • SESSION_CONTEXT_URL

        public static final java.lang.String SESSION_CONTEXT_URL
        Context URL session attribute name
        See Also:
        Constant Field Values
      • SESSION_SERVER_URL

        public static final java.lang.String SESSION_SERVER_URL
        Server URL session attribute name
        See Also:
        Constant Field Values
      • SESSION_USER_AGENT

        public static final java.lang.String SESSION_USER_AGENT
        User agent session attribute name
        See Also:
        Constant Field Values
      • SESSION_LEGACY

        public static final java.lang.String SESSION_LEGACY
        Legacy session attribute name
        See Also:
        Constant Field Values
      • SESSION_MOBILE

        public static final java.lang.String SESSION_MOBILE
        Legacy/responsive UI session attribute name
        See Also:
        Constant Field Values
      • SESSION_SCOPE

        public static final java.lang.String SESSION_SCOPE
        Scope session attribute name
        See Also:
        Constant Field Values
      • SESSION_DEEPLINK

        public static final java.lang.String SESSION_DEEPLINK
        Deeplink session attribute name
        See Also:
        Constant Field Values
      • SYSTEM_MODULES

        public static final java.lang.String[] SYSTEM_MODULES
        System modules
      • ADDON_MODULES

        public static final java.lang.String[] ADDON_MODULES
        Addon modules
      • REPOSITORY_OBJECTS

        public static final java.lang.String[] REPOSITORY_OBJECTS
        Ordered list of system objects parts of the core repository
      • NOT_REPOSITORY_OBJECTS

        public static final java.lang.String[] NOT_REPOSITORY_OBJECTS
        List of system object not part of the core repository
      • DEFAULT_MODULE_VERSION

        public static final java.lang.String DEFAULT_MODULE_VERSION
        Default module version
        See Also:
        Constant Field Values
      • DEFAULT_LOGIN_SIZE

        public static final int DEFAULT_LOGIN_SIZE
        Default login field size
        See Also:
        Constant Field Values
      • DEFAULT_DEFAULT_PASSWORD

        public static final java.lang.String DEFAULT_DEFAULT_PASSWORD
        Default default password
        See Also:
        Constant Field Values
      • FORCE_CHANGE_PASSWORD

        public static final java.lang.String FORCE_CHANGE_PASSWORD
        Force password parameter name
        See Also:
        Constant Field Values
      • SALT_PASSWORD

        public static final java.lang.String SALT_PASSWORD
        Salt password parameter name
        See Also:
        Constant Field Values
      • HASH_ALGORITHM_MD5

        public static final java.lang.String HASH_ALGORITHM_MD5
        MD5 hash algorithm
        See Also:
        Constant Field Values
      • HASH_ALGORITHM_SHA1

        public static final java.lang.String HASH_ALGORITHM_SHA1
        SHA-1 hash algorithm
        See Also:
        Constant Field Values
      • HASH_ALGORITHM_SHA256

        public static final java.lang.String HASH_ALGORITHM_SHA256
        SHA-256 hash algorithm
        See Also:
        Constant Field Values
      • HASH_ALGORITHM_SHA512

        public static final java.lang.String HASH_ALGORITHM_SHA512
        SHA-256 hash algorithm
        See Also:
        Constant Field Values
      • HASH_ENCODING_HEX

        public static final java.lang.String HASH_ENCODING_HEX
        Hash hexadecimal encoding method
        See Also:
        Constant Field Values
      • HASH_ENCODING_BASE64

        public static final java.lang.String HASH_ENCODING_BASE64
        Hash base 64 encoding method
        See Also:
        Constant Field Values
      • DATA_DIR

        public static final java.lang.String DATA_DIR
        Data folder environment entry lookup name
        See Also:
        Constant Field Values
      • DEFAULT_DATASOURCE

        public static final java.lang.String DEFAULT_DATASOURCE
        Default datasource lookup name
        See Also:
        Constant Field Values
      • MAIL_SERVICE

        public static final java.lang.String MAIL_SERVICE
        Mail service lookup name
        See Also:
        Constant Field Values
      • VERSION_PARAM

        public static final java.lang.String VERSION_PARAM
        Version system parameter name
        See Also:
        Constant Field Values
      • PATCH_LEVEL_PARAM

        public static final java.lang.String PATCH_LEVEL_PARAM
        Version system parameter name
        See Also:
        Constant Field Values
      • MAIL_SERVICE_PARAM

        public static final java.lang.String MAIL_SERVICE_PARAM
        Mail service system parameter name
        See Also:
        Constant Field Values
      • SMS_SERVICE_PARAM

        public static final java.lang.String SMS_SERVICE_PARAM
        SMS service system parameter name
        See Also:
        Constant Field Values
      • GIT_FORMAT_PARAM

        public static final java.lang.String GIT_FORMAT_PARAM
        Git format system parameter name
        See Also:
        Constant Field Values
      • EJB_CRONMANAGER

        public static final java.lang.String EJB_CRONMANAGER
        Cron manager EJB lookup name
        See Also:
        Constant Field Values
      • EJB_CRONWORKER

        public static final java.lang.String EJB_CRONWORKER
        Cron worker EJB lookup name
        See Also:
        Constant Field Values
      • EJB_GRANTMANAGER

        public static final java.lang.String EJB_GRANTMANAGER
        Grant manager EJB lookup name
        See Also:
        Constant Field Values
      • EJB_OBJECTLOADER

        public static final java.lang.String EJB_OBJECTLOADER
        Object loader EJB lookup name
        See Also:
        Constant Field Values
      • EJB_OBJECTMANAGER

        public static final java.lang.String EJB_OBJECTMANAGER
        Object manager EJB lookup name
        See Also:
        Constant Field Values
      • EJB_PROCESSLOADER

        public static final java.lang.String EJB_PROCESSLOADER
        Process loader EJB lookup name
        See Also:
        Constant Field Values
      • EJB_PROCESSMANAGER

        public static final java.lang.String EJB_PROCESSMANAGER
        Process manager EJB lookup name
        See Also:
        Constant Field Values
      • EJB_PROCESSSCHEDULER

        public static final java.lang.String EJB_PROCESSSCHEDULER
        Process scheduler EJB lookup name
        See Also:
        Constant Field Values
      • EJB_INTERFACE

        public static final java.lang.String EJB_INTERFACE
        I/O interface EJB lookup name
        See Also:
        Constant Field Values
      • BASE_NAMING_CONTEXT

        public static final java.lang.String BASE_NAMING_CONTEXT
        Base JNDI naming context
        See Also:
        Constant Field Values
      • DATA_DIR_LOOKUP

        public static final java.lang.String DATA_DIR_LOOKUP
        Data dir lookup name
        See Also:
        Constant Field Values
      • DEFAULT_DATASOURCE_LOOKUP

        public static final java.lang.String DEFAULT_DATASOURCE_LOOKUP
        Default datasource lookup name
        See Also:
        Constant Field Values
      • MAIL_SERVICE_LOOKUP

        public static final java.lang.String MAIL_SERVICE_LOOKUP
        Mail service lookup name
        See Also:
        Constant Field Values
      • DEFAULT_CONTEXT

        public static final java.lang.String DEFAULT_CONTEXT
        Default initial context name
        See Also:
        Constant Field Values
    • Constructor Detail

      • Globals

        public Globals()
    • Method Detail

      • isSQLReservedWord

        public static final boolean isSQLReservedWord​(java.lang.String s)
        Check if string is a SQL reserved word
        Parameters:
        s - String to check
        Returns:
        true if the string is an SQL reserved word
      • isSuitableSQLName

        public static final boolean isSuitableSQLName​(java.lang.String s)
        Check if string is a suitable SQL name
        Parameters:
        s - String to check
        Returns:
        true if the string is a suitable SQL name
      • poiLibAvailable

        public static boolean poiLibAvailable()
        Are the Apache POI libs available?
        Returns:
        True if Apache POI libs are available
      • docx4jLibAvailable

        public static boolean docx4jLibAvailable()
        Are the Docx4j libs available?
        Returns:
        True if Docx4j libs are available
      • tikaLibAvailable

        public static boolean tikaLibAvailable()
        Are the Apache Tika libs available?
        Returns:
        True if Apache Tika libs are available
      • qrcodeLibAvailable

        public static boolean qrcodeLibAvailable()
        Are the QRCode/barcode libs available?
        Returns:
        True if QRCode/barcode libs are available
      • jgitLibAvailable

        public static boolean jgitLibAvailable()
        Are the jGit libs available?
        Returns:
        True if JGit libs are available
      • googleapisLibAvailable

        public static boolean googleapisLibAvailable()
        Are the Google APIs libs available?
        Returns:
        True if Google APIs libs are available
      • googleapisFirebaseLibAvailable

        public static boolean googleapisFirebaseLibAvailable()
        Are the Firebase libs available?
        Returns:
        True if Firebase libs are available
      • jcloudsLibAvailable

        public static boolean jcloudsLibAvailable()
        Are the JClouds libs available?
        Returns:
        True if JClouds libs are available
      • getDevDependencies

        public static java.util.List<java.lang.String[]> getDevDependencies()
        Get development dependencies (array of groupId:artifactId:version)
        Returns:
        List of string array (index 0 = groupId, index 1 = artifactId, index 2 = version)
      • getDefaultExcelFormat

        public static java.lang.String getDefaultExcelFormat()
        Get default Excel format (depending on POI lib availability)
        Returns:
        Default Excel format
      • getAuthTypeFromMethod

        @Deprecated
        public static java.lang.String getAuthTypeFromMethod​(int method)
        Deprecated.
        Use AuthTool.getAuthTypeFromMethod
      • getAuthMethodFromType

        @Deprecated
        public static int getAuthMethodFromType​(java.lang.String type)
        Deprecated.
        Use AuthTool.getAuthMethodFromType
      • getAuthProviders

        @Deprecated
        public static final org.json.JSONArray getAuthProviders​(int method)
        Deprecated.
        Use AuthTool.getAuthProviders
      • getAuthProviders

        @Deprecated
        public static final org.json.JSONArray getAuthProviders()
        Deprecated.
        Use AuthTool.getAuthProviders
      • getLocalAuthProvider

        @Deprecated
        public static final org.json.JSONObject getLocalAuthProvider()
        Deprecated.
        Use AuthTool.getLocalAuthProvider
      • getAuthProvider

        @Deprecated
        public static final org.json.JSONObject getAuthProvider​(int method,
                                                                java.lang.String name)
        Deprecated.
        Use AuthTool.getAuthProvider
      • useOAuth2

        @Deprecated
        public static final boolean useOAuth2()
        Deprecated.
        Use AuthTool.useOAuth2
      • useSAML

        @Deprecated
        public static final boolean useSAML()
        Deprecated.
        Use AuthTool.useSAML
      • useCrowd

        @Deprecated
        public static final boolean useCrowd()
        Deprecated.
        Use AuthTool.useCrowd
      • useLDAP

        @Deprecated
        public static final boolean useLDAP()
        Deprecated.
        Use AuthTool.useLDAP
      • useUserTokens

        public static final boolean useUserTokens​(java.lang.String type)
        Are persistent user tokens enabled?
        Parameters:
        type - Type (one of Globals.USERTOKEN_TYPE_*)
        Returns:
        True if persistent tokens are enabled
      • getGoogleAPIKey

        public static java.lang.String getGoogleAPIKey​(Grant g)
        Get Google API key
        Parameters:
        g - Grant or null for system admin
        Returns:
        Google APU key
      • getRepository

        public static java.lang.String[] getRepository()
        Get a copy of the repository objects array
        Returns:
        Copy of the repository objects array
      • isObjectInRepository

        public static boolean isObjectInRepository​(java.lang.String object)
        Check if the specified object belongs to the repository
        Returns:
        True if the object os one of the repository object
      • isObjectNotInRepository

        public static boolean isObjectNotInRepository​(java.lang.String object)
        Check if the specified object is a core system object but does not belong to the core repository
        Returns:
        True if the object is a core system object but does not belong to the core repository
      • isLoaded

        public static boolean isLoaded()
        Is loaded?
      • isUnitTests

        public static final boolean isUnitTests()
        Is unit tests context?
      • getProperty

        public static java.lang.String getProperty​(java.lang.String key,
                                                   java.lang.String def)
        Get value of a property (that are stored either in application.properties or in com.simplicite.globals.properties)
        Parameters:
        key - Property key
        def - Default value
        Returns:
        Property value or default value if no application properties exists or if property does not exist
      • loadGlobals

        public static void loadGlobals​(java.lang.String cp,
                                       boolean ut)
        Load globals
        Parameters:
        cp - Context path
        ut - Unit tests context?
      • getContextPath

        public static java.lang.String getContextPath()
        Get application context path
        Returns:
        Application context path
      • getApplicationName

        public static java.lang.String getApplicationName()
        Get application name
        Returns:
        Application name
      • setApplicationName

        public static void setApplicationName​(java.lang.String name)
        Set application name
        Parameters:
        name - Name
      • getApplicationURL

        public static java.lang.String getApplicationURL()
        Get application URL
        Returns:
        Application URL
      • setApplicationURL

        public static void setApplicationURL​(java.lang.String url)
        Set application URL (can only be done once)
        Parameters:
        url - Application URL
      • getServerVendor

        public static java.lang.String getServerVendor()
        Get application server vendor
        Returns:
        Application server vendor
      • getServerType

        public static java.lang.String getServerType()
        Get application server type (J2EE (=JEE 1.4), JEE6, WEB)
        Returns:
        Application server type
      • getServerVersion

        public static java.lang.String getServerVersion()
        Get application server version
        Returns:
        Application server version
      • isWebSocketServer

        public static boolean isWebSocketServer()
        Is application server offering websocket support?
        Returns:
        True if websocket are supported
      • getPlatformVendor

        public static final java.lang.String getPlatformVendor()
        Get platform vendor name
        Returns:
        Platform vendor name
      • getPlatformName

        public static java.lang.String getPlatformName()
        Get platform name
        Returns:
        Platform name
      • getPlatformVersion

        public static java.lang.String getPlatformVersion()
        Get platform version
        Returns:
        Platform version
      • getPlatformPatchLevel

        public static java.lang.String getPlatformPatchLevel()
        Get platform patch level
        Returns:
        Platform patch level
      • fromPatchLevel

        public static int fromPatchLevel​(java.lang.String patchLevel,
                                         int def)
        Get patch level number from patch level string
        Parameters:
        patchLevel - Optional patch level string (null means current platform patch level)
        def - Default patch level number
        Returns:
        Patch level number
      • toPatchLevel

        public static java.lang.String toPatchLevel​(int n)
        Get patch level string from patch level number
        Parameters:
        n - Patch level number
        Returns:
        Patch level string
      • getPlatformAutoSetup

        public static boolean getPlatformAutoSetup()
        Get platform auto setup status
        Returns:
        True if platform auto setup is enabled
      • getPlatformAutoUpgrade

        public static boolean getPlatformAutoUpgrade()
        Get platform auto-upgrade
        Returns:
        True if platform auto upgrade is enabled
      • getPlatformBuildDate

        public static java.lang.String getPlatformBuildDate()
        Get platform build date
        Returns:
        Platform build date
      • getPlatformBuildTime

        public static java.lang.String getPlatformBuildTime()
        Get platform build time
        Returns:
        Platform build time
      • getPlatformRevision

        public static java.lang.String getPlatformRevision()
        Get platform revision
        Returns:
        Platform revison
      • getPlatformResourcesURL

        public static java.lang.String getPlatformResourcesURL()
        Get platform resources website URL
        Returns:
        Platform resources website URL
      • getPlatformJavadocURL

        public static java.lang.String getPlatformJavadocURL()
        Get platform public Javadoc base URL
        Returns:
        Publica Javadoc base URL
      • getPlatformJavadocSearchURL

        public static java.lang.String getPlatformJavadocSearchURL()
        Get platform public Javadoc search URL
        Returns:
        Platform public Javadoc search URL
      • getPlatformJSDocURL

        public static java.lang.String getPlatformJSDocURL()
        Get platform public JSDoc URL
        Returns:
        Platform public JSDoc URL
      • getPlatformEncoding

        public static java.lang.String getPlatformEncoding()
        Get platform encoding
        Returns:
        Platform encoding
      • isUnicodePlatformEncoding

        public static boolean isUnicodePlatformEncoding()
        Is platform encoding a Unicode encoding?
        Returns:
        True if platform encoding is unicode
      • isRelease

        public static boolean isRelease()
        Is platform in release stage?
        Returns:
        True if platform is in relaese stage
      • getMavenGroupId

        public static java.lang.String getMavenGroupId()
        Get Maven group ID
        Returns:
        Maven group ID
      • getMavenArtifactId

        public static java.lang.String getMavenArtifactId()
        Get Maven artifact ID
        Returns:
        Maven articat ID
      • getMavenDescription

        public static java.lang.String getMavenDescription()
        Get Maven description
        Returns:
        Maven description
      • getMavenBuildDate

        public static java.util.Date getMavenBuildDate()
        Get Maven build date
        Returns:
        Maven build date
      • getMavenBuildTimestamp

        public static java.lang.String getMavenBuildTimestamp​(boolean dot)
        Get Maven build timestamp
        Returns:
        Maven build timestamp
      • isMavenSnapshot

        public static boolean isMavenSnapshot()
        Is Maven artifact a snapshot version?
        Returns:
        True if Maven artifact is a snapshot version
      • getMavenArtifactVersion

        public static java.lang.String getMavenArtifactVersion()
        Get Maven artifact version
        Returns:
        Maven artifact version
      • getMavenFilesVersion

        public static java.lang.String getMavenFilesVersion()
        Get Maven file names version
        Returns:
        Maven file names version
      • getSystemModuleName

        public static java.lang.String getSystemModuleName()
        Get system module name
        Returns:
        System module name
      • getAdminGroup

        public static java.lang.String getAdminGroup()
        Get administration group name
        Returns:
        Administration group name
      • getGrantAdminGroup

        public static java.lang.String getGrantAdminGroup()
        Get rights administration group name
        Returns:
        Rights administration group name
      • getPublicGroup

        public static java.lang.String getPublicGroup()
        Get public group name
        Returns:
        Public group name
      • getUserAdminGroup

        public static java.lang.String getUserAdminGroup()
        Get user administration group name
        Returns:
        User administration group name
      • getUserPasswordGroup

        public static java.lang.String getUserPasswordGroup()
        Get user's password management group name
        Returns:
        User's password management group name
      • getDesignerLogin

        public static java.lang.String getDesignerLogin()
        Get designer login
        Returns:
        Designer login
      • getSystemLogin

        public static java.lang.String getSystemLogin()
        Get system login
        Returns:
        System login
      • getPublicLogin

        public static java.lang.String getPublicLogin()
        Get public login
        Returns:
        Public login
      • getWebDesignerLogin

        @Deprecated
        public static java.lang.String getWebDesignerLogin()
        Deprecated.
      • getDefaultLanguage

        public static java.lang.String getDefaultLanguage()
        Get default language
        Returns:
        Default language
      • getDefaultTimezone

        public static java.lang.String getDefaultTimezone()
        Get default timezone
        Returns:
        Default timezone
      • getDefaultPassword

        public static java.lang.String getDefaultPassword()
        Get default password used at user creation
        Returns:
        default password
      • getDefaultTemplateName

        public static java.lang.String getDefaultTemplateName()
        Get default template name
        Returns:
        Default template name
      • getLoggerName

        public static java.lang.String getLoggerName()
        Gte logger name
        Returns:
        Logger name
      • getDatasourceFactory

        public static java.lang.String getDatasourceFactory()
        Get data source factory class name
        Returns:
        Data source factory class name
      • getGitBaseDir

        public static java.lang.String getGitBaseDir()
        Get Git base directory (null if not set or non writeable)
        Returns:
        Git base directory
      • getInterfaceType

        public static Globals.InterfaceType getInterfaceType()
        Get global interface type
        Returns:
        Global interface type
      • setInterfaceType

        public static void setInterfaceType​(Globals.InterfaceType it)
        Set global interface type
        Parameters:
        it - Interface type
      • getInitialContext

        public static javax.naming.InitialContext getInitialContext()
                                                             throws javax.naming.NamingException
        Get the default initial context
        At first access a static default initial context is created loading
        the default jndi.properties file if present (must be present in case of a remote Java client)
        Returns:
        The default initial context
        Throws:
        javax.naming.NamingException
      • getInitialContext

        public static javax.naming.InitialContext getInitialContext​(java.lang.String jndiPropertiesLocation)
                                                             throws javax.naming.NamingException

        Instanciate a static initial context loading the specified jndi.properties file if present)

        Parameters:
        jndiPropertiesLocation - Location of JNDI file to be loaded in a suitable form for getResourceAsStream (e.g. /com/simplicite/myjndi.properties)
        Returns:
        A static initial context
        Throws:
        javax.naming.NamingException - If instancationg the initial context fails
      • lookup

        public static java.lang.Object lookup​(java.lang.String lookup)
                                       throws javax.naming.NamingException
        Global lookup
        Parameters:
        lookup - Lookup name
        Returns:
        Object if found
        Throws:
        javax.naming.NamingException - If lookup fails
      • lookup

        public static java.lang.Object lookup​(java.lang.String jndiPropertiesLocation,
                                              java.lang.String lookup)
                                       throws javax.naming.NamingException
        Global lookup
        Parameters:
        jndiPropertiesLocation - Location of JNDI file to be loaded
        lookup - Lookup name
        Returns:
        Object if found
        Throws:
        javax.naming.NamingException
      • getDataDir

        public static java.lang.String getDataDir()
        Get data directory
        Returns:
        Data directory
      • initLookups

        public static void initLookups()
        Initialize lookups to load objects in the main container
      • clear

        public static void clear()
        Clear globals and force any further reloading