@ApplicationScoped public final class JobClassMetaInfo extends DestroyableBase
Stores all class level information to support generating of Job worker class that wrap the annotated Job action method
Destroyable.Util
DASHED_LINE, DOUBLE_DASHED_LINE, HASH_SYMBOL_LINE, logger, STAR_LINE, TILD_LINE
Constructor and Description |
---|
JobClassMetaInfo() |
Modifier and Type | Method and Description |
---|---|
JobMethodMetaInfo |
action(String name) |
JobClassMetaInfo |
addAction(JobMethodMetaInfo info) |
String |
className() |
JobClassMetaInfo |
className(String name) |
boolean |
isAbstract() |
static boolean |
isActionAnnotation(Class<? extends Annotation> type) |
boolean |
isJob() |
JobClassMetaInfo |
isJob(boolean b) |
protected void |
releaseResources() |
JobClassMetaInfo |
setAbstract() |
act.asm.Type |
superType() |
JobClassMetaInfo |
superType(act.asm.Type type) |
act.asm.Type |
type() |
addSubResource, destroy, isDestroyed, reload, scope
debug, debug, error, error, fatal, fatal, info, info, isDebugEnabled, isTraceEnabled, printCenter, printCenterWithLead, printDashedLine, printDoubleDashedLine, printHashSimbolLine, println, printStarLine, printTildLine, trace, trace, warn, warn
public JobClassMetaInfo className(String name)
protected void releaseResources()
releaseResources
in class DestroyableBase
public String className()
public act.asm.Type type()
public JobClassMetaInfo superType(act.asm.Type type)
public act.asm.Type superType()
public JobClassMetaInfo setAbstract()
public boolean isAbstract()
public boolean isJob()
public JobClassMetaInfo isJob(boolean b)
public JobClassMetaInfo addAction(JobMethodMetaInfo info)
public JobMethodMetaInfo action(String name)
public static boolean isActionAnnotation(Class<? extends Annotation> type)
Copyright © 2014–2018 ActFramework. All rights reserved.