public abstract class HandlerMethodMetaInfo<T extends HandlerMethodMetaInfo> extends DestroyableBase implements Prioritised
Common meta data storage for both ControllerAction and Handler
Destroyable.Utillogger| Modifier | Constructor and Description |
|---|---|
|
HandlerMethodMetaInfo(ControllerClassMetaInfo clsInfo) |
protected |
HandlerMethodMetaInfo(HandlerMethodMetaInfo copy,
ControllerClassMetaInfo clsInfo)
Construct a
HandlerMethodMetaInfo from a copy with a different class info. |
addSubResource, destroy, isDestroyed, reload, scopedebug, debug, error, error, fatal, fatal, info, info, isDebugEnabled, isTraceEnabled, trace, trace, warn, warnprotected HandlerMethodMetaInfo(HandlerMethodMetaInfo copy, ControllerClassMetaInfo clsInfo)
Construct a HandlerMethodMetaInfo from a copy with a different class info. This could be used to get Interceptors from parent controller
copy - an existing HandlerMethodMetaInfoclsInfo - the new class info, usually a extended controller classpublic HandlerMethodMetaInfo(ControllerClassMetaInfo clsInfo)
protected void releaseResources()
releaseResources in class DestroyableBasepublic ControllerClassMetaInfo classInfo()
public T name(java.lang.String name)
public java.lang.String name()
public java.lang.String fullName()
public int priority()
priority in interface Prioritisedpublic T appContextViaField(java.lang.String fieldName)
public T appContextViaParam(int paramIndex)
public T appContextViaLocalStorage()
public ActContextInjection appContextInjection()
public T disableJsonCircularRefDetect(boolean b)
public boolean disableJsonCircularRefDetect()
public T invokeStaticMethod()
public T invokeInstanceMethod()
public boolean isStatic()
public HandlerMethodMetaInfo propertySpec(PropertySpec.MetaInfo propertySpec)
public PropertySpec.MetaInfo propertySpec()
public T setThrowRenderResult()
public boolean throwRenderResult()
public T returnType(act.asm.Type type)
public T appCtxLocalVariableTableIndex(int index)
public int appCtxLocalVariableTableIndex()
public act.asm.Type returnType()
public ReturnTypeInfo returnTypeInfo()
public act.asm.Type returnComponentType()
public HandlerMethodMetaInfo returnComponentType(act.asm.Type type)
public boolean hasReturn()
public boolean hasReturnOrThrowResult()
public boolean hasLocalVariableTable()
public HandlerMethodMetaInfo addParam(HandlerParamMetaInfo param)
public T addLocal(LocalVariableMetaInfo local)
public LocalVariableMetaInfo localVariable(int index, act.asm.Label start)
public HandlerParamMetaInfo param(int id)
public int paramCount()
public int ctxParamCount()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectprotected org.osgl.util.S.Buffer toStrBuffer(org.osgl.util.S.Buffer sb)
Copyright © 2014–2017 ActFramework. All rights reserved.