public class FrameInvoker<M> extends Object
| Modifier and Type | Field and Description |
|---|---|
private Function<Class<M>,M> |
beanFunction |
private Function<String,String> |
cfgFunction |
static FrameInvoker |
frameInvoker |
| Constructor and Description |
|---|
FrameInvoker() |
| Modifier and Type | Method and Description |
|---|---|
static <M> M |
getBean(Class<M> tClass) |
static String |
getCfg(String key) |
static <M> void |
setBeanFunction(Function<Class<M>,M> function)
设置获取beanfunction
|
static void |
setCfgFunction(Function<String,String> function)
设置获取配置function
|
public static FrameInvoker frameInvoker
private Function<Class<M>,M> beanFunction
private Function<String,String> cfgFunction
public FrameInvoker()
public static <M> void setBeanFunction(Function<Class<M>,M> function)
M - function - public static void setCfgFunction(Function<String,String> function)
function - Copyright © 2024. All rights reserved.