public class RuntimeRebinder extends Object
Constructor and Description |
---|
RuntimeRebinder() |
Modifier and Type | Method and Description |
---|---|
static Object |
createInstance(Class<?> requestTypeClass)
Returns an instance to satisfy the requested type by first finding the registered rebind rule
that matches the requested type and current browser state and then uses that rebind rule to
create an object instance.
|
static void |
registerRuntimeRebindRule(RuntimeRebindRule runtimeRebindRule)
Registers a rebind rule in a list that will be used to satisfy future rebind requests.
|
public static Object createInstance(Class<?> requestTypeClass)
public static void registerRuntimeRebindRule(RuntimeRebindRule runtimeRebindRule)
Copyright © 2018. All rights reserved.