public class

ObjectRegistry

extends Object
java.lang.Object
   ↳ com.microstrategy.utils.ObjectRegistry

Class Overview

This class represents an in-memory registry of live objects. Its initial use will be to enable sharing of data between different MicroStrategy applications (servlet/controller).

Summary

Constants
String OBJREGKEY_CERTIFICATE_PROVIDER
String OBJREGKEY_EXPORT_PLAINTEXT_DELIMITERS List of delimiters for both export and subscriptions
String OBJREGKEY_MOBILE_CONTROLLER
String OBJREGKEY_RESOURCE_FEED_CONTROLLER
String OBJREGKEY_TASK_ADMIN_CONTROLLER This is the key that is used to identify the AppController instance for the Task administrator application.
String OBJREGKEY_TASK_PROCESSOR_CONTROLLER This is the key that is used to identify the AppController instance for the Task processor application.
String OBJREGKEY_TASK_VIEWER_CONTROLLER This is the key that is used to identify the AppController instance for the Task viewer application.
String OBJREGKEY_VISUALIZATIONS List of visualizations
String OBJREGKEY_WEB_UNIVERSAL_CONTROLLER This is the key that is used to identify the AppController instance for the Web Universal application.
Public Methods
void bind(String name, Object object)
Binds an object instance to a name.
static ObjectRegistry getInstance()
Returns the single instance of this class for use.
Object lookup(String name)
Looks up an object in our Registry.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String OBJREGKEY_CERTIFICATE_PROVIDER

Constant Value: "com.microstrategy.web.certificate.CertificateProvider"

public static final String OBJREGKEY_EXPORT_PLAINTEXT_DELIMITERS

List of delimiters for both export and subscriptions

Constant Value: "export-plaintext-delimiters"

public static final String OBJREGKEY_MOBILE_CONTROLLER

Constant Value: "com.microstrategy.web.controller.MobileController"

public static final String OBJREGKEY_RESOURCE_FEED_CONTROLLER

Constant Value: "com.microstrategy.web.controller.AppController.ResourceFeedController"

public static final String OBJREGKEY_TASK_ADMIN_CONTROLLER

This is the key that is used to identify the AppController instance for the Task administrator application.

Constant Value: "com.microstrategy.web.controller.AppController.TaskAdmin"

public static final String OBJREGKEY_TASK_PROCESSOR_CONTROLLER

This is the key that is used to identify the AppController instance for the Task processor application.

Constant Value: "com.microstrategy.web.controller.AppController.TaskProcessor"

public static final String OBJREGKEY_TASK_VIEWER_CONTROLLER

This is the key that is used to identify the AppController instance for the Task viewer application.

Constant Value: "com.microstrategy.web.controller.AppController.TaskViewer"

public static final String OBJREGKEY_VISUALIZATIONS

List of visualizations

Constant Value: "visualizations"

public static final String OBJREGKEY_WEB_UNIVERSAL_CONTROLLER

This is the key that is used to identify the AppController instance for the Web Universal application.

Constant Value: "com.microstrategy.web.controller.AppController.WebUniversal"

Public Methods

public void bind (String name, Object object)

Binds an object instance to a name. If the name already exists, this call will overwrite the previous binding.

Parameters
name The name or key to use to associate this object in the registry.
object The object to store in the registry.
Throws
IllegalArgumentException If the name parameter is a null or empty string.

public static ObjectRegistry getInstance ()

Returns the single instance of this class for use.

Returns
  • An instance of ObjectRegistry that you can use to lookup and bind objects.

public Object lookup (String name)

Looks up an object in our Registry. If not found, then null is returned.

Parameters
name The name of the object to search for.
Returns
  • The value of the object with that name, or null if there is no association.
Throws
IllegalArgumentException If the name parameter is a null or empty string.