RemoteInteractionRegistry
public class RemoteInteractionRegistry
An exposed registry instance to make it easy for callers to get a hold of Remote Interaction
Summary
Public methods |
|
|---|---|
static RemoteInteraction |
Returns the |
static void |
registerInstance(RemoteInteraction remoteInteraction)Stores the remote interaction in the registry. |
Public methods
getInstance
public static RemoteInteraction getInstance()
Returns the RemoteInteraction
This remote interaction is not guaranteed to be present under all instrumentations.
| Returns | |
|---|---|
RemoteInteraction |
RemoteInteraction the remote interaction for this application. If no remote interaction has been registered a |
registerInstance
public static void registerInstance(RemoteInteraction remoteInteraction)
Stores the remote interaction in the registry.
This is a global registry - so be aware of the impact of calling this method!
| Parameters | |
|---|---|
RemoteInteraction remoteInteraction |
the remote interaction for this application. <@code>Nullde-registers any existing monitor. |