public class ConcreteHelper extends Object
| Constructor and Description |
|---|
ConcreteHelper() |
| Modifier and Type | Method and Description |
|---|---|
static String |
devModelKey(String module) |
static ConcreteException |
findException(Throwable th) |
static void |
foreachClassInPackages(org.coodex.util.ReflectHelper.Processor processor,
String... packages) |
static void |
foreachService(org.coodex.util.ReflectHelper.Processor processor,
String... packages) |
static Method[] |
getAllMethod(Class<?> serviceClass) |
static String[] |
getApiPackages() |
static String |
getAppSet() |
static DefinitionContext |
getContext(Method method,
Class<?> clz) |
static ConcreteException |
getException(Throwable th) |
static ExecutorService |
getExecutor() |
static String |
getMethodName(Method method) |
static int |
getPriority(AbstractUnit unit) |
static int |
getPriority(Method method,
Class<?> clz) |
static org.coodex.util.Profile |
getProfile() |
static org.coodex.util.Profile |
getProfile(String tag) |
static org.coodex.util.Profile |
getProfile(String tag,
String sub) |
static String[] |
getRemoteApiPackages() |
static String |
getServiceName(Class<?> clz) |
static String |
getString(String tag,
String module,
String key) |
static List<Class> |
inheritedChain(Class root,
Class sub) |
static boolean |
isConcreteService(Class<?> clz) |
static boolean |
isDevModel(String module) |
static <MODULE extends AbstractModule> |
loadModule(ModuleMaker<MODULE> moduleMaker,
Class<? extends ConcreteService> serviceClass) |
static <MODULE extends AbstractModule> |
loadModule(String desc,
Class<? extends ConcreteService> serviceClass) |
static <MODULE extends AbstractModule> |
loadModules(String desc,
String... packages) |
public static final String VERSION
public static org.coodex.util.Profile getProfile()
public static org.coodex.util.Profile getProfile(String tag)
public static ExecutorService getExecutor()
public static void foreachService(org.coodex.util.ReflectHelper.Processor processor,
String... packages)
public static void foreachClassInPackages(org.coodex.util.ReflectHelper.Processor processor,
String... packages)
public static final <MODULE extends AbstractModule> List<MODULE> loadModules(String desc, String... packages)
public static boolean isConcreteService(Class<?> clz)
public static <MODULE extends AbstractModule> MODULE loadModule(String desc, Class<? extends ConcreteService> serviceClass)
public static <MODULE extends AbstractModule> MODULE loadModule(ModuleMaker<MODULE> moduleMaker, Class<? extends ConcreteService> serviceClass)
public static int getPriority(AbstractUnit unit)
public static DefinitionContext getContext(Method method, Class<?> clz)
public static final ConcreteException findException(Throwable th)
public static final ConcreteException getException(Throwable th)
public static String[] getApiPackages()
public static String[] getRemoteApiPackages()
public static String getAppSet()
public static boolean isDevModel(String module)
Copyright © 2018. All rights reserved.