public class Registry extends Object
ServerRpcQueue, which can
be looked up based on their class.| Constructor and Description |
|---|
Registry()
Creates a new empty registry.
|
public Registry()
Use set(Class, Object) to populate the registry.
protected final <T> void set(Class<T> type, T instance)
Note that all instances are considered final and you are not allowed to update an instance of any given type.
T - the typetype - the type to storeinstance - the instance to storeprotected final <T> T get(Class<T> type)
T - the class typetype - the type to getpublic MessageSender getMessageSender()
MessageSender singleton.MessageSender singletonpublic MessageHandler getMessageHandler()
MessageHandler singleton.MessageHandler singletonpublic LoadingIndicator getLoadingIndicator()
LoadingIndicator singleton.LoadingIndicator singletonpublic ApplicationConnection getApplicationConnection()
ApplicationConnection singleton.ApplicationConnection singletonpublic Heartbeat getHeartbeat()
Heartbeat singleton.Heartbeat singletonpublic ConnectionStateHandler getConnectionStateHandler()
ConnectionStateHandler singleton.ConnectionStateHandler singletonpublic ServerRpcQueue getServerRpcQueue()
ServerRpcQueue singleton.ServerRpcQueue singletonpublic ApplicationConfiguration getApplicationConfiguration()
ApplicationConfiguration singleton.ApplicationConfiguration singletonpublic StateTree getStateTree()
StateTree singleton.StateTree singletonpublic PushConfiguration getPushConfiguration()
PushConfiguration singleton.PushConfiguration singletonpublic XhrConnection getXhrConnection()
XhrConnection singleton.XhrConnection singletonpublic URIResolver getURIResolver()
URIResolver singleton.URIResolver singletonpublic DependencyLoader getDependencyLoader()
DependencyLoader singleton.DependencyLoader singletonpublic SystemErrorHandler getSystemErrorHandler()
SystemErrorHandler singleton.SystemErrorHandler singletonpublic UILifecycle getUILifecycle()
UILifecycle singleton.UILifecycle singletonpublic RequestResponseTracker getRequestResponseTracker()
RequestResponseTracker singleton.RequestResponseTracker singletonpublic ReconnectDialogConfiguration getReconnectDialogConfiguration()
ReconnectDialogConfiguration singleton.ReconnectDialogConfiguration singletonpublic ExecuteJavaScriptProcessor getExecuteJavaScriptProcessor()
ExecuteJavaScriptProcessor singleton.ExecuteJavaScriptProcessor singletonpublic ServerConnector getServerConnector()
ServerConnector singleton.ServerConnector singletonpublic ResourceLoader getResourceLoader()
ResourceLoader singleton.ResourceLoader singletonpublic ConstantPool getConstantPool()
ConstantPool singleton.ConstantPool singletonpublic ScrollPositionHandler getScrollPositionHandler()
ScrollPositionHandler singleton.ScrollPositionHandler singletonpublic ExistingElementMap getExistingElementMap()
ExistingElementMap singleton.ExistingElementMap singletonpublic InitialPropertiesHandler getInitialPropertiesHandler()
InitialPropertiesHandler singleton.InitialPropertiesHandler singletonCopyright © 2000–2019 Vaadin Ltd. All rights reserved.