Interface ApplicationContext

  • All Known Subinterfaces:
    DeploymentContext

    public interface ApplicationContext
    Useful services for application loading implementation
    • Method Detail

      • getClassLoader

        ClassLoader getClassLoader()
        Returns the class loader associated with the application. ClassLoader instances are usually obtained by the getClassLoader API on the associated ArchiveHandler for the archive type being deployed. This can return null and the container should allocate a ClassLoader while loading the application.
      • getAppProps

        Properties getAppProps()
        Returns the application level properties that will be persisted as a key value pair at then end of deployment. That allows individual Deployers implementation to store some information at the application level that should be available upon server restart. Application level propertries are shared by all the modules.
        Returns:
        the application's properties.
      • getModuleProps

        Properties getModuleProps()
        Returns the module level properties that will be persisted as a key value pair at then end of deployment. That allows individual Deployers implementation to store some information at the module level that should be available upon server restart. Module level properties are only visible to the current module.
        Returns:
        the module's properties.