Class Application
java.lang.Object
net.tangly.app.Application
The application defines the context of the whole digital product with a set of tenants.
Each tenant has a set of bounded domains and their ports. Each tenant has an own user management and type registry.
Business logic tailoring shall mainly be done through the type registry with their set of custom tags and codes.
The bounded domains with their ports are the entry points to the application. The application is a singleton.
The ports are the user interface and the REST services. Ports are optional.
The application shall be created in the main method of the application. The main method is responsible to insure that the constructor is called exactly once to insure the singleton pattern. The main application is single threaded per convention.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
static Application
instance()
void
void
removeTenant
(@NotNull String id) tenants()
-
Constructor Details
-
Application
public Application()
-
-
Method Details
-
instance
-
putTenant
-
removeTenant
-
tenant
-
tenants
-
archiveTenants
public void archiveTenants()
-