public class ActionLoaderDefault extends HandlerAide implements ActionLoader
限定符和类型 | 字段和说明 |
---|---|
protected boolean |
allowMapping |
protected Mapping |
bMapping |
protected java.lang.String |
bPath |
protected boolean |
bRemoting |
protected Render |
bRender |
protected BeanWrap |
bw |
构造器和说明 |
---|
ActionLoaderDefault(BeanWrap wrap) |
ActionLoaderDefault(BeanWrap wrap,
java.lang.String mapping,
boolean remoting,
Render render,
boolean allowMapping) |
限定符和类型 | 方法和说明 |
---|---|
protected <T> void |
addDo(T[] ary,
ConsumerEx<T> fun)
附加处理
|
protected ActionDefault |
createAction(BeanWrap bw,
java.lang.reflect.Method method,
Mapping mp,
java.lang.String path,
boolean remoting)
构建 Action
|
protected void |
load(boolean all,
HandlerSlots slots)
加载 Action 到目标容器
|
void |
load(HandlerSlots slots)
加载 Action 到目标容器
|
protected void |
loadActionAide(java.lang.reflect.Method method,
ActionDefault action,
java.util.Set<MethodType> addinMethodSet)
加载动作附件
|
protected boolean |
loadActionAideAdd(java.lang.annotation.Annotation anno,
ActionDefault action,
java.util.Set<MethodType> addinMethodSet) |
protected void |
loadActionItem(HandlerSlots slots,
boolean all,
java.lang.reflect.Method method,
java.util.Set<MethodType> b_limitMethodSet,
java.util.Set<MethodType> b_addinMethodSet)
加载 Action item 处理
|
protected void |
loadActions(HandlerSlots slots,
boolean all)
加载 Action 处理
|
protected void |
loadControllerAide(java.util.Set<MethodType> addinMethodSet)
加载控制器附件
|
protected boolean |
loadControllerAideAdd(java.lang.annotation.Annotation anno,
java.util.Set<MethodType> addinMethodSet) |
protected void |
loadHandlerDo(HandlerSlots slots)
加载处理
|
java.lang.String |
mapping()
mapping expr
|
protected java.lang.String |
postActionPath(BeanWrap bw,
java.lang.String bPath,
java.lang.reflect.Method method,
java.lang.String mPath)
确认 Action 路径
|
filter, filter, filters
protected final BeanWrap bw
protected final Render bRender
protected final Mapping bMapping
protected final java.lang.String bPath
protected final boolean bRemoting
protected final boolean allowMapping
public ActionLoaderDefault(BeanWrap wrap)
public java.lang.String mapping()
mapping
在接口中 ActionLoader
public void load(HandlerSlots slots)
load
在接口中 ActionLoader
slots
- 接收加载结果的容器(槽)protected void load(boolean all, HandlerSlots slots)
all
- 加载全部函数(一般 remoting 会全部加载)slots
- 接收加载结果的容器(槽)protected void loadHandlerDo(HandlerSlots slots)
slots
- 接收加载结果的容器(槽)protected void loadActions(HandlerSlots slots, boolean all)
protected void loadActionItem(HandlerSlots slots, boolean all, java.lang.reflect.Method method, java.util.Set<MethodType> b_limitMethodSet, java.util.Set<MethodType> b_addinMethodSet)
protected void loadControllerAide(java.util.Set<MethodType> addinMethodSet)
protected boolean loadControllerAideAdd(java.lang.annotation.Annotation anno, java.util.Set<MethodType> addinMethodSet)
protected void loadActionAide(java.lang.reflect.Method method, ActionDefault action, java.util.Set<MethodType> addinMethodSet)
protected boolean loadActionAideAdd(java.lang.annotation.Annotation anno, ActionDefault action, java.util.Set<MethodType> addinMethodSet)
protected java.lang.String postActionPath(BeanWrap bw, java.lang.String bPath, java.lang.reflect.Method method, java.lang.String mPath)
protected ActionDefault createAction(BeanWrap bw, java.lang.reflect.Method method, Mapping mp, java.lang.String path, boolean remoting)
protected <T> void addDo(T[] ary, ConsumerEx<T> fun)