Read-only, JS-facing view of the applications currently active for the current tenant, exposed as the applications variable. Look up an app by its instance id, for example applications.myapp, to call methods on another app's public API from a controller or template. Implements Map so it can also be iterated, but the write operations put, remove, putAll and clear are not supported.

Group: Managers

Implements: Map


Properties

PropertyReturnsDescription
emptybooleanAlways returns false; this does not reflect whether any applications are actually active.

Methods

get(String instanceId) · size() · isEmpty() · containsKey(Object key) · containsValue(Object value) · get(Object key) · put(String key, Application value) · remove(Object key) · keySet() · values() · entrySet()

get(String instanceId)

Returns: Application

Looks up a currently active application by its instance id.

ParameterDescription
instanceIdthe instance id of the application to look up

size()

Returns: int

The number of applications currently active for the tenant.

isEmpty()

Returns: boolean

Always returns false; this does not reflect whether any applications are actually active.

containsKey(Object key)

Returns: boolean

Checks whether there is a currently active application with the given instance id.

ParameterDescription
keythe instance id to look up, converted with toString

containsValue(Object value)

Returns: boolean

Checks whether the given Application is among the currently active applications, matched by instance id.

ParameterDescription
valuethe application to look for; other types always return false

get(Object key)

Returns: Application

Looks up a currently active application by its instance id.

ParameterDescription
keythe instance id of the application to look up, converted with toString

put(String key, Application value)

Returns: Application

Not supported; this is a read-only view of the currently active applications.

ParameterDescription
keyignored
valueignored

remove(Object key)

Returns: Application

Not supported; this is a read-only view of the currently active applications.

ParameterDescription
keyignored

keySet()

Returns: Set<String>

The instance ids of all applications currently active for the tenant.

values()

Returns: Collection<Application>

The applications currently active for the tenant.

entrySet()

Returns: Set<Entry<String,Application>>

Instance id to application pairs for all applications currently active for the tenant.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.