Package org.opencms.main

Provides the main OpenCms "operating system".

There are 3 main ways to access resources in an OpenCms System:

  1. Using the OpenCmsServlet. This is the default usage of the OpenCms system.
  2. Using the CmsShell. This is done for specific reasons, usually related to system configuration or setup.
  3. Using the OpenCms.initCmsObject(String) from an application to obtain an initialized OpenCms user context.
I all use cases, the access to the OpenCms VFS is only possible with an initialized OpenCms user context, this means by using a CmsObject.

Since:
6.0.0
See Also:
OpenCmsServlet, CmsShell, OpenCms