public class ReflectedInvokerHelper
extends java.lang.Object
| Constructor and Description |
|---|
ReflectedInvokerHelper() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
tryGetSingleton(java.lang.Class<?> invokerClass,
App app)
If the
invokerClass specified is singleton, or without field or all fields are stateless, then return an instance of the invoker class. |
public static java.lang.Object tryGetSingleton(java.lang.Class<?> invokerClass,
App app)
If the invokerClass specified is singleton, or without field or all fields are stateless, then return an instance of the invoker class. Otherwise, return null
invokerClass - the invoker classapp - the appnull if invoker class is stateful classCopyright © 2014–2017 ActFramework. All rights reserved.