摘要 |
One embodiment of the present invention provides a system that facilitates managing metadata associated with entities and entity types in a computing system. During operation, the system initializes a global static metadata cache containing global static metadata at the computing system. Next, the system initializes a global dynamic metadata cache containing global dynamic metadata at the computing system. The system then receives a command to initialize a session at the computing system. In response to the command, the system determines a realm for the session, wherein the realm is a virtual private partition of the computing system. The system then initializes a realm-scoped dynamic metadata cache containing realm-scoped dynamic metadata associated with the realm at the computing system. Finally, the system executes operations on the computing system in compliance with the global static metadata, the global dynamic metadata, and the realm-scoped dynamic metadata.
|