Registry where possible instead of using this utility.@Deprecated public class TestRegistryUtils extends Object
MuleRegistry.| Constructor and Description |
|---|
TestRegistryUtils()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
registerObject(MuleContext context,
String key,
Object value)
Deprecated.
Registers an object in the registry with a key.
|
public static void registerObject(MuleContext context, String key, Object value)
key - the key to store the value against. This is a non-null valuevalue - the object to store in the registry. This is a non-null valueorg.mule.runtime.api.exception.MuleRuntimeException - wrapping a RegistrationException if an object with the same key already existsCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.